/* AKT Immigration — Calm, Professional Redesign
   All original class names preserved for HTML compatibility. */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --brand-900: #1B2A4A;
  --brand-700: #2C3E5A;
  --brand-600: #3D5270;
  --accent-600: #C9A962;
  --accent-500: #D4B97A;
  --navy: #1B2A4A;

  --bg: #F9FAFB;
  --surface: #F8F9FA;
  --text: #1A1A1A;
  --muted: #4A4A4A;
  --border: #E8E8E8;

  --shadow: 0 2px 20px rgba(0, 0, 0, .06);
  --radius: 12px;
  --container: 1100px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

:root[data-theme="dark"] {
  --bg: #121826;
  --surface: #1A2035;
  --text: #E5E7EB;
  --muted: #B0B8C8;
  --border: #2A3045;
  --shadow: 0 2px 20px rgba(0, 0, 0, .3);
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: .95rem;
  line-height: 1.65;
  font-weight: 400;
  background: var(--bg);
  background-image: none;
  color: #3a3a3a;
}

a { color: inherit; }
a:hover { opacity: .88; }
img { max-width: 100%; height: auto; }

/* ── Container ─────────────────────────────────────────── */
.container {
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
}

/* ── Skip Link ─────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: .75rem 1rem;
  background: var(--text);
  color: var(--bg);
  border-radius: 8px;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ── Header / Nav ──────────────────────────────────────── */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 0;
  gap: .75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  margin-right: .75rem;
  min-width: 240px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--brand-900);
  display: grid;
  place-items: center;
}
.brand-logo {
  height: 52px;
  width: auto;
  display: block;
}
@media (max-width: 520px) {
  .brand-logo { height: 42px; }
  .brand { min-width: 0; }
}
.brand-mark span {
  font-weight: 800;
  letter-spacing: .5px;
  color: #fff;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .1px;
}
.brand-name small {
  color: var(--muted);
  font-size: .75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  transform: translateY(-4px);
}
.nav-links a {
  text-decoration: none;
  padding: .5rem .75rem;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: .015em;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover {
  color: var(--accent-600);
  border-bottom-color: var(--accent-600);
  opacity: 1;
}
.nav-links a[aria-current="page"] {
  color: var(--accent-600);
  font-weight: 600;
  border-bottom-color: var(--accent-600);
}

.nav-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.nav-actions-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: nowrap;
}
.nav-actions .btn {
  padding: 10px 20px;
  white-space: nowrap;
}

/* Call button → plain phone number text */
.nav-actions-row > a[href^="tel:"] {
  border: none;
  background: none;
  padding: .5rem .25rem;
  font-size: 0;
  box-shadow: none;
  white-space: nowrap;
}
.nav-actions-row > a[href^="tel:"]::after {
  content: "(781) 488-0315";
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}
.nav-actions-row > a[href^="tel:"]:hover {
  transform: none;
  box-shadow: none;
}
.nav-actions-row > a[href^="tel:"]:hover::after {
  color: var(--accent-600);
}

/* Dark mode toggle — removed */

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 6px;
  border: 2px solid #1a1a1a;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  background: transparent;
  color: #1a1a1a;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  opacity: 1;
}
.btn:active { transform: translateY(0); }

.btn.primary {
  background: var(--accent-600);
  border-color: var(--accent-600);
  color: #fff;
}
.btn.primary:hover {
  background: var(--accent-500);
  border-color: var(--accent-500);
}
.btn.accent {
  background: var(--accent-600);
  border-color: var(--accent-600);
  color: #fff;
}
.btn.accent:hover {
  background: var(--accent-500);
  border-color: var(--accent-500);
}

.icon-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: transform .12s;
}
.icon-btn:hover {
  transform: translateY(-1px);
  border-color: var(--accent-600);
  color: var(--accent-600);
}
.icon-btn:active { transform: translateY(0); }

.btn:focus-visible {
  outline: 2px solid var(--accent-600);
  outline-offset: 2px;
}

.mobile-toggle {
  display: none;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  padding: 96px 0 5rem;
  background: var(--surface);
}
main > .hero:first-child {
  background: var(--surface);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
  justify-items: center;
}
.home .hero-grid {
  text-align: left;
  justify-items: start;
}
.home .hero-grid .lead {
  margin-inline: 0;
}
.home .hero-grid .hero-actions {
  justify-content: flex-start;
}

