/* مكتب المحامية أمجاد — ثيم أصلي بهوية ذهبية (بدون كحلي) */
:root {
  --gold: var(--brand-gold, #c9a227);
  --ink: var(--brand-ink, #2b241c);
  --cream: #f6f1e8;
  --paper: #fffdf8;
  --muted: #7a7166;
  --line: rgba(43, 36, 28, 0.1);
  --gold-soft: rgba(201, 162, 39, 0.14);
  --default-font: "Scheherazade New", "Noto Sans Arabic", Tajawal, serif;
  --heading-font: Alexandria, "Montserrat Arabic", sans-serif;
  --nav-font: Alexandria, "Montserrat Arabic", sans-serif;
  --body-weight: 700;
  --body-size: 1.2rem;
  --bs-font-sans-serif: var(--default-font);
  --bs-body-font-family: var(--default-font);
  --bs-btn-font-family: var(--heading-font);
}

html {
  background: var(--paper);
  font-size: 16px;
}
html, body {
  color: var(--ink);
  font-family: var(--default-font) !important;
  line-height: 1.95;
}
body {
  background: var(--paper);
  font-size: var(--body-size, 1.2rem);
  font-weight: var(--body-weight, 700);
}

body *:not(svg):not(path):not(i):not([class*="hgi"]):not([class^="bi-"]):not([class*=" bi-"]) {
  font-family: var(--default-font);
}

button, input, select, textarea, label,
.form-control, .form-select, .form-label,
.dropdown-item, .card, .alert, .badge, .pagination,
.site-topbar, .site-footer, .office-footer,
.article-body, .legal-content, .intake-form,
.intake-form .form-control, .intake-form .form-select,
.office-float, .office-wa, .office-wa-pop,
::placeholder {
  font-family: var(--default-font) !important;
  font-weight: var(--body-weight, 700);
}

h1, h2, h3, h4, h5, h6,
.navmenu a, .btn, .btn-gold, .btn-ghost, .btn-consult, .btn-outline-gold,
.office-kicker, .section-title h2, .page-hero h1,
.practice-card h3, .practice-card__cat, .practice-card__actions,
.practice-card__ask, .faq-item h3, .faq-accordion .accordion-button,
.office-footer h4, .office-footer__cta, .office-footer__more,
.office-wa-kicker, .office-wa-from, .office-wa-status, .office-wa-reply, .office-wa-badge {
  font-family: var(--heading-font) !important;
}

.article-body,
.article-body *:not(i):not([class*="hgi"]):not([class^="bi"]) {
  font-family: var(--default-font) !important;
}
.article-body h1, .article-body h2, .article-body h3,
.article-body h4, .article-body h5, .article-body h6 {
  font-family: var(--heading-font) !important;
}

a { color: var(--gold); }
a:hover { color: var(--ink); }

.site-chrome {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: var(--paper);
}

.site-topbar {
  background: var(--ink);
  color: #f3e9d3;
  font-size: 0.78rem;
  padding: 0;
  border-bottom: 1px solid rgba(201, 162, 39, 0.28);
}
.site-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}
.site-topbar__contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1.1rem;
  min-width: 0;
}
.site-topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #f3e9d3;
  text-decoration: none;
  white-space: nowrap;
}
.site-topbar__item span { overflow: hidden; text-overflow: ellipsis; max-width: 28ch; }
.site-topbar__item .site-topbar__text { overflow: hidden; text-overflow: ellipsis; max-width: 28ch; }
.site-topbar a { color: #f3e9d3; text-decoration: none; }
.site-topbar a:hover { color: var(--gold); }
.site-topbar .hgi-stroke { color: var(--gold); font-size: 0.95rem; }
.site-topbar__social {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.site-topbar__social-link {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f3e9d3;
  border: 1px solid rgba(243, 233, 211, 0.18);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.site-topbar__social-link:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}
.site-topbar__social-link .hgi-stroke { color: inherit; margin: 0; font-size: 0.85rem; }

.site-chrome.is-scrolled .site-header,
body.scrolled .site-chrome .site-header {
  box-shadow: 0 10px 28px rgba(43, 36, 28, 0.08);
}

.site-header {
  /* بدون backdrop-filter — يحبس position:fixed للقائمة داخل ارتفاع الهيدر */
  background: rgba(255, 253, 248, 0.98);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(to left, transparent 0%, var(--gold) 22%, var(--gold) 78%, transparent 100%);
  opacity: 0.85;
}
.site-header .header-container {
  position: relative;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.site-header .logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
  padding: 0;
}
.site-header .logo img {
  height: 72px;
  width: auto;
  object-fit: contain;
}
.site-logo__text {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.site-header .navmenu ul {
  display: flex;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.site-header .navmenu ul a {
  position: relative;
  color: var(--ink);
  font-family: var(--heading-font);
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0;
}
.site-header .navmenu ul a::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  left: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.site-header .navmenu ul a.active,
.site-header .navmenu ul a:hover {
  color: var(--gold);
}
.site-header .navmenu ul a.active::after,
.site-header .navmenu ul a:hover::after {
  transform: scaleX(1);
}
.site-header .btn-consult {
  background: var(--gold);
  color: var(--ink) !important;
  font-family: var(--heading-font);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.62rem 1.2rem;
  text-decoration: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 8px 18px rgba(201, 162, 39, 0.22);
  transition: filter 0.2s, transform 0.2s, box-shadow 0.2s;
}
.site-header .btn-consult .hgi-stroke { font-size: 0.95rem; color: inherit; }
.site-header .btn-consult:hover {
  filter: brightness(1.06);
  color: var(--ink) !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(201, 162, 39, 0.28);
}
.mobile-nav-toggle {
  font-size: 1.55rem;
  color: var(--ink);
  cursor: pointer;
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.mobile-nav-toggle .hgi-stroke { font-size: 1.25rem; }
.navmenu-brand,
.navmenu-close { display: none; }

@media (max-width: 1199px) {
  .mobile-nav-toggle { display: inline-flex; }
  .site-header .header-container { min-height: 76px; }
  .site-header .logo img { height: 58px; }
  .navmenu-brand { display: flex; }
  .navmenu-close { display: inline-flex; }
}

.office-hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(201, 162, 39, 0.16), transparent 42%),
    linear-gradient(180deg, #1f1a14 0%, var(--ink) 55%, #1a1611 100%);
  color: #fff;
}
.office-hero::before { display: none; }
.office-hero .container {
  position: relative;
  z-index: 1;
  padding-top: 3.2rem;
  padding-bottom: 3.4rem;
}
.office-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.4rem 3rem;
  align-items: center;
}
.office-hero__copy { max-width: 38rem; }
.office-hero__photo {
  position: relative;
}
.office-hero__photo::before {
  content: "";
  position: absolute;
  inset: 18px -16px -18px 16px;
  border: 1px solid rgba(201, 162, 39, 0.38);
  border-radius: 32px;
  pointer-events: none;
}
.office-hero__photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: min(70vh, 620px);
  object-fit: cover;
  object-position: 16% center;
  border-radius: 28px;
  border: 1px solid rgba(201, 162, 39, 0.28);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.38);
  background: #2a241c;
}
@media (max-width: 991px) {
  .office-hero { min-height: 0; }
  .office-hero__grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
  .office-hero__copy { order: 1; }
  .office-hero__photo { order: 2; }
  .office-hero__photo::before { inset: 12px -10px -12px 10px; }
  .office-hero__photo img {
    height: min(42vh, 360px);
    object-position: center 18%;
  }
  .office-hero h1 { max-width: none; }
  .office-hero .container {
    padding-top: 1.75rem;
    padding-bottom: 2rem;
  }
}
.office-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold);
  font-family: var(--heading-font);
  letter-spacing: 0;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.office-kicker::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.office-hero h1 {
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.3;
  max-width: 16ch;
  margin-bottom: 1rem;
  color: #fff;
}
.office-hero h1 span { color: var(--gold); }
.office-hero p.lead {
  max-width: 38rem;
  color: #f3e9d3;
  font-size: 1.28rem;
  font-weight: var(--body-weight, 700);
  line-height: 2;
}
.btn-gold {
  background: var(--gold);
  color: var(--ink) !important;
  border: 0;
  font-family: var(--heading-font);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
}
.btn-gold:hover { filter: brightness(1.06); color: var(--ink) !important; }
.btn-ghost {
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  background: transparent;
  font-family: var(--heading-font);
  font-weight: 600;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold) !important; }

