/*
 * Styles for template-lawtheme-front.php (layout like lawtheme.com)
 * Uses :root from lawyer-palette.css
 */

.lawtheme-front-wrap {
  padding: 0 !important;
  background: transparent;
}

/* Главная: убираем белую подсветку сверху у контейнера Divi - она даёт полоску */
body.lawtheme-front-page #page-container {
  box-shadow: 0 0 0 1px rgba(160, 140, 100, 0.22), 0 8px 28px rgba(0, 0, 0, 0.05) !important;
  background: linear-gradient(180deg, #ebe6dc 0%, #e8e2d6 40%, #e6e0d4 100%) !important;
  background-color: #e8e2d6 !important;
}

body.lawtheme-front-page #main-content {
  background: transparent !important;
}

.lawtheme-front {
  --lawyer-primary: #C5ADC5;
  --lawyer-secondary: #B2B5E0;
  --lawyer-bg: #f2eee6;
  --lawyer-bg-card: #f6f3eb;
  --lawyer-text: #333333;
  --lawyer-text-muted: #555555;
}

/* Единое ограничение ширины для всех блоков и хедеров (как в блоке со статами) */
.lawtheme-container {
  max-width: var(--lawtheme-content-max, 1440px);
  margin: 0 auto;
  padding: 0 var(--lawtheme-content-padding, 32px);
}

.lawtheme-container-narrow {
  max-width: 800px;
}

.lawtheme-section .lawtheme-container-narrow {
  text-align: center;
}

/* Кнопка после текста (Criminal Defense Beyond DUI и др.): отступ от текста */
.lawtheme-section .lawtheme-container-narrow .lawtheme-section-lead {
  margin-bottom: 1.5em;
}

/* Hero - голубой/лаванда → золотой крем, как у секций ниже */
.lawtheme-hero {
  background: var(--hero-bg-gradient, linear-gradient(180deg, #dce4f0 0%, #f0e8dc 100%));
  background-color: var(--hl-lav-mid, #d8deef);
  padding: clamp(28px, 2.6vw, 46px) 0 clamp(32px, 3vw, 52px);
  text-align: center;
  position: relative;
  overflow: visible;
}

/* Compact hero so the next section peeks into the first viewport. */
body.lawtheme-front-page .lawtheme-hero {
  padding-top: clamp(1.35rem, 2.8vw, 2.1rem);
}

/*
 * Мягкий «мост» внизу героя (под текстом): перышко, без резкой линии.
 * z-index: 1 - между оверлеем и контентом (2), не перекрывает кнопки.
 */
.lawtheme-hero::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: clamp(42px, 7vw, 82px);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(245, 240, 230, 0) 0%,
    rgba(238, 228, 212, 0.18) 22%,
    rgba(232, 218, 200, 0.38) 48%,
    rgba(228, 212, 190, 0.55) 72%,
    rgba(236, 224, 206, 0.72) 88%,
    var(--hl-seam-bridge, #f0e8dc) 100%
  );
}

.lawtheme-hero-with-bg {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Оверлей: голубой → золото, без белого низа (иначе «след») */
.lawtheme-hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay-gradient);
  z-index: 0;
}

.lawtheme-hero-inner {
  position: relative;
  z-index: 2;
}

/* Светлая тень только у крупного текста; лавандовые строки - тёмнее, без «мыла» */
.lawtheme-hero-with-bg .lawtheme-hero-title,
.lawtheme-hero-with-bg .lawtheme-hero-tagline {
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.88);
}

.lawtheme-hero-with-bg .lawtheme-hero-cta {
  text-shadow: none;
}

.lawtheme-hero-with-bg .lawtheme-hero-cta strong {
  color: #4f4358;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.65);
}

.lawtheme-hero-fax {
  font-size: var(--text-small);
  margin: -0.15em 0 0.65em;
  color: var(--lawyer-text-muted);
}

.lawtheme-hero-fax strong {
  font-weight: 700;
}

.lawtheme-hero-fax a {
  color: var(--lawyer-primary-dark, #6b5a70);
  text-decoration: none;
}

.lawtheme-hero-fax a:hover {
  text-decoration: underline;
}

.lawtheme-hero-with-bg .lawtheme-hero-fax {
  text-shadow: none;
}

.lawtheme-hero-with-bg .lawtheme-hero-fax strong,
.lawtheme-hero-with-bg .lawtheme-hero-fax a {
  color: #4f4358;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.65);
}

.lawtheme-hero-with-bg .lawtheme-hero-badge {
  color: #453a4a;
  opacity: 1;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.55);
}

.lawtheme-hero-cta {
  font-size: var(--text-base);
  margin-bottom: 0.5em;
  color: var(--lawyer-text);
}

.lawtheme-hero-cta strong {
  color: var(--lawyer-primary);
}

.lawtheme-hero-title {
  font-size: var(--heading-size);
  font-weight: 700;
  color: var(--lawyer-text);
  margin: 0 0 0.35em;
  line-height: 1.2;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 0.4em;
}

.lawtheme-hero-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  margin: 0.35em auto 0;
  background: linear-gradient(90deg, transparent, rgba(180, 160, 115, 0.6), transparent);
  border-radius: 2px;
}

.lawtheme-hero-tagline {
  font-size: var(--text-base);
  color: var(--lawyer-text-muted);
  margin: 0.4em 0;
}

.lawtheme-hero-badge {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--lawyer-primary);
  margin: 0.65em 0 1.1em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.95;
}

.lawtheme-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 1.25em;
}

/* Кнопки в блоках - больше отступ между собой, люкс-стиль */
.lawtheme-section .lawtheme-container a.lawtheme-btn + a.lawtheme-btn,
.lawtheme-cta .lawtheme-container a.lawtheme-btn + a.lawtheme-btn {
  margin-left: 0;
}

.lawtheme-hero-buttons .lawtheme-btn,
.lawtheme-section .lawtheme-container-narrow .lawtheme-btn,
.lawtheme-cta .lawtheme-container .lawtheme-btn {
  margin: 0 6px;
}

/* Кнопка под текстом (Criminal Defense Beyond DUI): отступ сверху не затирать */
.lawtheme-section .lawtheme-container-narrow .lawtheme-btn {
  margin-top: 2.5em;
}