/* Hide hero sidebar card and hero-meta checkmarks on homepage */
.hero-card {
  display: none;
}
.hero-meta {
  display: none;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .75rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--font-heading);
}
h1 {
  margin: 1.25rem 0 .75rem;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: #1a1a1a;
  letter-spacing: -.3px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}
.hero-grid .lead {
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}
.hero-grid .hero-actions {
  justify-content: center;
}

/* ── Cards ─────────────────────────────────────────────── */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
}
.card.feature:hover {
  background: rgba(201, 169, 98, .04);
  border-color: color-mix(in srgb, var(--accent-600) 40%, var(--border));
}

/* ── Sections ──────────────────────────────────────────── */
section {
  padding: 4.5rem 0;
}

/* Alternating backgrounds: odd sections get surface (hero is 1st/odd, so this
   gives hero + every other section the tinted background, white in between) */
section:nth-of-type(odd) {
  background: var(--surface);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.section-head h2 {
  margin: 0;
}
.section-head p {
  margin: .4rem 0 0;
  color: var(--muted);
}

/* ── Grids ─────────────────────────────────────────────── */
.grid {
  display: grid;
  gap: 24px;
}
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-2 + .grid.cols-2 { margin-top: 24px; }

/* ── Feature Cards ─────────────────────────────────────── */
.feature {
  padding: 32px;
}
.feature h3 {
  margin: .5rem 0 .5rem;
  font-size: 1.15rem;
}
.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: .25rem .65rem;
  border-radius: 6px;
  background: color-mix(in srgb, var(--brand-600) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand-600) 18%, var(--border));
  color: var(--brand-700);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}
:root[data-theme="dark"] .pill {
  color: var(--accent-500);
  background: color-mix(in srgb, var(--accent-600) 12%, transparent);
  border-color: color-mix(in srgb, var(--accent-600) 22%, var(--border));
}

/* ── Split Layout ──────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.list {
  margin: .75rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.8;
  list-style: none;
}
.list li {
  margin: .35rem 0;
  position: relative;
}
.list li::before {
  content: '';
  position: absolute;
  left: -1.1rem;
  top: .7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-600);
}

/* ── Steps ─────────────────────────────────────────────── */
.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
}
.step {
  padding: 24px 28px;
}
.step strong {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--text);
}
.step strong::before {
  counter-increment: step;
  content: counter(step);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--brand-900);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}
.step p {
  margin: .5rem 0 0;
  color: var(--muted);
  padding-left: calc(32px + .65rem);
}

/* ── Testimonials / Quotes ─────────────────────────────── */
.quote {
  padding: 32px;
}
.quote p {
  margin: 0;
  font-size: 18px;
  font-style: italic;
  line-height: 1.7;
  color: var(--text);
}
.quote footer {
  margin-top: 1rem;
  color: var(--muted);
  font-size: .9rem;
  font-style: normal;
}

/* ── CTA Section ───────────────────────────────────────── */
.cta {
  padding: 4.5rem 0;
}
.cta-box {
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  background: var(--navy);
  border-radius: var(--radius);
}
.cta-box h2 { margin: 0 0 .4rem; color: #fff; }
.cta-box p { margin: 0; color: rgba(255,255,255,.85); }
.cta-box .btn { white-space: nowrap; }
.cta-box .btn.primary { color: #fff; }
.cta-box .btn:not(.primary) {
  border-color: #fff;
  color: #fff;
}

/* ── Badge ─────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .65rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Mini List (hero sidebar) ──────────────────────────── */
.mini-list {
  display: grid;
  gap: .6rem;
  margin: .3rem 0 0;
  padding: 0;
  list-style: none;
}
.mini-list li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  color: var(--muted);
}

/* ── Forms ──────────────────────────────────────────────── */
.form {
  padding: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}
label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin: .25rem 0 .4rem;
  color: var(--text);
}
input, select, textarea {
  width: 100%;
  padding: .75rem .9rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand-700);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-700) 12%, transparent);
}
textarea { min-height: 140px; resize: vertical; }
small.help { color: var(--muted); display: block; margin-top: .35rem; }