.stats-band {
  background: var(--cream);
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(43, 36, 28, 0.1);
  padding: 1.6rem 0.5rem;
}
.stat-cell {
  text-align: center;
  padding: 0.6rem;
}
.stat-cell .hgi-stroke { color: var(--gold); font-size: 1.4rem; display: block; margin-bottom: 0.35rem; }
.stat-cell h4 { font-family: var(--heading-font); margin: 0; color: var(--ink); }
.stat-cell p { margin: 0; color: var(--muted); font-size: 0.88rem; }

.section { padding: 5rem 0; }
.section-title { text-align: center; margin-bottom: 2.6rem; }
.section-title .office-kicker { justify-content: center; }
.section-title h2 {
  font-family: var(--heading-font);
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}
.section-title p { color: var(--muted); max-width: 38rem; margin: 0.6rem auto 0; }

.about-frame {
  position: relative;
  min-height: 420px;
  padding-bottom: 2.2rem;
  overflow: visible;
}
.about-frame .main-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 18px;
}
.about-frame .small-image {
  position: absolute;
  z-index: 3;
  width: min(46%, 250px);
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  border: 5px solid var(--paper);
  bottom: 0;
  inset-inline-start: 18px;
  box-shadow: 0 14px 34px rgba(43, 36, 28, 0.22);
}
.about-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: var(--gold);
  color: var(--ink);
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  max-width: 10rem;
  line-height: 1.4;
  font-size: 0.9rem;
}
.feature-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.feature-list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin-bottom: 0.7rem;
  color: var(--ink);
}
.feature-list .hgi-stroke { color: var(--gold); }