.lawtheme-btn {
  display: inline-block;
  box-sizing: border-box;
  padding: 18px 36px;
  font-size: var(--text-small);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid transparent;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.lawtheme-btn:first-of-type {
  background: var(--lawyer-btn-bg, #9a859e);
  color: #fff;
  border-color: var(--lawyer-btn-bg, #9a859e);
  box-shadow: 0 4px 20px rgba(154, 133, 158, 0.4), 0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

.lawtheme-btn:first-of-type:hover {
  box-shadow: 0 8px 28px rgba(154, 133, 158, 0.45), 0 2px 0 rgba(200, 180, 140, 0.2) inset;
}

.lawtheme-btn:hover {
  background: var(--lawyer-btn-hover, #8b7790);
  color: #fff !important;
  border-color: var(--lawyer-btn-hover, #8b7790);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(139, 119, 144, 0.4);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.lawtheme-btn-alt {
  background: transparent;
  color: var(--lawyer-primary-dark, #a890a8);
  border: 2px solid var(--lawyer-primary-dark, #a890a8);
  font-weight: 600;
  text-shadow: none;
  box-shadow: 0 2px 12px rgba(168, 144, 168, 0.2);
}

.lawtheme-btn-alt:hover {
  background: var(--lawyer-btn-hover, #8b7790);
  color: #fff !important;
  border-color: var(--lawyer-btn-hover, #8b7790);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 0 8px 28px rgba(139, 119, 144, 0.35);
}

.lawtheme-btn-light {
  background: var(--lawyer-bg);
  color: var(--lawyer-secondary-dark, #6b6fa8);
  border: 2px solid rgba(149, 153, 201, 0.5);
  font-weight: 600;
  text-shadow: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.lawtheme-btn-light:hover {
  background: var(--lawyer-btn-hover-alt, #7a7fb5);
  color: #fff !important;
  border-color: var(--lawyer-btn-hover-alt, #7a7fb5);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 0 8px 28px rgba(122, 127, 181, 0.4);
}

/* Sections - один основной градиент на секцию, без дублирующих ::before/::after (убраны полосы) */
.lawtheme-section {
  padding: var(--space-section-y, 3%) 0;
  /* Первый стоп: стык после лаванды (--hl-to-gold) */
  background: linear-gradient(
    180deg,
    var(--hl-to-gold, #e8e2d6) 0%,
    var(--hl-gold-mid, #e4d9c8) 38%,
    var(--hl-gold-deep, #ddd2c0) 72%,
    var(--hl-to-lavender, #e0dce8) 100%
  );
  background-color: var(--hl-gold-mid, #e4d9c8);
  position: relative;
  overflow: hidden;
}

/* About идёт сразу после Stats: верх = низ Stats (тёплее) */
.lawtheme-section-about {
  background: linear-gradient(
    180deg,
    var(--hl-gold-after-lav, #ece8de) 0%,
    var(--hl-gold-mid, #e4d9c8) 38%,
    var(--hl-gold-deep, #ddd2c0) 72%,
    var(--hl-to-lavender, #e0dce8) 100%
  ) !important;
  background-color: var(--hl-gold-mid, #e4d9c8) !important;
}

.lawtheme-section-alt {
  padding: var(--space-section-y, 3%) 0;
  background: linear-gradient(
    180deg,
    var(--hl-lav-top, #e0dce8) 0%,
    var(--hl-lav-mid, #d8deef) 42%,
    var(--hl-lav-deep, #cfd6e8) 78%,
    var(--hl-to-gold, #e8e2d6) 100%
  );
  background-color: var(--hl-lav-mid, #d8deef);
  position: relative;
  overflow: hidden;
}

.lawtheme-section:not(.lawtheme-section-before-logos)::before,
.lawtheme-section::after,
.lawtheme-section-alt::before,
.lawtheme-section-alt::after,
.lawtheme-section-about::before {
  display: none;
}

/* Контент поверх фона */
.lawtheme-section .lawtheme-container,
.lawtheme-section-alt .lawtheme-container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.lawtheme-section-title {
  text-align: center;
  font-size: var(--heading-size);
  font-weight: 700;
  color: var(--lawyer-text);
  margin: 0 auto var(--space-heading-bottom, 0.5em);
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 0.4em;
}

.lawtheme-section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin: 0.4em auto 0;
  background: linear-gradient(90deg, transparent, rgba(180, 160, 115, 0.7), transparent);
  border-radius: 2px;
}

.lawtheme-section-sub {
  text-align: center;
  color: var(--lawyer-text-muted);
  margin: 0 auto var(--space-sub-bottom, 0.75em);
  font-size: var(--text-base);
  max-width: 720px;
}

.lawtheme-section-lead {
  text-align: center;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--lawyer-text);
  max-width: 720px;
  margin: 0 auto var(--space-lead-bottom, 1em);
}

.lawtheme-section-text {
  text-align: center;
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--lawyer-text);
  max-width: 720px;
  margin: 0 auto var(--space-block, 0.8em);
}

.lawtheme-section-cta {
  text-align: center;
  font-size: var(--text-base);
  margin: var(--space-after-grid, 1.75em) auto 0;
  letter-spacing: 0.02em;
  color: var(--lawyer-text-muted);
  max-width: 720px;
  line-height: 1.55;
}

.lawtheme-section-cta strong {
  color: var(--lawyer-primary);
  font-weight: 700;
}

.lawtheme-stars {
  text-align: center;
  color: var(--lawyer-primary);
  font-size: var(--text-base);
  margin: 0 auto var(--space-sub-bottom, 0.75em);
}

.lawtheme-section p,
.lawtheme-section-alt p {
  color: var(--lawyer-text);
  line-height: 1.7;
  margin: 0 0 var(--space-block, 0.8em);
}

/* Прямые параграфы в контейнере - центрируем и выравниваем отступы */
.lawtheme-section > .lawtheme-container > p,
.lawtheme-section-alt > .lawtheme-container > p {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
  margin-bottom: var(--space-block, 0.8em);
}

.lawtheme-section > .lawtheme-container > p:last-of-type,
.lawtheme-section-alt > .lawtheme-container > p:last-of-type {
  margin-bottom: 0;
}

/* Stats */
.lawtheme-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}

.lawtheme-stat {
  padding: 28px 20px;
  background: linear-gradient( #f8f5ef 0%, #f4f0e8 100%);
  border: 1px solid rgba(197, 173, 197, 0.2);
  border-radius: 10px;
  border-top: 3px solid rgba(180, 160, 115, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s, transform 0.3s, border-top-color 0.3s;
}

.lawtheme-stat:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.07);
  transform: translateY(-3px);
  border-top-color: rgba(180, 160, 115, 0.7);
}

.lawtheme-stat-icon {
  display: block;
  margin-bottom: 8px;
}

.lawtheme-stat-icon .lawtheme-icon {
  width: 40px;
  height: 40px;
  color: var(--lawyer-primary);
  display: inline-block;
}

.lawtheme-stat-num {
  display: block;
  font-size: var(--heading-size);
  font-weight: 700;
  color: var(--lawyer-primary);
  margin-bottom: 4px;
}

.lawtheme-stat-label {
  display: block;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--lawyer-text);
}

.lawtheme-stat-sub {
  display: block;
  font-size: var(--text-small);
  color: var(--lawyer-text-muted);
  margin-top: 4px;
}

/* About section with image */
.lawtheme-about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.lawtheme-about-img-wrap {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(180, 160, 115, 0.15);
}

.lawtheme-about-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.lawtheme-about-text {
  text-align: left;
}

.lawtheme-about-text .lawtheme-section-title {
  text-align: left;
}

@media (max-width: 768px) {
  .lawtheme-container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .lawtheme-about-grid {
    grid-template-columns: 1fr;
  }
  .lawtheme-about-img-wrap {
    max-width: 280px;
    margin: 0 auto;
  }
}

/* Cards (practice areas) */
.lawtheme-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 1.5em;
}

.lawtheme-cards .lawtheme-card {
  flex: 0 1 300px;
  min-width: 280px;
  max-width: 380px;
}

.lawtheme-card-icon {
  display: block;
  margin-bottom: 12px;
}

.lawtheme-card-icon .lawtheme-icon {
  width: 44px;
  height: 44px;
  color: var(--lawyer-primary);
  display: inline-block;
}

.lawtheme-card {
  background: linear-gradient( var(--lawyer-bg-card, #f6f3eb) 0%, #f2eee4 100%);
  border: 1px solid rgba(178, 181, 224, 0.2);
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: var(--lawyer-lux-shadow, 0 4px 20px rgba(0, 0, 0, 0.06));
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}

.lawtheme-card:hover {
  box-shadow: var(--lawyer-lux-shadow-hover, 0 12px 40px rgba(0, 0, 0, 0.08));
  border-color: rgba(178, 181, 224, 0.4);
  transform: translateY(-3px);
}

.lawtheme-card-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--lawyer-primary);
  margin: 0 0 0.5em;
}

.lawtheme-card p {
  font-size: var(--text-small);
  line-height: 1.6;
  margin: 0 0 1em;
  color: var(--lawyer-text);
}

.lawtheme-link {
  font-weight: 600;
  color: var(--lawyer-primary);
  text-decoration: none;
  letter-spacing: 0.03em;
  position: relative;
  padding-bottom: 2px;
}

.lawtheme-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--lawyer-primary), rgba(180, 160, 115, 0.6));
  opacity: 0;
  transition: opacity 0.25s;
}

.lawtheme-link:hover {
  color: var(--lawyer-secondary);
}

.lawtheme-link:hover::after {
  opacity: 1;
  background: var(--lawyer-secondary);
}

/* Testimonials */
.lawtheme-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 1.25em 0;
}

.lawtheme-testimonial {
  background: linear-gradient( var(--lawyer-bg-card, #f6f3eb) 0%, #f0ece2 100%);
  border: 1px solid rgba(197, 173, 197, 0.15);
  border-radius: 10px;
  padding: 32px 28px;
  margin: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.3s, transform 0.3s;
}

.lawtheme-testimonial:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07), 0 2px 8px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.lawtheme-testimonial p {
  font-style: italic;
  font-size: var(--text-base);
  line-height: 1.6;
  margin: 0 0 0.75em;
}

.lawtheme-testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 3px solid rgba(197, 173, 197, 0.3);
}

.lawtheme-testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: var(--lawyer-primary);
  font-size: var(--text-small);
}

.lawtheme-disclaimer {
  text-align: center;
  font-size: var(--text-small);
  color: var(--lawyer-text-muted);
  margin: 1.5em 0 0 !important;
  letter-spacing: 0.02em;
  line-height: 1.6;
  max-width: 640px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Two columns (legacy, used elsewhere if needed) */
.lawtheme-twocol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin: 1.25em 0;
}

.lawtheme-twocol-item h3 {
  font-size: var(--text-base);
  color: var(--lawyer-primary);
  margin: 0 0 0.5em;
}

.lawtheme-twocol-item p {
  margin: 0;
  line-height: 1.7;
}

/* What Happens After a DUI Arrest? - two cards (law-firm style) */
.lawtheme-section-dui .lawtheme-section-lead {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.75em;
}

/* Меньше «пустоты» между этим блоком и следующей секцией */
.lawtheme-section.lawtheme-section-alt.lawtheme-section-dui {
  padding-bottom: var(--space-section-join, clamp(1.5rem, 2.2vw, 2.75rem));
}

.lawtheme-section-dui + .lawtheme-section,
.lawtheme-section-steps + .lawtheme-section {
  padding-top: var(--space-section-join, clamp(1.5rem, 2.2vw, 2.75rem));
}

.lawtheme-section.lawtheme-section-alt.lawtheme-section-steps {
  padding-bottom: var(--space-section-join, clamp(1.5rem, 2.2vw, 2.75rem));
}

.lawtheme-dui-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
  margin: 0;
  margin-top: 0.25em;
}

/* После двух карточек - явно больше воздуха */
.lawtheme-section-dui .lawtheme-section-cta {
  margin-top: 2.25em;
}

.lawtheme-dui-card {
  background: linear-gradient( var(--lawyer-bg-card, #f6f3eb) 0%, #f0ece4 100%);
  border: 1px solid rgba(178, 181, 224, 0.2);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  border-left: 3px solid var(--lawyer-primary);
}

.lawtheme-dui-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  border-color: rgba(178, 181, 224, 0.35);
  border-left-color: var(--lawyer-secondary);
}

.lawtheme-dui-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px 16px;
  background: linear-gradient(135deg, rgba(197, 173, 197, 0.1) 0%, rgba(180, 160, 120, 0.06) 50%, rgba(178, 181, 224, 0.08) 100%);
  border-bottom: 1px solid rgba(178, 181, 224, 0.15);
}

.lawtheme-dui-card-icon .lawtheme-icon {
  width: 40px;
  height: 40px;
  color: var(--lawyer-primary);
  flex-shrink: 0;
}

.lawtheme-dui-card-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--lawyer-text);
  margin: 0;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.lawtheme-dui-card-body {
  padding: 22px 26px 26px;
}

.lawtheme-dui-card-body p {
  margin: 0;
  font-size: var(--text-small);
  line-height: 1.75;
  color: var(--lawyer-text-muted);
}

/* Why Trust Us - 4 features */
.lawtheme-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 1.25em;
}

.lawtheme-feature {
  background: linear-gradient( var(--lawyer-bg-card, #f6f3eb) 0%, #f0ece2 100%);
  border: 1px solid rgba(178, 181, 224, 0.2);
  border-radius: 10px;
  padding: 30px 26px;
  border-left: 3px solid transparent;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s, border-left-color 0.3s;
}

.lawtheme-feature:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.07);
  border-color: rgba(178, 181, 224, 0.35);
  border-left-color: rgba(180, 160, 115, 0.5);
  transform: translateY(-3px);
}

.lawtheme-feature-icon {
  display: block;
  margin-bottom: 14px;
}

.lawtheme-feature-icon .lawtheme-icon {
  width: 48px;
  height: 48px;
  color: var(--lawyer-primary);
  display: inline-block;
}

.lawtheme-feature-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--lawyer-primary);
  margin: 0 0 0.5em;
}

.lawtheme-feature p {
  font-size: var(--text-small);
  line-height: 1.65;
  margin: 0;
  color: var(--lawyer-text);
}

/* Promise - карточки с иконками */
.lawtheme-section-promise .lawtheme-section-sub {
  margin-bottom: 1.25em;
}

.lawtheme-promise-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 1.5em;
}

.lawtheme-promise-card {
  background: linear-gradient( var(--lawyer-bg-card, #f6f3eb) 0%, #f2eee4 100%);
  border: 1px solid rgba(178, 181, 224, 0.2);
  border-radius: 10px;
  padding: 20px 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.lawtheme-promise-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient( var(--lawyer-primary) 0%, rgba(180, 160, 115, 0.5) 100%);
  border-radius: 4px 0 0 4px;
}

.lawtheme-promise-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(178, 181, 224, 0.35);
  transform: translateY(-2px);
}

.lawtheme-promise-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  color: var(--lawyer-primary);
  background: rgba(197, 173, 197, 0.15);
  border-radius: 8px;
}

.lawtheme-promise-card-icon .lawtheme-icon {
  width: 22px;
  height: 22px;
}

.lawtheme-promise-card p {
  margin: 0;
  font-size: var(--text-small);
  line-height: 1.55;
  color: var(--lawyer-text);
}

/* Первый блок после Hero: золото + мягкий верхний слой (стык с мостом героя) */
.lawtheme-section-before-logos {
  margin-top: -1px;
  position: relative;
  z-index: 0;
  background: linear-gradient(
    180deg,
    var(--hl-seam-bridge, #f0e8dc) 0%,
    var(--hl-gold-mid, #e4d9c8) 36%,
    var(--hl-gold-deep, #ddd2c0) 64%,
    var(--hl-to-lavender, #e0dce8) 100%
  ) !important;
  background-color: var(--hl-gold-mid, #e4d9c8) !important;
  box-shadow: inset 0 36px 64px -40px rgba(120, 100, 70, 0.07);
}

/* Тёплая дымка сверху - визуально склеивает с низом hero */
.lawtheme-section-before-logos::before {
  display: block !important;
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 80px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(200, 175, 130, 0.06) 0%,
    rgba(228, 210, 175, 0.04) 35%,
    transparent 100%
  );
}

/* Awards: только лаванда - без жёлтого «моста» к Stats */
.lawtheme-section-logos {
  background: linear-gradient(
    180deg,
    var(--hl-lav-top, #e0dce8) 0%,
    var(--hl-lav-mid, #d8deef) 48%,
    var(--hl-lav-deep, #cfd6e8) 100%
  ) !important;
  background-color: var(--hl-lav-mid, #d8deef) !important;
}

/* Stats: стык с Awards - лаванда; тёплый тон только внизу к About */
.lawtheme-section-stats {
  background: linear-gradient(
    180deg,
    var(--hl-lav-deep, #cfd6e8) 0%,
    var(--hl-lav-mid, #d8deef) 38%,
    var(--hl-lav-deep, #cfd6e8) 72%,
    var(--hl-gold-after-lav, #ece8de) 100%
  ) !important;
  background-color: var(--hl-lav-mid, #d8deef) !important;
}

.lawtheme-section-logos .lawtheme-logos-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px 44px;
  margin-top: 1.5em;
  padding: 28px 0 36px;
}

.lawtheme-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 54px;
}

.lawtheme-logo-item--super-lawyers {
  flex: 0 0 auto;
  align-self: center;
}

.lawtheme-super-lawyers-badge-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.lawtheme-super-lawyers-badge-shell .lawtheme-super-lawyers-badge,
.lawtheme-super-lawyers-badge-shell .slbadge-v4.atty-free,
.lawtheme-super-lawyers-badge-shell .slbadge-v4.firm-free {
  width: 130px !important;
  max-width: 130px !important;
  min-width: 120px !important;
  margin: 0 auto;
  overflow: hidden !important;
  box-sizing: border-box !important;
  border-radius: 24px !important;
}

.lawtheme-super-lawyers-badge-shell .slbadge-v4.atty-free.monochrome,
.lawtheme-super-lawyers-badge-shell .slbadge-v4.firm-free.monochrome {
  background: #fff !important;
  border: 1px solid #404040 !important;
}

.lawtheme-super-lawyers-badge-shell .lawtheme-super-lawyers-badge {
  opacity: 0.94;
  filter: grayscale(0.08);
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.lawtheme-logo-item--super-lawyers:hover .lawtheme-super-lawyers-badge-shell .lawtheme-super-lawyers-badge {
  opacity: 1;
  filter: grayscale(0);
}

.lawtheme-super-lawyers-badge-shell .slbadge-v4.atty-free .wrapper,
.lawtheme-super-lawyers-badge-shell .slbadge-v4.firm-free .wrapper {
  min-height: auto !important;
  padding: 4px 5px !important;
  overflow: hidden;
  box-sizing: border-box;
}

.lawtheme-super-lawyers-badge-shell .slbadge-v4.atty-free .inner,
.lawtheme-super-lawyers-badge-shell .slbadge-v4.firm-free .inner {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  overflow: hidden;
  box-sizing: border-box !important;
  border-radius: 18px !important;
  border-width: 1px !important;
}

.lawtheme-super-lawyers-badge-shell .slbadge-v4.atty-free .logo-container,
.lawtheme-super-lawyers-badge-shell .slbadge-v4.firm-free .logo-container {
  order: 1;
  min-height: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
  padding: 3px 2px 4px !important;
  text-align: center;
}

.lawtheme-super-lawyers-badge-shell .slbadge-v4.atty-free .logo-container img,
.lawtheme-super-lawyers-badge-shell .slbadge-v4.firm-free .logo-container img,
.lawtheme-super-lawyers-badge-shell .slbadge-v4.atty-free .logo-container .logo img,
.lawtheme-super-lawyers-badge-shell .slbadge-v4.firm-free .logo-container .logo img {
  display: block;
  max-height: 22px !important;
  width: auto !important;
  margin: 0 auto;
}

.lawtheme-super-lawyers-badge-shell .slbadge-v4.atty-free .logo-container span,
.lawtheme-super-lawyers-badge-shell .slbadge-v4.firm-free .logo-container span {
  font-size: 0.46rem !important;
  line-height: 1.05 !important;
}

.lawtheme-super-lawyers-badge-shell .slbadge-v4.atty-free .name,
.lawtheme-super-lawyers-badge-shell .slbadge-v4.firm-free .name {
  order: 2;
  position: relative !important;
  left: 0 !important;
  right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: auto !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  padding: 3px 4px !important;
  white-space: nowrap;
  overflow: hidden;
}

.lawtheme-super-lawyers-badge-shell .slbadge-v4.atty-free .name::after,
.lawtheme-super-lawyers-badge-shell .slbadge-v4.firm-free .name::after {
  content: "Super Lawyers";
  display: block;
  font-size: 0.68rem;
  line-height: 1.2;
  color: #fff;
  font-weight: 700;
}

.lawtheme-super-lawyers-badge-shell .slbadge-v4.atty-free .year-container,
.lawtheme-super-lawyers-badge-shell .slbadge-v4.firm-free .year-container {
  order: 3;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  padding: 2px 4px 3px !important;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  flex-grow: 0 !important;
}

.lawtheme-super-lawyers-badge-shell .slbadge-v4.atty-free .year-container .year,
.lawtheme-super-lawyers-badge-shell .slbadge-v4.firm-free .year-container .year {
  display: none !important;
}

.lawtheme-super-lawyers-badge-shell .slbadge-v4.atty-free .year-container::after,
.lawtheme-super-lawyers-badge-shell .slbadge-v4.firm-free .year-container::after {
  content: "Yan Goldshteyn";
  display: block;
  font-size: 0.72rem;
  line-height: 1.1;
  color: #404040;
  font-weight: 700;
}

.lawtheme-super-lawyers-caption {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: #404040;
  text-align: center;
  text-transform: uppercase;
}

.lawtheme-super-lawyers-badge-placeholder {
  width: 100%;
  min-height: 66px;
  padding: 5px 5px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid rgba(64, 64, 64, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  font-family: Arial, Helvetica, sans-serif;
  color: #404040;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}

.lawtheme-super-lawyers-badge-placeholder-rated {
  display: block;
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
  color: #666;
}

.lawtheme-super-lawyers-badge-placeholder-brand {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2px;
}

.lawtheme-super-lawyers-badge-placeholder-name {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-size: 0.64rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  background: #404040;
  padding: 3px 4px;
  border-radius: 2px;
}

.lawtheme-super-lawyers-badge-placeholder-attorney {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.1;
  margin-top: 2px;
}

.lawtheme-logo-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.lawtheme-logo-item img {
  max-height: 52px;
  width: auto;
  max-width: 120px;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.15);
  opacity: 0.92;
  transition: opacity 0.25s, filter 0.25s;
}

.lawtheme-logo-item:hover img {
  opacity: 1;
  filter: grayscale(0);
}

@media (max-width: 767px) {
  .lawtheme-section-logos .lawtheme-logos-strip {
    gap: 22px 32px;
  }

  .lawtheme-super-lawyers-badge-shell .lawtheme-super-lawyers-badge,
  .lawtheme-super-lawyers-badge-shell .slbadge-v4.atty-free,
  .lawtheme-super-lawyers-badge-shell .slbadge-v4.firm-free,
  .lawtheme-super-lawyers-badge-placeholder {
    width: 120px !important;
    max-width: 120px !important;
  }
}

/* Legacy award cards (если понадобятся на других страницах) */
.lawtheme-awards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 1.25em;
}

.lawtheme-awards .lawtheme-award {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: linear-gradient(135deg, #d8ccb0 0%, #d2c4a4 100%) !important;
  border-radius: 10px;
  border: 1px solid rgba(160, 140, 100, 0.4);
  border-left: 3px solid rgba(180, 160, 115, 0.6);
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--lawyer-text);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s, border-left-color 0.25s;
}

.lawtheme-award:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  border-left-color: rgba(180, 160, 115, 0.65);
}

.lawtheme-award-icon .lawtheme-icon {
  width: 28px;
  height: 28px;
  color: var(--lawyer-primary);
  flex-shrink: 0;
}

/* Act Fast - после Promise (alt), перед Criminal (gold) */
.lawtheme-section-steps {
  background: linear-gradient(
    180deg,
    var(--hl-to-gold, #e8e2d6) 0%,
    var(--hl-lav-mid, #d8deef) 35%,
    var(--hl-lav-deep, #cfd6e8) 70%,
    var(--hl-gold-top, #ece8de) 100%
  ) !important;
  background-color: var(--hl-lav-mid, #d8deef) !important;
}

.lawtheme-section-steps .lawtheme-section-lead {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.lawtheme-timeline {
  max-width: 720px;
  margin: 1.5em auto 0;
  padding-bottom: 0.25em;
  position: relative;
}

.lawtheme-timeline::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient( var(--lawyer-primary) 0%, rgba(197, 173, 197, 0.35) 100%);
  border-radius: 1px;
}

.lawtheme-timeline-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0;
  align-items: start;
  position: relative;
  margin-bottom: 0;
}

.lawtheme-timeline-step:not(:last-child) {
  margin-bottom: 1.25em;
}

.lawtheme-timeline-marker {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient( #f6f3eb 0%, #f0ece2 100%);
  border: 2px solid var(--lawyer-primary);
  box-shadow: 0 0 0 1px rgba(180, 160, 115, 0.25), 0 4px 16px rgba(0, 0, 0, 0.06);
  border-radius: 50%;
}

.lawtheme-timeline-num {
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--lawyer-primary);
}

.lawtheme-timeline-content {
  margin-left: 28px;
  margin-top: -2px;
  padding: 24px 28px;
  background: linear-gradient( var(--lawyer-bg-card, #f6f3eb) 0%, #f2eee4 100%);
  border: 1px solid rgba(178, 181, 224, 0.22);
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border-left: 3px solid var(--lawyer-primary);
}

.lawtheme-timeline-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--lawyer-text);
  margin: 0 0 0.5em;
  line-height: 1.35;
}

.lawtheme-timeline-content p {
  margin: 0;
  font-size: var(--text-small);
  line-height: 1.7;
  color: var(--lawyer-text-muted);
}

@media (max-width: 640px) {
  .lawtheme-timeline::before {
    left: 16px;
    top: 24px;
  }
  .lawtheme-timeline-step {
    grid-template-columns: 40px 1fr;
  }
  .lawtheme-timeline-marker {
    width: 36px;
    height: 36px;
  }
  .lawtheme-timeline-num {
    font-size: var(--text-small);
  }
  .lawtheme-timeline-content {
    margin-left: 20px;
    padding: 20px 20px 20px 24px;
  }
}

/* Areas We Serve - слева заголовок, справа блоки (County Courts + Cities), выравнивание по левому краю */
.lawtheme-areas-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
  text-align: left;
}

.lawtheme-areas-intro .lawtheme-section-title {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.lawtheme-section-areas .lawtheme-section-sub {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.lawtheme-service-areas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 0;
}

.lawtheme-service-card {
  text-align: left;
}

.lawtheme-service-card-header {
  text-align: left;
}

.lawtheme-service-list,
.lawtheme-service-tags {
  text-align: left;
}

/* ===== Areas We Serve: interactive coverage map ===== */
.lawtheme-section-areas .lawtheme-areas-grid {
  grid-template-columns: 1fr;
  gap: clamp(26px, 3vw, 40px);
}

.lawtheme-areas-search .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.lawtheme-areas-counter {
  display: flex;
  align-items: baseline;
  gap: 0.55em;
  margin: 1.3em 0 1.15em;
}

.lawtheme-areas-counter-num {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--lawyer-primary-dark, #8b7790), #c0a66e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lawtheme-areas-counter-label {
  color: var(--lawyer-text-muted);
  font-size: var(--text-base);
  line-height: 1.4;
}

.lawtheme-areas-counter-label strong {
  color: var(--lawyer-text);
}

.lawtheme-areas-search {
  position: relative;
  display: block;
  max-width: 380px;
}

.lawtheme-areas-search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--lawyer-primary-dark, #8b7790);
  pointer-events: none;
}

.lawtheme-areas-search-input {
  width: 100%;
  padding: 13px 18px 13px 44px;
  font-size: var(--text-base);
  color: var(--lawyer-text);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(150, 130, 95, 0.3);
  border-radius: 999px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lawtheme-areas-search-input:focus {
  outline: none;
  border-color: var(--lawyer-primary);
  box-shadow: 0 0 0 4px rgba(197, 173, 197, 0.25);
}

.lawtheme-areas-interactive {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.4vw, 30px);
  align-items: stretch;
}

@media (min-width: 880px) {
  .lawtheme-areas-interactive {
    grid-template-columns: 0.74fr 1fr;
  }
}

.lawtheme-areas-map {
  position: relative;
  width: 100%;
  align-self: center;
  aspect-ratio: 640 / 560;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(160deg, #f6f8fe 0%, #eef0fa 100%);
  border: 1px solid rgba(150, 130, 95, 0.2);
  box-shadow: 0 26px 64px rgba(45, 38, 52, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.lawtheme-areas-map-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lawtheme-map-base {
  pointer-events: none;
}

.lawtheme-map-county {
  cursor: pointer;
  outline: none;
}

.lawtheme-map-county path {
  fill: rgba(206, 196, 230, 0.62);
  stroke: #ffffff;
  stroke-width: 2.4;
  stroke-linejoin: round;
  transition: fill 0.3s ease, opacity 0.3s ease;
}

.lawtheme-map-county text {
  fill: #5a4863;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  pointer-events: none;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 3px;
  transition: fill 0.3s ease;
}

.lawtheme-map-county:hover path {
  fill: rgba(180, 162, 214, 0.8);
}

.lawtheme-map-county:focus-visible path {
  fill: rgba(180, 162, 214, 0.85);
  stroke: var(--lawyer-primary-dark, #8b7790);
}

.lawtheme-map-county.is-active path {
  fill: url(#lawthemeActive);
  stroke: #ffffff;
  stroke-width: 2.8;
}

.lawtheme-map-county.is-active text {
  fill: #ffffff;
  stroke: rgba(90, 72, 99, 0.55);
  stroke-width: 2.6px;
}

.lawtheme-map-county.is-dim {
  opacity: 0.45;
}

.lawtheme-map-county.is-dim path {
  fill: rgba(206, 196, 230, 0.4);
}

.lawtheme-areas-panel {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(150, 130, 95, 0.18);
  border-radius: 24px;
  padding: clamp(20px, 2.2vw, 28px);
  box-shadow: 0 20px 48px rgba(45, 38, 52, 0.08);
}

.lawtheme-areas-counties {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lawtheme-county-chip {
  cursor: pointer;
  border: 1px solid rgba(150, 130, 95, 0.28);
  background: rgba(255, 255, 255, 0.82);
  color: var(--lawyer-text);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 999px;
  transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.lawtheme-county-chip:hover {
  border-color: var(--lawyer-primary);
  color: var(--lawyer-primary-dark, #8b7790);
  transform: translateY(-1px);
}

.lawtheme-county-chip.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #9a859e 0%, #c0a66e 100%);
  box-shadow: 0 8px 20px rgba(120, 90, 120, 0.28);
}

.lawtheme-areas-panel-status {
  margin: 1.7em 0 1.2em;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--lawyer-primary-dark, #8b7790);
  letter-spacing: 0.01em;
}

.lawtheme-areas-cities {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 10px;
  flex: 1;
  min-height: 2.6em;
}

.lawtheme-city-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9rem;
  color: var(--lawyer-text);
  background: linear-gradient(180deg, #fff, #f7f1ea);
  border: 1px solid rgba(150, 130, 95, 0.2);
  border-radius: 11px;
  padding: 8px 13px;
  opacity: 0;
  transform: translateX(-18px) scale(0.96);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s, box-shadow 0.2s;
}

.lawtheme-city-chip[hidden] {
  display: none !important;
}

.lawtheme-city-chip.is-in {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.lawtheme-city-chip:hover {
  border-color: var(--lawyer-primary);
  box-shadow: 0 8px 18px rgba(45, 38, 52, 0.1);
}

.lawtheme-city-chip-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lawyer-primary), #c0a66e);
}

.lawtheme-areas-empty {
  width: 100%;
  margin: 0;
  color: var(--lawyer-text-muted);
  font-size: 0.92rem;
}

@media (prefers-reduced-motion: reduce) {
  .lawtheme-map-pin-pulse { animation: none; }
  .lawtheme-city-chip { transform: none; transition: opacity 0.2s ease; }
  .lawtheme-city-chip.is-in { transform: none; }
}

@media (max-width: 900px) {
  .lawtheme-areas-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .lawtheme-areas-intro .lawtheme-section-title,
  .lawtheme-section-areas .lawtheme-section-sub {
    text-align: center;
  }
  .lawtheme-areas-intro .lawtheme-section-title {
    margin-left: auto;
    margin-right: auto;
  }
  .lawtheme-section-areas .lawtheme-section-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .lawtheme-service-areas {
    grid-template-columns: 1fr;
  }
  .lawtheme-service-card {
    text-align: left;
  }
}

.lawtheme-service-card {
  background: linear-gradient( var(--lawyer-bg-card, #f6f3eb) 0%, #f0ece4 100%);
  border: 1px solid rgba(178, 181, 224, 0.2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.lawtheme-service-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  border-color: rgba(178, 181, 224, 0.35);
}

.lawtheme-service-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 26px;
  background: linear-gradient(135deg, rgba(197, 173, 197, 0.12) 0%, rgba(180, 160, 120, 0.06) 50%, rgba(178, 181, 224, 0.08) 100%);
  border-bottom: 2px solid rgba(180, 160, 115, 0.25);
}

.lawtheme-service-card-icon .lawtheme-icon {
  width: 32px;
  height: 32px;
  color: var(--lawyer-primary);
  flex-shrink: 0;
}

.lawtheme-service-card-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--lawyer-text);
  margin: 0;
  letter-spacing: 0.03em;
}

.lawtheme-service-list {
  margin: 0;
  padding: 20px 24px 24px;
  list-style: none;
}

.lawtheme-service-list li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: var(--text-small);
  line-height: 1.5;
  color: var(--lawyer-text);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.lawtheme-service-list li:last-child {
  border-bottom: none;
}

.lawtheme-service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--lawyer-primary);
  border-radius: 50%;
  opacity: 0.85;
}

.lawtheme-service-tags {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 16px;
  padding: 20px 24px 24px;
}

.lawtheme-service-tag {
  display: block;
  padding: 12px 16px;
  font-size: var(--text-small);
  font-weight: 500;
  text-align: center;
  color: var(--lawyer-primary-dark, #a890a8);
  background: rgba(197, 173, 197, 0.12);
  border: 1px solid rgba(197, 173, 197, 0.25);
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.lawtheme-service-tag:hover {
  background: rgba(197, 173, 197, 0.2);
  border-color: rgba(180, 160, 115, 0.5);
  color: var(--lawyer-text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* CTA block - плавный вход сверху из секции Areas */
.lawtheme-cta {
  position: relative;
  background: linear-gradient(135deg, #6b6a8e 0%, var(--lawyer-secondary) 50%, #7a7aa0 100%);
  padding: clamp(52px, 5vw, 84px) 0;
  text-align: center;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
  border-top: none;
  overflow: hidden;
}
/* Мягкий вход из секции Areas без тяжёлого блюра */
.lawtheme-cta::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 48px;
  z-index: 0;
  background: linear-gradient(
    rgba(220, 222, 236, 0.55) 0%,
    rgba(107, 106, 142, 0.12) 55%,
    transparent 100%
  );
  pointer-events: none;
}
.lawtheme-cta .lawtheme-container {
  position: relative;
  z-index: 1;
}

.lawtheme-cta-title {
  font-size: var(--heading-size);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25em;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.lawtheme-cta-sub {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 1.5em;
}

.lawtheme-cta-phone {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.lawtheme-cta-phone:hover {
  text-decoration: underline;
}

.lawtheme-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.lawtheme-cta .lawtheme-btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
}

.lawtheme-cta .lawtheme-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.lawtheme-section-cta a {
  color: var(--lawyer-primary-dark, #7a6a8a);
  font-weight: 700;
  text-decoration: none;
}

.lawtheme-section-cta a:hover {
  text-decoration: underline;
}

.lawtheme-hero-cta a {
  color: inherit;
  text-decoration: none;
}

.lawtheme-hero-cta a:hover {
  text-decoration: underline;
}

/* Footer - плавный переход из CTA в тёмный блок */
.lawtheme-footer {
  position: relative;
  background: linear-gradient( #2e2d34 0%, #25242a 100%);
  color: #ccc;
  padding: clamp(48px, 5vw, 80px) 0 clamp(40px, 4vw, 64px);
  border-top: none;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.lawtheme-footer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 40px;
  z-index: 0;
  background: linear-gradient(
    rgba(80, 78, 100, 0.35) 0%,
    transparent 100%
  );
  pointer-events: none;
}
.lawtheme-footer .lawtheme-container {
  position: relative;
  z-index: 1;
}
.lawtheme-footer .lawtheme-footer-bottom {
  position: relative;
  z-index: 1;
}

.lawtheme-footer h4 {
  color: #fff;
  font-size: var(--heading-size);
  margin: 0 0 0.75em;
  letter-spacing: 0.04em;
  font-weight: 700;
  padding-bottom: 0.5em;
  border-bottom: 1px solid rgba(200, 180, 140, 0.25);
  display: inline-block;
}

.lawtheme-footer p {
  color: #b8b8b8;
  font-size: var(--text-small);
  line-height: 1.6;
  margin: 0 0 0.5em;
}

.lawtheme-footer a {
  color: var(--lawyer-secondary);
}

.lawtheme-footer a:hover {
  color: var(--lawyer-primary);
}

.lawtheme-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-bottom: 1.5em;
}

.lawtheme-footer-bottom {
  padding-top: 1.5em;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: var(--text-small);
  color: #999;
}

.lawtheme-footer-legal {
  margin-top: 0.75em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5em 0.75em;
}

.lawtheme-footer-legal a {
  color: #b8b8b8;
  text-decoration: none;
}

.lawtheme-footer-legal a:hover {
  color: var(--lawyer-primary);
}

.lawtheme-footer-legal-sep {
  color: rgba(255, 255, 255, 0.25);
}

/* Inner pages (same header, content area) */
.lawyer-inner-wrap .lawyer-page-title,
.lawyer-inner-wrap .main_title {
  color: var(--lawyer-text);
  font-size: var(--heading-size);
  margin-bottom: 0.4em;
  text-align: center;
}

.lawyer-page-lead {
  text-align: center;
  color: var(--lawyer-text-muted);
  font-size: var(--text-base);
  margin-bottom: 2em;
  line-height: 1.6;
}

.lawyer-inner-wrap .entry-content a {
  color: var(--lawyer-primary);
}

.lawyer-inner-wrap .entry-content a:hover {
  color: var(--lawyer-secondary);
}

/* Lawtheme-style long-form pages generated for menu items */
.lawtheme-menu-page-wrap {
  background: linear-gradient(180deg, #f2ebe0 0%, #f7f3ec 45%, #ffffff 100%);
}

.lawtheme-menu-hero {
  position: relative;
  padding: clamp(12px, 1.6vw, 22px) 0 clamp(16px, 2vw, 28px);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(197, 173, 197, 0.32), transparent 34%),
    radial-gradient(circle at top right, rgba(178, 181, 224, 0.34), transparent 38%),
    linear-gradient(180deg, #efe7d9 0%, #f6efe4 100%);
  border-bottom: 1px solid rgba(150, 130, 95, 0.2);
}

.lawtheme-menu-hero::after {
  display: none;
}

.lawtheme-menu-eyebrow {
  margin: 0 0 0.35em;
  color: var(--lawyer-primary-dark, #6b5a70);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lawtheme-menu-title {
  max-width: 980px;
  margin: 0 auto 0.22em;
  color: var(--lawyer-text);
  font-size: clamp(2.05rem, 4vw, 3.8rem);
  line-height: 1.08;
  font-weight: 700;
}

.lawtheme-menu-lead,
.lawtheme-menu-note {
  max-width: 880px;
  margin: 0.45em auto 0;
  color: var(--lawyer-text-muted);
  font-size: var(--text-base);
  line-height: 1.5;
}

.lawtheme-menu-note {
  max-width: 760px;
  color: #4f4358;
}

.lawtheme-menu-hero .lawtheme-hero-buttons {
  margin-top: 0.85em;
}

.lawtheme-menu-content-section {
  padding: clamp(56px, 7vw, 96px) 0;
}

.lawtheme-menu-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.lawtheme-menu-grid--single {
  display: block;
  max-width: 980px;
}

.lawtheme-menu-grid--single .lawtheme-menu-copy-block {
  margin-bottom: 0;
  padding: clamp(30px, 4vw, 48px);
  text-align: center;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(150, 130, 95, 0.14);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(45, 38, 52, 0.06);
}

.lawtheme-menu-grid--single .lawtheme-menu-copy-block h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.lawtheme-menu-grid--single .lawtheme-menu-copy-block p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.lawtheme-menu-hero--legal {
  padding-bottom: clamp(24px, 3vw, 36px);
}

.lawtheme-menu-hero--legal .lawtheme-menu-title {
  margin-bottom: 0;
}

.lawtheme-legal-page-section {
  padding-top: 0;
}

.lawtheme-legal-prose {
  max-width: 820px;
  margin: 0 auto;
}

.lawtheme-legal-prose p {
  color: var(--lawyer-text);
  font-size: var(--text-base);
  line-height: 1.75;
  margin: 0 0 1.15em;
}

.lawtheme-legal-prose p:last-child {
  margin-bottom: 0;
}

.lawtheme-menu-main {
  min-width: 0;
}

.lawtheme-menu-copy-block {
  margin-bottom: clamp(32px, 4vw, 52px);
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid rgba(150, 130, 95, 0.16);
}

.lawtheme-menu-copy-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.lawtheme-menu-copy-block h2,
.lawtheme-menu-side-card h2,
.lawtheme-menu-faq h3 {
  color: var(--lawyer-text);
  font-weight: 700;
  line-height: 1.22;
}

.lawtheme-menu-copy-block h2 {
  margin: 0 0 0.65em;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.lawtheme-menu-copy-block p,
.lawtheme-menu-side-card p,
.lawtheme-menu-faq p {
  color: var(--lawyer-text-muted);
  font-size: var(--text-base);
  line-height: 1.8;
}

.lawtheme-menu-sidebar {
  position: sticky;
  top: 24px;
}

.lawtheme-menu-side-card {
  margin-bottom: 24px;
  padding: 30px 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(150, 130, 95, 0.18);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(45, 38, 52, 0.08);
}

.lawtheme-menu-side-card h2 {
  margin: 0 0 0.55em;
  font-size: 1.45rem;
}

.lawtheme-menu-side-card .lawtheme-btn {
  width: 100%;
  margin-top: 1.2em;
  text-align: center;
}

.lawtheme-menu-facts ul {
  margin: 1em 0 0;
  padding: 0;
  list-style: none;
}

.lawtheme-menu-facts li {
  position: relative;
  padding: 0.55em 0 0.55em 1.7em;
  color: var(--lawyer-text-muted);
  line-height: 1.55;
  border-top: 1px solid rgba(150, 130, 95, 0.12);
}

.lawtheme-menu-facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lawyer-primary, #C5ADC5);
  box-shadow: 0 0 0 4px rgba(197, 173, 197, 0.18);
}

.lawtheme-menu-faq-section {
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: clamp(56px, 7vw, 88px);
}

.lawtheme-menu-faqs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 2em;
}

.lawtheme-menu-faq {
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(150, 130, 95, 0.16);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(45, 38, 52, 0.06);
}

.lawtheme-statutory-codes-section {
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: clamp(28px, 4vw, 40px);
}

.lawtheme-statutory-codes-head {
  max-width: 820px;
  margin: 0 auto 2.2em;
  text-align: center;
}

.lawtheme-statutory-codes-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.lawtheme-statutory-code-card {
  flex: 0 0 calc(25% - 15px);
  min-width: 260px;
  box-sizing: border-box;
  padding: 20px 22px 22px;
  background: #fff;
  border: 1px solid rgba(150, 130, 95, 0.16);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(45, 38, 52, 0.06);
}

.lawtheme-statutory-code-card-head {
  text-align: center;
  margin-bottom: 0.75em;
}

.lawtheme-statutory-code-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2em;
  margin: 0 0 0.28em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(197, 173, 197, 0.18);
  color: var(--lawyer-text);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.lawtheme-statutory-code-symbol {
  display: block;
  flex: 0 0 auto;
  color: var(--lawyer-primary, #8b6f8b);
  font-family: "Times New Roman", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-0.02em);
}

.lawtheme-statutory-code-number {
  display: block;
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1;
}

.lawtheme-statutory-code-card-head h3 {
  margin: 0;
  color: var(--lawyer-text);
  font-size: 1.05rem;
  line-height: 1.3;
}

.lawtheme-statutory-code-card > p {
  margin: 0;
  color: #5f5a63;
  font-size: var(--text-small);
  line-height: 1.65;
}

.lawtheme-statutory-codes-disclaimer {
  max-width: 720px;
  margin: 3em auto 0;
  padding: 0 12px;
  color: #7a747d;
  font-size: var(--text-small);
  line-height: 1.6;
  text-align: center;
}

.lawtheme-practice-seo-section {
  background:
    radial-gradient(circle at 10% 20%, rgba(197, 173, 197, 0.22), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(178, 181, 224, 0.22), transparent 32%),
    linear-gradient(180deg, #fffaf2 0%, #f7f1e8 100%);
}

.lawtheme-practice-seo-head {
  max-width: 920px;
  margin: 0 auto 2.4em;
  text-align: center;
}

.lawtheme-practice-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: clamp(32px, 4vw, 54px);
}

.lawtheme-practice-card {
  position: relative;
  min-height: 100%;
  padding: 26px 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(150, 130, 95, 0.17);
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(45, 38, 52, 0.07);
}

.lawtheme-practice-card::after {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 92px;
  height: 92px;
  border-radius: 999px;
  background: rgba(197, 173, 197, 0.18);
}

.lawtheme-practice-card span {
  display: inline-flex;
  margin-bottom: 1.1em;
  padding: 0.42em 0.85em;
  color: #5a4863;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(197, 173, 197, 0.2);
  border-radius: 999px;
}

.lawtheme-practice-card h3,
.lawtheme-practice-accordion h3,
.lawtheme-practice-timeline h3,
.lawtheme-practice-related h3 {
  margin: 0 0 0.75em;
  color: var(--lawyer-text);
  font-weight: 700;
  line-height: 1.24;
}

.lawtheme-practice-card h3 {
  font-size: 1.2rem;
}

.lawtheme-practice-card p,
.lawtheme-practice-accordion p,
.lawtheme-practice-timeline li {
  color: var(--lawyer-text-muted);
  font-size: var(--text-base);
  line-height: 1.72;
}

.lawtheme-practice-interactive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: start;
}

.lawtheme-practice-accordion,
.lawtheme-practice-timeline,
.lawtheme-practice-related {
  padding: clamp(24px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(150, 130, 95, 0.16);
  border-radius: 22px;
  box-shadow: 0 20px 48px rgba(45, 38, 52, 0.07);
}

.lawtheme-practice-accordion details {
  padding: 18px 0;
  border-top: 1px solid rgba(150, 130, 95, 0.14);
}

.lawtheme-practice-accordion details:first-of-type {
  border-top: 0;
}

.lawtheme-practice-accordion summary {
  position: relative;
  padding-right: 34px;
  color: var(--lawyer-text);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.lawtheme-practice-accordion summary::-webkit-details-marker {
  display: none;
}

.lawtheme-practice-accordion summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #fff;
  font-weight: 800;
  line-height: 1;
  background: var(--lawyer-primary-dark, #6b5a70);
  border-radius: 999px;
  transform: translateY(-50%);
}

.lawtheme-practice-accordion details[open] summary::after {
  content: '-';
}

.lawtheme-practice-accordion p {
  margin: 0.9em 0 0;
}

.lawtheme-practice-timeline ol {
  margin: 1.2em 0 0;
  padding: 0;
  list-style: none;
  counter-reset: lawtheme-timeline;
}

.lawtheme-practice-timeline li {
  position: relative;
  min-height: 44px;
  padding: 0 0 1.25em 58px;
  counter-increment: lawtheme-timeline;
}

.lawtheme-practice-timeline li::before {
  content: counter(lawtheme-timeline);
  position: absolute;
  left: 0;
  top: 0.1em;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #6b5a70, #c5adc5);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(107, 90, 112, 0.2);
}

.lawtheme-practice-timeline li::after {
  content: '';
  position: absolute;
  left: 18px;
  top: 42px;
  bottom: 0;
  width: 1px;
  background: rgba(150, 130, 95, 0.18);
}

.lawtheme-practice-timeline li:last-child {
  padding-bottom: 0;
}

.lawtheme-practice-timeline li:last-child::after {
  display: none;
}

.lawtheme-practice-related {
  margin-top: clamp(24px, 4vw, 42px);
}

.lawtheme-practice-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lawtheme-practice-related-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.72em 1em;
  color: #5a4863;
  font-weight: 700;
  line-height: 1.2;
  background: rgba(197, 173, 197, 0.16);
  border: 1px solid rgba(150, 130, 95, 0.16);
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.lawtheme-practice-related-links a:hover {
  color: #fff;
  background: var(--lawyer-primary-dark, #6b5a70);
  transform: translateY(-2px);
}

.lawtheme-menu-faq h3 {
  margin: 0 0 0.6em;
  font-size: 1.25rem;
}

.lawtheme-menu-final-cta {
  text-align: center;
  padding-top: clamp(54px, 6vw, 92px);
  padding-bottom: clamp(54px, 6vw, 92px);
}

.lawtheme-menu-final-cta h2 {
  margin: 0 0 0.55em;
  color: #fff;
  font-size: var(--heading-size);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.lawtheme-menu-final-cta p {
  max-width: 600px;
  margin: 0 auto 1.9em;
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--text-base);
  line-height: 1.7;
}

.lawtheme-menu-final-cta .lawtheme-btn {
  margin-top: 0;
}

.lawtheme-contact-page-section {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
  background:
    radial-gradient(circle at 14% 20%, rgba(197, 173, 197, 0.18), transparent 32%),
    linear-gradient(180deg, #fff 0%, #f8f3ea 100%);
}

.lawtheme-contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.lawtheme-contact-page-copy h2,
.lawtheme-contact-page-form-card h2 {
  margin: 0 0 0.65em;
  color: var(--lawyer-text);
  font-weight: 700;
  line-height: 1.18;
}

.lawtheme-contact-page-copy h2 {
  max-width: 820px;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
}

.lawtheme-contact-page-copy p,
.lawtheme-contact-page-form-card p {
  color: var(--lawyer-text-muted);
  font-size: var(--text-base);
  line-height: 1.75;
}

.lawtheme-contact-page-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.6em;
}

.lawtheme-contact-page-details a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 16px;
  color: #4f4358;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(150, 130, 95, 0.18);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(45, 38, 52, 0.06);
}

.lawtheme-contact-page-details a:hover {
  color: var(--lawyer-primary-dark, #6b5a70);
  transform: translateY(-1px);
}

.lawtheme-contact-page-form-card {
  padding: clamp(26px, 4vw, 38px);
  background: linear-gradient(165deg, #fdfcf9 0%, #f8f5ef 100%);
  border: 1px solid rgba(150, 130, 95, 0.2);
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(45, 38, 52, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}

.lawtheme-contact-page-form-card h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
}

.lawtheme-contact-page-form {
  margin-top: 1.2em;
}

.lawtheme-real-testimonials-section {
  position: relative;
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
  background:
    radial-gradient(circle at 12% 18%, rgba(197, 173, 197, 0.2), transparent 32%),
    radial-gradient(circle at 88% 10%, rgba(180, 150, 88, 0.12), transparent 28%),
    linear-gradient(180deg, #f7f1e8 0%, #fbf8f2 100%);
  overflow: hidden;
}

.lawtheme-real-testimonials-section::before {
  content: '';
  position: absolute;
  inset: 18px;
  pointer-events: none;
  border: 1px solid rgba(150, 130, 95, 0.12);
  border-radius: 28px;
}

.lawtheme-real-testimonials {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
  position: relative;
  z-index: 1;
  margin-top: 2.4em;
}

.lawtheme-real-testimonial {
  position: relative;
  grid-column: span 3;
  margin: 0;
  padding: clamp(28px, 3vw, 38px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(251, 248, 242, 0.98) 100%);
  border: 1px solid rgba(150, 130, 95, 0.2);
  border-radius: 24px;
  box-shadow:
    0 22px 60px rgba(45, 38, 52, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lawtheme-real-testimonial-featured {
  grid-column: span 6;
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: center;
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(76, 65, 82, 0.96) 0%, rgba(102, 86, 108, 0.94) 48%, rgba(143, 119, 100, 0.9) 100%);
  border-color: rgba(218, 194, 145, 0.42);
  box-shadow:
    0 28px 80px rgba(45, 38, 52, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.lawtheme-real-testimonial:hover {
  transform: translateY(-4px);
  border-color: rgba(180, 150, 88, 0.35);
  box-shadow:
    0 28px 78px rgba(45, 38, 52, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.lawtheme-real-testimonial::before {
  content: '"';
  position: absolute;
  top: -4px;
  right: 22px;
  color: rgba(197, 173, 197, 0.2);
  font-family: Georgia, serif;
  font-size: 104px;
  line-height: 1;
}

.lawtheme-real-testimonial-featured::before {
  color: rgba(255, 255, 255, 0.12);
  font-size: 150px;
}

.lawtheme-real-testimonial::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(197, 173, 197, 0.55), rgba(180, 150, 88, 0.65), rgba(178, 181, 224, 0.45));
}

.lawtheme-real-testimonial-top {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
  margin-bottom: 1.25em;
}

.lawtheme-real-testimonial-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  color: #fff;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  background: linear-gradient(145deg, #9a859e 0%, #c0a66e 100%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(80, 65, 88, 0.22);
}

.lawtheme-real-testimonial-featured .lawtheme-real-testimonial-avatar {
  width: 74px;
  height: 74px;
  flex-basis: 74px;
  font-size: 1.65rem;
}

.lawtheme-real-testimonial-stars {
  margin: 0;
  color: rgba(180, 150, 88, 0.95);
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.lawtheme-real-testimonial-featured .lawtheme-real-testimonial-stars {
  color: rgba(238, 210, 148, 0.98);
}

.lawtheme-real-testimonial-pill {
  display: inline-block;
  margin: 0.45em 0 0;
  padding: 5px 10px;
  color: #6b5a70;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(197, 173, 197, 0.16);
  border: 1px solid rgba(197, 173, 197, 0.22);
  border-radius: 999px;
}

.lawtheme-real-testimonial-featured .lawtheme-real-testimonial-pill {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.lawtheme-real-testimonial-quote {
  position: relative;
  z-index: 1;
  margin: 0 0 1.45em;
  color: var(--lawyer-text-muted);
  font-size: clamp(1.03rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}

.lawtheme-real-testimonial-featured .lawtheme-real-testimonial-quote {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.28rem, 2.2vw, 1.85rem);
  line-height: 1.55;
  margin-bottom: 0;
}

.lawtheme-real-testimonial cite {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--lawyer-text);
  font-style: normal;
  font-weight: 700;
}

.lawtheme-real-testimonial cite small {
  color: var(--lawyer-text-muted);
  font-size: var(--text-small);
  font-weight: 600;
}

.lawtheme-real-testimonial-featured cite,
.lawtheme-real-testimonial-featured cite small {
  color: rgba(255, 255, 255, 0.88);
}

/* Attorney Profiles: 1 lead + 3 associates (luxury) */
.lawtheme-attorneys-section {
  position: relative;
  padding-top: clamp(64px, 8vw, 116px);
  padding-bottom: clamp(64px, 8vw, 116px);
  background:
    radial-gradient(circle at 15% 12%, rgba(197, 173, 197, 0.18), transparent 34%),
    radial-gradient(circle at 85% 8%, rgba(180, 150, 88, 0.12), transparent 30%),
    linear-gradient(180deg, #f7f1e8 0%, #fbf8f2 100%);
  overflow: hidden;
}

.lawtheme-attorneys-head {
  max-width: 720px;
  margin: 0 auto clamp(42px, 5vw, 68px);
  text-align: center;
}

.lawtheme-attorneys-head .lawtheme-section-title {
  margin-top: 0.3em;
}

.lawtheme-attorneys-head .lawtheme-section-sub {
  position: relative;
  margin-top: 1.1em;
  padding-top: 1.5em;
}

.lawtheme-attorneys-head .lawtheme-section-sub::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(180, 150, 88, 0.7), transparent);
}

/* ---- Lead attorney (featured) ---- */
.lawtheme-attorney-lead {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
  margin-bottom: clamp(36px, 4.5vw, 60px);
  padding: clamp(22px, 2.6vw, 38px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.99) 0%, rgba(250, 246, 239, 0.99) 100%);
  border: 1px solid rgba(150, 130, 95, 0.22);
  border-radius: 30px;
  box-shadow:
    0 34px 90px rgba(45, 38, 52, 0.14),
    0 2px 0 rgba(255, 255, 255, 0.7) inset;
}

.lawtheme-attorney-lead::after {
  content: '';
  position: absolute;
  left: clamp(22px, 2.6vw, 38px);
  right: clamp(22px, 2.6vw, 38px);
  top: 0;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, rgba(197, 173, 197, 0.7), rgba(180, 150, 88, 0.85), rgba(178, 181, 224, 0.6));
}

.lawtheme-attorney-lead-media {
  position: relative;
  min-height: 360px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(45, 38, 52, 0.18);
}

.lawtheme-attorney-lead-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(40, 32, 46, 0.32) 100%);
  pointer-events: none;
}

.lawtheme-attorney-lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.lawtheme-attorney-lead:hover .lawtheme-attorney-lead-media img {
  transform: scale(1.03);
}

.lawtheme-attorney-badge {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 18px;
  padding: 0.5em 1.05em;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #9a859e 0%, #c0a66e 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(80, 65, 88, 0.32);
}

.lawtheme-attorney-lead-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(8px, 1.4vw, 20px) clamp(4px, 1vw, 14px);
  text-align: left;
}

.lawtheme-attorney-lead-body > * {
  text-align: left;
}

.lawtheme-attorney-tagline {
  margin: 0 0 0.7em;
  color: #8a6f3e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lawtheme-attorney-name {
  margin: 0;
  color: var(--lawyer-text);
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.lawtheme-attorney-role {
  position: relative;
  display: inline-block;
  margin: 0.5em 0 1.15em;
  padding-bottom: 0.7em;
  color: var(--lawyer-primary-dark, #8b7790);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.lawtheme-attorney-role::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, rgba(180, 150, 88, 0.85), transparent);
}

.lawtheme-attorney-bio {
  margin: 0 0 0.95em;
  color: var(--lawyer-text-muted);
  font-size: var(--text-base);
  line-height: 1.78;
}

.lawtheme-attorney-highlights {
  margin: 0.6em 0 1.7em;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7em;
}

.lawtheme-attorney-highlights li {
  position: relative;
  padding-left: 1.85em;
  color: var(--lawyer-text);
  font-size: var(--text-base);
  line-height: 1.55;
}

.lawtheme-attorney-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.34em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 2px, transparent 3px),
    linear-gradient(135deg, var(--lawyer-primary), #c0a66e);
  box-shadow: 0 3px 8px rgba(150, 120, 80, 0.3);
}

.lawtheme-attorney-lead-body .lawtheme-btn {
  align-self: flex-start;
}

/* ---- Associate cards ---- */
.lawtheme-attorney-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  max-width: 61.8%;
  margin-left: auto;
  margin-right: auto;
}

.lawtheme-attorney-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff 0%, #fbf7f0 100%);
  border: 1px solid rgba(150, 130, 95, 0.18);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 12px 31px rgba(45, 38, 52, 0.09);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.lawtheme-attorney-card::before {
  content: '';
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(197, 173, 197, 0.6), rgba(180, 150, 88, 0.8), rgba(178, 181, 224, 0.5));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lawtheme-attorney-card:hover {
  transform: translateY(-3px);
  border-color: rgba(180, 150, 88, 0.38);
  box-shadow: 0 16px 36px rgba(45, 38, 52, 0.14);
}

.lawtheme-attorney-card:hover::before {
  opacity: 1;
}

.lawtheme-attorney-card-media {
  position: relative;
  aspect-ratio: 3.25 / 5;
  overflow: hidden;
}

.lawtheme-attorney-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(40, 32, 46, 0.28) 100%);
  pointer-events: none;
}

.lawtheme-attorney-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.lawtheme-attorney-card:hover .lawtheme-attorney-card-media img {
  transform: scale(1.06);
}

.lawtheme-attorney-card-body {
  padding: clamp(13px, 1.23vw, 18px) clamp(13px, 1.23vw, 16px) clamp(16px, 1.5vw, 19px);
  text-align: left;
}

.lawtheme-attorney-card-body > * {
  text-align: left;
}

.lawtheme-attorney-card-body .lawtheme-attorney-name {
  font-size: 0.93rem;
}

.lawtheme-attorney-card-body .lawtheme-attorney-role {
  margin-bottom: 0.75em;
  font-size: 0.71rem;
  padding-bottom: 0.61em;
}

.lawtheme-attorney-card-body .lawtheme-attorney-role::after {
  width: 39px;
  height: 1.5px;
}

.lawtheme-attorney-card-body .lawtheme-attorney-bio {
  margin-bottom: 0;
  font-size: 0.74rem;
  line-height: 1.65;
}

@media (max-width: 1023px) {
  .lawtheme-attorney-lead {
    grid-template-columns: 1fr;
  }

  .lawtheme-attorney-lead-media {
    min-height: 320px;
  }

  .lawtheme-attorney-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 75%;
  }
}

@media (max-width: 640px) {
  .lawtheme-attorney-grid {
    grid-template-columns: 1fr;
    max-width: min(100%, 282px);
  }

  .lawtheme-attorney-lead {
    border-radius: 22px;
  }

  .lawtheme-attorney-card-media {
    aspect-ratio: 3.25 / 5;
  }
}

.lawtheme-judges-section {
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: clamp(56px, 7vw, 88px);
}

.lawtheme-court-groups {
  display: grid;
  gap: 28px;
  margin-top: 2.2em;
}

.lawtheme-court-group,
.lawtheme-judges-table-wrap {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(150, 130, 95, 0.16);
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(45, 38, 52, 0.07);
  overflow: hidden;
}

.lawtheme-court-group {
  padding: 26px;
}

.lawtheme-court-group-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.lawtheme-court-group-header h3 {
  margin: 0;
  color: var(--lawyer-text);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.lawtheme-court-group-header a,
.lawtheme-judges-source a,
.lawtheme-judge-card a,
.lawtheme-judges-table a {
  color: var(--lawyer-primary-dark, #6b5a70);
  font-weight: 700;
  text-decoration: none;
}

.lawtheme-court-group-header a:hover,
.lawtheme-judges-source a:hover,
.lawtheme-judge-card a:hover,
.lawtheme-judges-table a:hover {
  text-decoration: underline;
}

.lawtheme-judges-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.lawtheme-judge-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 122px;
  padding: 16px;
  background: linear-gradient(180deg, #fff 0%, #faf7f1 100%);
  border: 1px solid rgba(150, 130, 95, 0.14);
  border-radius: 14px;
}

.lawtheme-judge-card strong {
  color: var(--lawyer-text);
  font-size: 1rem;
  line-height: 1.35;
}

.lawtheme-judge-card span {
  color: var(--lawyer-text-muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.lawtheme-judges-table-wrap {
  margin-top: 2.2em;
  overflow-x: auto;
}

.lawtheme-judges-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.lawtheme-judges-table th,
.lawtheme-judges-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(150, 130, 95, 0.14);
}

.lawtheme-judges-table th {
  color: #4f4358;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #f2ebe0;
}

.lawtheme-judges-table td {
  color: var(--lawyer-text-muted);
  line-height: 1.45;
}

.lawtheme-judges-table td strong,
.lawtheme-judges-table td span {
  display: block;
}

.lawtheme-judges-table td strong {
  color: var(--lawyer-text);
}

.lawtheme-judges-table td span {
  margin-top: 4px;
  font-size: 0.9rem;
}

.lawtheme-judges-table tbody tr:last-child td {
  border-bottom: 0;
}

.lawtheme-judges-source {
  margin: 18px 0 0;
  color: var(--lawyer-text-muted);
  font-size: var(--text-small);
}

@media (max-width: 980px) {
  .lawtheme-menu-grid {
    grid-template-columns: 1fr;
  }

  .lawtheme-practice-card-grid,
  .lawtheme-practice-interactive-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lawtheme-menu-sidebar {
    position: static;
  }

  .lawtheme-contact-page-grid {
    grid-template-columns: 1fr;
  }

  .lawtheme-real-testimonials {
    grid-template-columns: 1fr;
  }

  .lawtheme-real-testimonial,
  .lawtheme-real-testimonial-featured {
    grid-column: 1;
  }

  .lawtheme-real-testimonial-featured {
    display: block;
    min-height: 0;
  }

  .lawtheme-statutory-code-card {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 767px) {
  .lawtheme-practice-card-grid,
  .lawtheme-practice-interactive-grid {
    grid-template-columns: 1fr;
  }

  .lawtheme-statutory-code-card {
    flex: 0 0 100%;
    max-width: 420px;
  }

  .lawtheme-practice-card,
  .lawtheme-practice-accordion,
  .lawtheme-practice-timeline,
  .lawtheme-practice-related {
    border-radius: 18px;
  }

  .lawtheme-court-group-header {
    display: block;
  }

  .lawtheme-court-group-header a {
    display: inline-block;
    margin-top: 10px;
  }

  .lawtheme-real-testimonial {
    padding: 26px 22px;
    border-radius: 18px;
  }

  .lawtheme-real-testimonial-top {
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .lawtheme-hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .lawtheme-btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}