/* ── Contact Page ──────────────────────────────────────── */
.contact-hero {
  padding: 48px 0 24px;
  background: var(--surface);
}
.contact-hero .kicker {
  margin-bottom: .75rem;
}
.contact-hero h1 {
  margin: .75rem 0 .5rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}
.contact-hero .lead {
  margin: 0;
  font-size: 1rem;
}
.contact-page {
  padding: 20px 0 32px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 20px;
  align-items: start;
}
.contact-page .card {
  padding: 20px 24px;
}
.contact-page .card:hover {
  transform: none;
}
.contact-page h3 {
  margin: 0 0 .4rem;
}
.contact-page p {
  margin: .25rem 0;
}
.contact-page label {
  margin: .15rem 0 .3rem;
}
.contact-page textarea {
  min-height: 90px;
}
.contact-page .form-row {
  gap: .6rem;
}
.contact-page .notice {
  padding: 12px 16px;
  margin-top: .5rem;
}
.contact-page hr.sep {
  margin: .6rem 0;
  border-top-color: var(--border);
}

/* ── Privacy Page ─────────────────────────────────────── */
.privacy-page {
  padding: 24px 0 48px;
}
.privacy-page h1 {
  margin: 0 0 .2rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}
.privacy-updated {
  color: var(--muted);
  font-size: .85rem;
  margin: 0 0 1.25rem;
}
.privacy-cards {
  display: grid;
  gap: 14px;
}
.privacy-section {
  padding: 24px 28px;
}
.privacy-section:hover {
  transform: none;
}
.privacy-section h2 {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 .6rem;
  font-size: 1.1rem;
}
.privacy-section h3 {
  margin: .75rem 0 .2rem;
  font-size: .95rem;
}
.privacy-section p {
  margin: .35rem 0;
}
.privacy-section .list {
  margin: .4rem 0 0;
}
.section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 7px;
  background: var(--brand-900);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
}
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .85rem;
  color: var(--muted);
  text-decoration: none;
}
.back-to-top:hover {
  color: var(--accent-600);
  opacity: 1;
}

/* ── Notice ────────────────────────────────────────────── */
.notice {
  padding: 20px 24px;
  border-left: 4px solid var(--accent-600);
  background: color-mix(in srgb, var(--accent-600) 6%, var(--bg));
  border-radius: var(--radius);
  border-top: 1px solid color-mix(in srgb, var(--accent-600) 18%, var(--border));
  border-right: 1px solid color-mix(in srgb, var(--accent-600) 18%, var(--border));
  border-bottom: 1px solid color-mix(in srgb, var(--accent-600) 18%, var(--border));
  color: var(--muted);
  line-height: 1.7;
}