.practice-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 18px;
  padding: 1.45rem 1.4rem 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(43, 36, 28, 0.08);
}
.practice-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.practice-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--gold-soft, rgba(201,162,39,.14));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.practice-card .hgi-stroke { color: var(--gold); font-size: 1.35rem; }
.practice-card h3 {
  font-size: 1.08rem;
  margin: 0 0 0.45rem;
  font-family: var(--heading-font);
  color: var(--ink);
}
.practice-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  flex: 1;
}
.practice-card__cat {
  display: inline-block;
  font-family: var(--heading-font);
  font-size: .72rem;
  letter-spacing: .02em;
  color: var(--gold);
  font-weight: 700;
}
.practice-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-family: var(--heading-font);
  font-size: 0.84rem;
  font-weight: 700;
}
.practice-card__actions a { color: var(--ink); text-decoration: none; }
.practice-card__actions a:hover { color: var(--gold); }
.practice-card__ask { color: var(--gold) !important; }
.services-group-head { margin: 0.4rem 0 1.1rem; }
.services-group-head h3 {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  margin: 0.2rem 0 0;
}
.service-detail .hgi-stroke { color: var(--gold); font-size: 1.7rem; }
.service-detail__body { color: var(--ink); line-height: 1.9; }

.why-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
}
.why-card .hgi-stroke { color: var(--gold); font-size: 1.5rem; }
.why-card h4 { font-family: var(--heading-font); margin: 0.7rem 0 0.4rem; }
.why-card p { color: var(--muted); margin: 0; font-size: 0.92rem; }