/* ── FAQ ───────────────────────────────────────────────── */
.faq details {
  padding: 20px 24px;
  border-left: 3px solid transparent;
  transition: border-color .15s;
}
.faq details:hover,
.faq details[open] {
  border-left-color: var(--accent-600);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { display: none; }
.faq p { margin: .65rem 0 0; color: var(--muted); }

/* ── Footer ────────────────────────────────────────────── */
footer.site-footer {
  background: var(--navy);
  padding: 36px 0 0;
  color: rgba(255,255,255,.85);
  border-top: none;
  font-size: .8rem;
  line-height: 1.5;
}
footer.site-footer .brand-logo {
  height: 44px;
}
footer.site-footer a {
  color: rgba(255,255,255,.85);
}
footer.site-footer a:hover {
  color: #fff;
  opacity: 1;
}
footer.site-footer .brand-name strong {
  color: #fff;
}
footer.site-footer .brand-name small {
  color: rgba(255,255,255,.6);
}
footer.site-footer strong {
  color: var(--accent-600);
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: .75rem;
}
footer.site-footer .brand-name strong {
  color: #fff;
  text-transform: none;
  letter-spacing: .1px;
  font-size: 1.1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .7fr .7fr;
  gap: 1rem;
  align-items: start;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: .6rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  text-decoration: none !important;
  transition: border-color .15s, color .15s;
}
.footer-social a:hover {
  border-color: var(--accent-600);
  color: var(--accent-600);
}
.footer-social svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.footer-lang {
  margin-top: .4rem;
  font-size: .8rem;
  color: rgba(255,255,255,.7);
}
.footer-lang a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-weight: 500;
}
.footer-lang a:hover {
  color: var(--accent-600);
}
.nav-lang {
  font-size: .75rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: visible;
  text-overflow: unset;
  min-width: 100px;
  flex-shrink: 0;
}
.nav-lang a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.nav-lang a:hover {
  color: var(--accent-600);
}
.lang-active {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #C9A962;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.nav-translate-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: .5rem;
}
.nav-translate {
  display: flex;
  align-items: center;
  font-size: .75rem;
  color: var(--muted);
}
.footer-grid a {
  text-decoration: none;
  color: rgba(255,255,255,.85);
}
.footer-grid a:hover { text-decoration: underline; color: #fff; }
.footer-grid > div > div {
  gap: .2rem !important;
  margin-top: .4rem !important;
}

.footer-bottom {
  margin-top: 1.25rem;
  padding: .75rem 0;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: .78rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: space-between;
  color: rgba(255,255,255,.6);
}
footer.site-footer .footer-bottom a {
  color: rgba(255,255,255,.6);
}
footer.site-footer .footer-bottom a:hover {
  color: #fff;
}

/* ── Newsletter Row ──────────────────────────────────── */
.newsletter-row {
  background: color-mix(in srgb, var(--accent-600) 8%, var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.newsletter-row .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .75rem 1.5rem;
  text-align: center;
}
.newsletter-row p {
  margin: 0;
  font-size: .92rem;
  font-weight: 500;
  color: var(--text);
}
.newsletter-form {
  display: flex;
  gap: .4rem;
}
.newsletter-form input {
  width: 240px;
  padding: .5rem .75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: .88rem;
  font-family: inherit;
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-600);
}
.newsletter-form .btn {
  padding: .5rem 1.1rem;
  font-size: .88rem;
}
@media (max-width: 480px) {
  .newsletter-form { flex-direction: column; width: 100%; }
  .newsletter-form input { width: 100%; }
}

.footer-disclaimer {
  background: rgba(0,0,0,.15);
  padding: .6rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-disclaimer p {
  font-size: .75rem;
  line-height: 1.45;
  margin: 0;
  color: rgba(255,255,255,.6);
}
.footer-disclaimer strong {
  color: rgba(255,255,255,.85);
}

hr.sep {
  border: none;
  border-top: 1px solid var(--border);
  margin: .75rem 0;
}

:root[data-theme="dark"] footer.site-footer {
  background: #0D1526;
}
:root[data-theme="dark"] .footer-disclaimer {
  background: rgba(0,0,0,.3);
}

/* ── Attorney Photo ──────────────────────────────────── */
.attorney-photo {
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
  display: block;
  max-width: 280px;
  height: auto;
  margin-bottom: 1rem;
  object-fit: cover;
}

/* ── Attorney Bio Two-Column ────────────────────────── */
.attorney-bio-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
  align-items: start;
}
.attorney-bio-grid .attorney-photo {
  width: 250px;
  max-width: 250px;
  height: auto;
  margin-bottom: 0;
}
.pill-gold {
  background: #C9A962;
  color: #fff;
  border-color: #C9A962;
}
:root[data-theme="dark"] .pill-gold {
  background: #C9A962;
  color: #fff;
  border-color: #C9A962;
}
@media (max-width: 700px) {
  .attorney-bio-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .attorney-bio-grid .attorney-photo {
    width: 200px;
    max-width: 200px;
  }
  .attorney-bio-grid .list {
    text-align: left;
  }
}

/* ── Meet Attorney Card (homepage) ───────────────────── */
.meet-attorney {
  display: flex;
  align-items: center;
  gap: 2rem;
  text-align: left;
}
.meet-attorney .attorney-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  flex-shrink: 0;
  max-width: none;
}
.meet-attorney-body h3 {
  margin: 0 0 .15rem;
  font-size: 1.15rem;
}
.meet-attorney-body p {
  margin: .15rem 0;
  color: var(--muted);
}
.meet-attorney-body .attorney-creds {
  font-size: .82rem;
  color: var(--muted);
}
@media (max-width: 600px) {
  .meet-attorney {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
}

/* ── Trust Badge Bar ─────────────────────────────────── */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem .75rem;
  padding: .9rem 0;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 600;
  padding: .25rem .6rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--muted);
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── Pathway Pills ──────────────────────────────────── */
.pathways {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 1.75rem;
}
.pathway-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem 1rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg);
  color: var(--muted);
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
}
.pathway-pill:hover {
  border-color: var(--accent-600);
  color: var(--text);
  background: color-mix(in srgb, var(--accent-600) 8%, var(--bg));
  opacity: 1;
}