.cta-band {
  background: var(--ink);
  color: #f3e9d3;
  border-radius: 22px;
  padding: 3rem 1.5rem;
  text-align: center;
}
.cta-band h2 { color: #fff; font-family: var(--heading-font); }
.cta-band p { color: #e8dcc4; }

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.7rem;
  position: relative;
}
.faq-item h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
  padding-left: 1.6rem;
  font-family: var(--heading-font);
}
.faq-item .faq-content { display: none; color: var(--muted); }
.faq-item.faq-active .faq-content { display: block; }
.faq-item .faq-toggle { position: absolute; left: 0.9rem; top: 1rem; color: var(--gold); }

.contact-card {
  background: var(--cream);
  border-radius: 18px;
  padding: 1.4rem;
}
.contact-row {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row .hgi-stroke { color: var(--gold); font-size: 1.25rem; }
.contact-form .form-control {
  border-radius: 12px;
  border-color: var(--line);
  padding: 0.8rem 1rem;
}
.contact-form .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.office-footer {
  background: var(--ink);
  color: #e8dcc4;
  padding: 3.6rem 0 0;
  border-top: 3px solid var(--gold);
}
.office-footer img { height: 64px; width: auto; }
.office-footer__brand { display: inline-block; margin-bottom: 0.85rem; }
.office-footer__about {
  color: #d9ccb3;
  line-height: 1.85;
  font-size: 0.92rem;
  max-width: 28rem;
  margin: 0;
}
.office-footer h4 {
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-family: var(--heading-font);
}
.office-footer a { color: #e8dcc4; text-decoration: none; }
.office-footer a:hover { color: var(--gold); }
.office-footer ul { list-style: none; padding: 0; margin: 0; }
.office-footer li { margin-bottom: 0.5rem; font-size: 0.9rem; }
.office-footer__more { color: var(--gold) !important; font-weight: 700; }
.office-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
  line-height: 1.55;
}
.office-footer__contact .hgi-stroke { color: var(--gold); margin-top: 0.15rem; flex-shrink: 0; }
.office-footer__cta {
  margin-top: 0.4rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}
.office-footer .copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.2rem;
  margin-top: 2.4rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(243, 233, 211, 0.12);
  font-family: var(--default-font);
  font-size: 0.84rem;
  color: #cbbfa6;
}
.copy__links { display: flex; flex-wrap: wrap; gap: 1rem; }
.social-links a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(201,162,39,.35);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.35rem;
  margin-bottom: 0.35rem;
}
.social-links a:hover { border-color: var(--gold); background: rgba(201,162,39,.12); }

.page-hero {
  background: var(--ink);
  color: #fff;
  padding: 3.2rem 0 2.4rem;
}
.page-hero h1 { font-family: var(--heading-font); margin: 0; color: #fff; }
.page-hero p {
  color: #e8dcc4;
  margin: 0.4rem 0 0;
  font-family: var(--default-font) !important;
  font-weight: var(--body-weight, 700);
  font-size: 1.2rem;
  line-height: 1.9;
}

.inner-page .site-page-main { padding-top: 0; padding-bottom: 0; }

.bg-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.text-gold { color: var(--gold) !important; }
.accent-text { color: var(--gold) !important; }
.light-background {
  background: var(--cream) !important;
  --background-color: var(--cream);
}
.dark-background {
  background: var(--ink) !important;
  --background-color: var(--ink);
}

.php-email-form .loading,
.php-email-form .error-message,
.php-email-form .sent-message { display: none; }

.btn-outline-gold {
  border: 1.5px solid var(--gold) !important;
  color: var(--ink) !important;
  background: transparent !important;
  border-radius: 999px;
  font-family: var(--heading-font);
  font-weight: 700;
  padding: 0.7rem 1.4rem;
}
.btn-outline-gold:hover {
  background: var(--gold) !important;
  color: var(--ink) !important;
}

#header.header,
.site-header.header {
  position: relative;
  background: rgba(255, 253, 248, 0.98) !important;
  padding: 0 !important;
  box-shadow: none !important;
  transition: box-shadow 0.2s ease;
}
.site-header .header-container {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
}

body.mobile-nav-active::after {
  content: none;
}

.service-card,
.legal-content {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.legal-content h2, .legal-content h3 { color: var(--ink); }
.legal-content h3 { color: var(--gold); }
.legal-content p, .legal-content li { color: var(--muted); line-height: 1.85; }

.faq-accordion .accordion-item { border: 1px solid var(--line) !important; border-radius: 14px !important; }
.faq-accordion .accordion-button {
  background: var(--paper);
  color: var(--ink);
  box-shadow: none;
  font-family: var(--heading-font);
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--cream);
  color: var(--ink);
  box-shadow: none;
}
.faq-accordion .accordion-button:focus { box-shadow: none; border-color: var(--gold); }

.php-email-form .btn,
.contact-form button[type="submit"] {
  background: var(--gold);
  color: var(--ink);
  border: 0;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.75rem 1.8rem;
}

.office-quote {
  background: var(--cream);
  border-radius: 22px;
  overflow: hidden;
}
.office-quote img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.form-check-input:checked {
  background-color: var(--gold);
  border-color: var(--gold);
}

.article-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.article-filters a {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--heading-font);
  font-size: 0.84rem;
  font-weight: 600;
}
.article-filters a:hover { border-color: var(--gold); color: var(--gold); }
.article-filters a.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #f3e9d3;
}
.articles-empty {
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 3.2rem 1.5rem;
  max-width: 36rem;
  margin: 0 auto;
}
.articles-empty h3 { font-family: var(--heading-font); margin: 0.5rem 0 0.6rem; }
.articles-empty p {
  font-family: var(--default-font);
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  font-family: var(--default-font);
  transition: transform .2s ease, box-shadow .2s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(43, 36, 28, 0.08);
  color: inherit;
}
.article-card img,
.article-card__ph {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.article-card__ph {
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(160deg, rgba(43,36,28,.08), rgba(201,162,39,.22)),
    var(--cream, #fff8ea);
  padding: 1rem 1.15rem;
}
.article-card__ph span {
  font-family: var(--heading-font);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.82rem;
}
.article-card-body {
  padding: 1.15rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-card h3 {
  font-family: var(--heading-font) !important;
  font-size: 1.08rem;
  margin: 0.4rem 0 0.5rem;
  color: var(--ink);
  line-height: 1.45;
}
.article-card p,
.article-card__excerpt {
  font-family: var(--default-font) !important;
  font-weight: var(--body-weight, 700);
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
  margin: 0 0 auto;
}
.article-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
.article-card__more {
  font-family: var(--heading-font);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
}
.article-meta {
  font-family: var(--default-font) !important;
  color: var(--muted);
  font-size: 0.82rem;
}
.article-lead,
.article-body p.article-lead {
  font-family: var(--default-font) !important;
  font-weight: var(--body-weight, 700);
  font-size: 1.25rem !important;
  line-height: 1.95;
  color: var(--muted) !important;
  margin: 0 0 1.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}
.article-cover {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 14px;
}
.article-body.legal-content p,
.article-body.legal-content li {
  color: var(--ink);
}
.article-body {
  font-family: var(--default-font);
  font-size: 1.05rem;
  line-height: 2;
  color: var(--ink);
}
.article-body h1, .article-body h2, .article-body h3,
.article-body h4, .article-body h5, .article-body h6 {
  font-family: var(--heading-font) !important;
  color: var(--ink);
  margin-top: 1.5rem;
  margin-bottom: 0.7rem;
  line-height: 1.45;
}
.article-body h2 { font-size: 1.45rem; }
.article-body h3 { font-size: 1.2rem; color: var(--gold); }
.article-body p,
.article-body li,
.article-body td,
.article-body span,
.article-body div,
.article-body font {
  font-family: var(--default-font) !important;
}
.article-body p {
  line-height: 2.05;
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: 1.28rem !important;
  font-weight: var(--body-weight, 700);
}
.article-body ul, .article-body ol { padding-inline-start: 1.4rem; margin-bottom: 1rem; }
.article-body a { color: var(--gold); font-family: inherit !important; }
.article-body blockquote {
  font-family: var(--heading-font);
  border-right: 3px solid var(--gold);
  margin: 1.2rem 0;
  padding: 0.4rem 1rem;
  color: var(--ink);
  background: var(--cream);
  border-radius: 0 12px 12px 0;
}
.article-body table {
  width: 100%;
  margin: 1rem 0;
  font-family: var(--default-font);
}
.articles-related-title {
  font-family: var(--heading-font);
}

@media (max-width: 991px) {
  .about-frame { min-height: auto; margin-bottom: 2rem; padding-bottom: 0; }
  .about-frame .main-image { height: 340px; }
  .about-frame .small-image {
    position: relative;
    inset: auto;
    width: 56%;
    max-width: 220px;
    height: auto;
    aspect-ratio: 3 / 4;
    margin-top: -92px;
    margin-inline-start: 1rem;
  }
}

.intake-form,
.intake-success {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.6rem 1.4rem 1.5rem;
  box-shadow: 0 18px 40px rgba(43, 36, 28, 0.06);
}
.intake-head h3,
.intake-success h3 {
  font-family: var(--heading-font);
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.intake-head p {
  color: var(--muted);
  margin-bottom: 1.15rem;
  line-height: 1.7;
}
.intake-block {
  margin-bottom: 1.15rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}
.intake-block:last-of-type { border-bottom: 0; margin-bottom: 0.35rem; padding-bottom: 0.4rem; }
.intake-block h4 {
  font-family: var(--heading-font);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.intake-label {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.intake-label span { color: var(--muted); font-weight: 400; }
.intake-form .form-control,
.intake-form .form-select {
  border-radius: 12px;
  border-color: var(--line);
  padding: 0.78rem 1rem;
  color: var(--ink);
  background: #fff;
}
.intake-form .form-control:focus,
.intake-form .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.intake-hint,
.intake-privacy {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0.65rem 0 0;
  line-height: 1.7;
}
.intake-submit {
  margin-top: 0.4rem;
  padding: 0.9rem 1.4rem;
  font-family: var(--heading-font);
  font-size: 1.02rem;
}
.intake-alert {
  background: #f8e8e4;
  color: #6b2f24;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.intake-success { text-align: center; padding: 2.2rem 1.4rem; }
.intake-success__seal {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.intake-success__kicker {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}
.intake-success__lead,
.intake-success__note {
  color: var(--muted);
  line-height: 1.85;
  max-width: 36rem;
  margin: 0.4rem auto 1rem;
}
.intake-ref {
  display: inline-block;
  background: var(--cream);
  border: 1px dashed rgba(201, 162, 39, 0.45);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.2rem;
  color: var(--ink);
}
.intake-summary {
  list-style: none;
  padding: 0;
  margin: 0 auto 1rem;
  max-width: 28rem;
  text-align: start;
}
.intake-summary li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.intake-summary li span { color: var(--muted); }
.intake-summary li strong { color: var(--ink); }

.office-float {
  position: fixed;
  bottom: 1.25rem;
  inset-inline-end: 1rem;
  z-index: 1060;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  font-family: var(--default-font);
}
@media (min-width: 768px) {
  .office-float {
    bottom: 1.75rem;
    inset-inline-end: 1.5rem;
  }
}
.office-wa {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  font-family: var(--default-font);
}
.office-wa-pop {
  width: min(280px, calc(100vw - 2rem));
  overflow: hidden;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 18px 50px rgba(43, 36, 28, 0.16);
  animation: office-wa-reveal 0.28s ease both;
  font-family: var(--default-font);
}
.office-wa-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #075e54;
  color: #fff;
  padding: 0.8rem 1rem;
  font-family: var(--heading-font);
}
.office-wa-kicker {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}
.office-wa-from {
  margin: 0.1rem 0 0;
  font-family: var(--heading-font);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
}
.office-wa-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.2rem 0 0;
  font-family: var(--heading-font);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.3;
}
.office-wa-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.25);
  flex-shrink: 0;
}
.office-wa-close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  cursor: pointer;
}
.office-wa-close:hover { background: rgba(255, 255, 255, 0.1); }
.office-wa-close svg { width: 16px; height: 16px; }
.office-wa-body {
  background: #ece5dd;
  padding: 0.9rem 0.75rem 1rem;
  min-height: 72px;
}
.office-wa-msg {
  margin: 0;
  max-width: 90%;
  background: #fff;
  color: var(--ink);
  border-radius: 1rem 1rem 1rem 0.35rem;
  padding: 0.55rem 0.75rem;
  font-family: var(--default-font);
  font-size: 0.9rem;
  line-height: 1.7;
  box-shadow: 0 1px 2px rgba(16, 24, 22, 0.08);
}
.office-wa-dots {
  display: inline-flex;
  gap: 4px;
  background: #fff;
  border-radius: 1rem;
  padding: 0.55rem 0.75rem;
}
.office-wa-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #42bea9;
  animation: office-wa-dot 1s ease-in-out infinite;
}
.office-wa-dots span:nth-child(2) { animation-delay: .15s; }
.office-wa-dots span:nth-child(3) { animation-delay: .3s; }
.office-wa-reply {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #1ebe57;
  color: #fff !important;
  text-decoration: none;
  padding: 0.8rem 1rem;
  font-family: var(--heading-font);
  font-size: 0.9rem;
  font-weight: 700;
}
.office-wa-reply:hover {
  color: #fff !important;
  filter: brightness(1.06);
}
.office-wa-reply svg {
  width: 18px;
  height: 18px;
}
.office-wa-btn {
  position: relative;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: #1ebe57;
  color: #fff;
  box-shadow: 0 10px 24px rgba(30, 190, 87, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--heading-font);
  animation: office-wa-pulse 2.4s ease-in-out infinite;
}
.office-wa-btn svg {
  width: 26px;
  height: 26px;
  display: block;
}
.office-wa-badge {
  position: absolute;
  inset-inline-end: -4px;
  top: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-family: var(--heading-font);
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
@keyframes office-wa-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30, 190, 87, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(30, 190, 87, 0); }
}
@keyframes office-wa-dot {
  0%, 80%, 100% { opacity: .3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}
@keyframes office-wa-reveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.office-float-top {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(201, 162, 39, 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}
.office-float-top svg {
  width: 20px;
  height: 20px;
}
.office-float-top.is-visible { display: inline-flex; }
.office-float-top:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

/* ── Responsive: tablets & phones ── */
@media (max-width: 991.98px) {
  .section { padding: 3.25rem 0; }
  .page-hero { padding: 2.4rem 0 1.8rem; }
  .page-hero h1 { font-size: clamp(1.45rem, 5vw, 2rem); }
  .office-footer { padding-top: 2.6rem; }
  .office-footer .copy {
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
  }
  .stats-band {
    margin-top: -1.25rem;
    padding: 1rem 0.35rem;
    border-radius: 14px;
  }
  .stat-cell h4 { font-size: 1.15rem; }
  .practice-card { height: 100%; }
}

@media (max-width: 767.98px) {
  :root { --body-size: 1.05rem; }
  html { font-size: 15px; }
  body { line-height: 1.85; overflow-x: clip; }

  .container {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .site-topbar { font-size: 0.72rem; }
  .site-topbar__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    min-height: auto;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }
  .site-topbar__contacts {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.85rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 1px;
  }
  .site-topbar__contacts::-webkit-scrollbar { display: none; }
  .site-topbar__item { flex-shrink: 0; }
  .site-topbar__item .site-topbar__text { max-width: none; font-size: 0.72rem; }
  .site-topbar__item--email .site-topbar__text { display: none; }
  .site-topbar__item--email {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    justify-content: center;
    border: 1px solid rgba(243, 233, 211, 0.18);
  }

  .site-header .header-container {
    min-height: 68px;
    gap: 0.75rem;
  }
  .site-header .logo img { height: 52px; }
  .mobile-nav-toggle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .office-hero h1 {
    font-size: clamp(1.65rem, 7vw, 2.2rem);
    line-height: 1.35;
  }
  .office-hero p.lead {
    font-size: 1.05rem;
    line-height: 1.85;
  }
  .office-hero .d-flex.flex-wrap.gap-2 {
    flex-direction: column;
    align-items: stretch;
  }
  .office-hero .d-flex.flex-wrap.gap-2 .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .office-hero__photo img {
    height: min(36vh, 300px);
    border-radius: 20px;
  }
  .office-hero__photo::before { border-radius: 24px; }

  .section { padding: 2.75rem 0; }
  .section-title { margin-bottom: 1.8rem; }
  .section-title h2 { font-size: clamp(1.35rem, 5.5vw, 1.85rem); }
  .section-title p { font-size: 0.95rem; }

  .about-frame .main-image { height: 280px; }
  .about-frame .small-image {
    width: 52%;
    margin-top: -72px;
  }
  .about-badge {
    position: relative;
    inset: auto;
    margin-top: 1rem;
    width: fit-content;
  }

  .intake-form,
  .intake-success { padding: 1.15rem 1rem; }
  .intake-summary li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .office-float {
    bottom: max(0.85rem, env(safe-area-inset-bottom));
    inset-inline-end: max(0.75rem, env(safe-area-inset-right));
  }
  .office-wa-btn {
    width: 54px;
    height: 54px;
  }
  .office-wa-pop {
    width: min(280px, calc(100vw - 1.5rem));
  }
  .office-float-top {
    width: 44px;
    height: 44px;
  }

  body.mobile-nav-active { overflow: hidden; }
  body.mobile-nav-active .mobile-nav-toggle {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    color: var(--ink) !important;
    z-index: auto !important;
  }
}

@media (max-width: 575.98px) {
  :root { --body-size: 1rem; }
  html { font-size: 14px; }

  .site-header .header-container { min-height: 62px; }
  .site-header .logo img { height: 46px; }

  .office-hero .container {
    padding-top: 1.35rem;
    padding-bottom: 1.65rem;
  }
  .office-hero__grid { gap: 1.1rem; }
  .office-hero__photo img { height: min(32vh, 260px); }
  .office-kicker { font-size: 0.72rem; margin-bottom: 0.65rem; }

  .stats-band { margin-top: -0.85rem; }
  .stat-cell { padding: 0.35rem; }
  .stat-cell p { font-size: 0.78rem; }

  .btn-gold,
  .btn-ghost,
  .btn-outline-gold,
  .site-header .btn-consult {
    padding-top: 0.72rem;
    padding-bottom: 0.72rem;
  }

  .office-footer img { height: 52px; }
  .office-footer h4 { font-size: 0.88rem; }
  .office-footer li { font-size: 0.84rem; }

  .article-body { font-size: 1rem; }
  .service-card { padding: 1rem !important; }
}

@media (max-width: 380px) {
  .site-topbar__item--phone .site-topbar__text { font-size: 0.68rem; }
  .office-hero h1 { font-size: 1.5rem; }
}