/* ── Stats Row ──────────────────────────────────────── */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.25rem 0;
  text-align: center;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.stat-label {
  font-size: .78rem;
  color: var(--muted);
  margin-top: .15rem;
}

/* ── Top Bar (Translate + Utility) ───────────────────── */
.top-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: .3rem 0;
  font-size: .78rem;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}
.top-bar a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.top-bar a:hover {
  color: var(--text);
  opacity: 1;
}
/* ── Google Translate Widget ──────────────────────────── */
#google_translate_element {
  display: inline-flex;
  align-items: center;
}
.translate-label {
  font-size: 14px;
  margin-right: 4px;
  line-height: 1;
}
.goog-te-gadget {
  font-size: 0;
}
.goog-te-gadget .goog-te-combo {
  font-size: 13px;
  padding: 2px 4px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
}
.goog-te-gadget > span {
  display: none !important;
}
.goog-te-gadget img {
  display: none !important;
}
.goog-te-banner-frame {
  display: none !important;
}
body { top: 0 !important; }

/* ── Nav WhatsApp Icon ───────────────────────────────── */
.nav-whatsapp {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  text-decoration: none;
  opacity: .85;
  transition: opacity .15s;
}
.nav-whatsapp:hover {
  opacity: 1;
}

/* ── Processing Times Table ─────────────────────────── */
.pt-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  line-height: 1.6;
}
.pt-table thead th {
  text-align: left;
  padding: 12px 16px;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.pt-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: border-color .15s;
}
.pt-table tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--surface) 50%, var(--bg));
}
.pt-table tbody tr:hover {
  border-left: 3px solid var(--accent-600);
}
.pt-table td {
  padding: 14px 16px;
  vertical-align: top;
}
.pt-table td:nth-child(2) {
  font-family: monospace;
  font-size: .85rem;
  white-space: nowrap;
}
.pt-table td:nth-child(3) {
  white-space: nowrap;
  color: var(--text);
}
.pt-table td:nth-child(4) {
  color: var(--muted);
  font-size: .88rem;
}
@media (max-width: 760px) {
  .pt-table thead { display: none; }
  .pt-table, .pt-table tbody, .pt-table tr, .pt-table td {
    display: block;
  }
  .pt-table tr {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
  }
  .pt-table td {
    padding: 4px 0;
    border: none;
  }
  .pt-table td::before {
    content: attr(data-label);
    display: block;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
    margin-bottom: 2px;
  }
  .pt-table td:first-child {
    font-weight: 600;
    font-size: 1rem;
  }
  .pt-table tbody tr:hover {
    border-left: 3px solid var(--accent-600);
    padding-left: 12px;
  }
}

/* ── Back to Blog Link ───────────────────────────────── */
.back-to-blog {
  display: inline-block;
  margin: 20px 0 10px;
  font-size: .9rem;
  color: #333;
  text-decoration: none;
  font-family: var(--font-body);
}
.back-to-blog:hover {
  color: var(--accent-600);
  opacity: 1;
}

/* ── Blog Cards ──────────────────────────────────────── */
.blog-card {
  padding: 28px;
  border-top: 3px solid var(--accent-600);
}
.blog-card .blog-date {
  font-size: .78rem;
  color: var(--muted);
  margin: 0 0 .4rem;
}
.blog-card h3 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
}
.blog-card p {
  margin: 0 0 .75rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6;
}
.blog-card .read-more {
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent-600);
  text-decoration: none;
}
.blog-card .read-more:hover {
  text-decoration: underline;
  opacity: 1;
}

/* ── Timeline ────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 2.5rem;
  margin: 1.5rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: .85rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-step {
  position: relative;
  padding-bottom: 1.75rem;
}
.timeline-step:last-child {
  padding-bottom: 0;
}
.timeline-step::before {
  content: '';
  position: absolute;
  left: -1.65rem;
  top: .35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-600);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent-600);
  z-index: 1;
}
.timeline-step h4 {
  margin: 0 0 .2rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
}
.timeline-step p {
  margin: 0;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── What to Expect Box (Contact) ────────────────────── */
.expect-box {
  padding: 20px 24px;
  margin-bottom: 16px;
  border-left: 3px solid var(--accent-600);
}
.expect-box:hover {
  transform: none;
}
.expect-box h3 {
  margin: 0 0 .3rem;
  font-size: 1rem;
}
.expect-box p {
  margin: .2rem 0;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Video Placeholder ───────────────────────────────── */
.video-placeholder {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 1.1rem;
}
.video-placeholder span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--muted);
  font-size: .9rem;
  font-weight: 500;
}

/* ── Case Studies ────────────────────────────────────── */
.case-studies-page {
  padding: 32px 0 64px;
}
.case-study {
  padding: 28px 32px;
  border-left: 4px solid #C9A962;
  margin-bottom: 20px;
}
.case-study:hover {
  transform: none;
}
.case-study .pill {
  margin-bottom: .5rem;
}
.case-study h3 {
  margin: 0 0 .75rem;
  font-size: 1.1rem;
}
.case-study-label {
  font-weight: 600;
  color: var(--text);
  font-size: .88rem;
  display: block;
  margin-top: .75rem;
  margin-bottom: .15rem;
}
.case-study p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.7;
}
.case-study .takeaway {
  margin-top: .75rem;
  padding: 12px 16px;
  background: color-mix(in srgb, var(--accent-600) 6%, var(--bg));
  border-radius: 8px;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
}
.case-study .takeaway strong {
  color: var(--text);
}
.case-studies-disclaimer {
  margin-top: 1.5rem;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
  font-style: italic;
}

/* ── Blog Page ───────────────────────────────────────── */
.blog-page {
  padding: 24px 0 60px;
}
.blog-page h1 {
  margin: 0 0 .25rem;
}
.blog-page .lead {
  margin: 0 0 1.5rem;
}

/* ── Hero Rotating Text ──────────────────────────────── */
.hero-text-rotator {
  position: relative;
  height: 1.6em;
  overflow: hidden;
  display: inline-block;
  min-width: 320px;
  margin: .75rem 0 .25rem;
}
.hero-rotating-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--accent-600);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
  white-space: nowrap;
}
.hero-rotating-link.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hero-rotating-link:hover {
  text-decoration: underline;
}
.hero-text-rotator:hover .hero-rotating-link.active {
  opacity: 1;
}

/* ── Homepage Compact ─────────────────────────────────── */
.home .hero {
  padding: 84px 0 3.5rem;
}
.home section {
  padding: 4rem 0;
}
.home section[style*="padding-top:0"] {
  padding-bottom: 4rem;
}
.home .section-head {
  margin-bottom: 1.5rem;
}
.home .grid {
  gap: 16px;
}
.home .grid.cols-3 .card.feature {
  display: flex;
  flex-direction: column;
}
.home .grid.cols-3 .card.feature p {
  flex: 1;
}
.home .feature {
  padding: 24px;
}
.home .quote {
  padding: 20px 24px;
}
.home .quote p {
  font-size: 1rem;
}
.home .steps {
  gap: 12px;
}
.home .step {
  padding: 18px 22px;
}
.home .cta {
  padding: 3.5rem 0;
}
.home .cta-box {
  padding: 32px;
  gap: 1rem;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero { padding: 64px 0 48px; }
  .hero-grid { gap: 1.5rem; }

  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  section { padding: 3rem 0; }
  .cta { padding: 3rem 0; }

  /* Nav → hamburger at tablet and below */
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    padding: .75rem 1rem 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }
  .nav-links.open { display: grid; gap: .25rem; }
  .nav-links a {
    padding: .75rem .9rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .mobile-toggle { display: inline-flex; }
  .nav-actions-row .btn:not(.icon-btn) { display: none; }

  /* Footer touch targets */
  .footer-grid a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* Center orphan card in 2-col layout (e.g. 3rd testimonial) */
@media (max-width: 900px) and (min-width: 601px) {
  .grid.cols-3 > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .grid.cols-3 { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .grid.cols-4 { grid-template-columns: 1fr; }

  .hero { padding: 52px 0 36px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-box { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 2rem, var(--container)); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}
