
/* Base Modal Overlay & Card System */
.modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(3, 7, 18, 0.88) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 999999 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal-overlay.open {
  display: flex !important;
}

.modal-card {
  position: relative !important;
  background: #0b172e !important;
  border: 1px solid rgba(147, 197, 253, 0.3) !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(59, 130, 246, 0.2) !important;
  width: 100% !important;
  max-width: 580px !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  box-sizing: border-box;
  margin: auto !important;
  padding: 1.75rem !important;
}

.modal-close-btn {
  position: absolute !important;
  top: 1rem !important;
  right: 1rem !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #cbd5e1 !important;
  font-size: 1.125rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  z-index: 10 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.8) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

/* ==========================================================================
   Адвокатське бюро «Кравець та Партнери»
   High-Conversion Lead Engine Design System (Sapphire, Steel & Dual Messengers)
   ========================================================================== */

:root {
  --bg-deep: #040812;
  --bg-main: #071022;
  --bg-surface: #0c1832;
  --bg-surface-hover: #102142;
  --bg-card: rgba(12, 24, 50, 0.92);

  --border-subtle: rgba(148, 163, 184, 0.15);
  --border-card: rgba(148, 163, 184, 0.22);
  --border-card-hover: rgba(96, 165, 250, 0.6);

  --blue-tech: #1d4ed8;
  --blue-bright: #2563eb;
  --blue-light: #60a5fa;
  --blue-ice: #bfdbfe;

  --silver-white: #ffffff;
  --silver-light: #f8fafc;
  --silver-steel: #cbd5e1;
  --silver-muted: #94a3b8;
  --silver-dim: #64748b;

  --red-alert: #ef4444;
  --red-hover: #dc2626;

  --color-tg: #0284c7;
  --color-tg-hover: #0369a1;
  --color-wa: #16a34a;
  --color-wa-hover: #15803d;
  --color-vb: #7360f2;
  --color-mono: #f43f5e;

  --color-blue-gradient: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #60a5fa 100%);
  --color-blue-glow: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(10, 14, 23, 0) 70%);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.05);
  --shadow-blue-glow: 0 4px 20px rgba(37, 99, 235, 0.35);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.22s cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1140px;
  --sticky-bar-height: 84px;
}

/* Оптичне вирівнювання висоти карток та кнопок (Optical Alignment) */
.pricing-tier-card, .service-card, .practice-card, .pricing-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.pricing-tier-features, .service-card-desc, .service-desc, .pricing-features-list {
  flex-grow: 1 !important;
}

.pricing-tier-card .btn, .service-card .btn, .service-card .split-card-actions, .pricing-card .btn {
  margin-top: auto !important;
}

/* Мікро-взаємодії та тактильний зворотний зв'язок (Micro-interactions) */
.quiz-opt-btn:active, .quiz-option-btn:active, .btn:active, .sticky-btn-dominant-tg:active, .sticky-icon-btn:active, .floating-call-fab:active {
  transform: scale(0.98) !important;
  transition: transform 0.08s ease !important;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--silver-light);
  background-color: var(--bg-deep);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

[id] {
  scroll-margin-top: 75px;
}


body {
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(30, 58, 138, 0.25) 0%, transparent 55%),
    radial-gradient(circle at 100% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 45%);
  background-attachment: fixed;
  overflow-x: hidden;
  padding-bottom: calc(var(--sticky-bar-height) + env(safe-area-inset-bottom, 12px) + 24px) !important;
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0 !important;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

input, select, textarea,
input[type="text"], input[type="tel"], input[type="email"],
.js-consultation-form input, .js-consultation-form select {
  font-size: 16px !important; /* Prevents iOS Safari auto-zoom on mobile focus */
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.15rem;
  padding-right: 1.15rem;
}

/* ==========================================================================
   Top Alert Bar
   ========================================================================== */
.top-alert-bar {
  background: #02050d;
  color: var(--silver-muted);
  font-size: 0.8125rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.top-alert-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-alert-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--silver-steel);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  flex-shrink: 0;
}

.top-alert-hotline {
  color: #ffffff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.55rem 0;
}

.site-header .container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 1rem !important;
  width: 100% !important;
  max-width: 1280px !important;
  flex-wrap: wrap !important;
}

.header-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
}

.brand-emblem-img {
  width: 42px !important;
  height: 42px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
  flex-shrink: 0 !important;
}

.brand-info {
  display: flex !important;
  flex-direction: column !important;
  min-width: max-content !important;
  flex-shrink: 0 !important;
}

.brand-title {
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.01em !important;
  line-height: 1.18 !important;
  display: block !important;
}

.brand-subtitle {
  font-size: 0.72rem !important;
  color: var(--silver-muted) !important;
  white-space: nowrap !important;
  display: block !important;
}

.brand-phone-inline {
  display: none !important;
}

.header-nav {
  display: flex !important;
  overflow-x: auto !important;
  gap: 1rem !important;
  align-items: center !important;
  width: 100% !important;
  margin-top: 0.8rem !important;
  padding-bottom: 0.5rem !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.header-nav::-webkit-scrollbar {
  display: none;
}

@media (min-width: 992px) {
  .header-nav {
    display: flex !important;
    overflow-x: visible !important;
    gap: 1rem !important;
    align-items: center !important;
    width: auto !important;
    margin-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

@media (min-width: 1200px) {
  .header-nav {
    gap: 1.1rem !important;
  }
}

.nav-link {
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  color: var(--silver-muted) !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transition: color var(--transition-fast) !important;
}

.nav-link:hover {
  color: var(--blue-light) !important;
}

@media (min-width: 1200px) {
  .nav-link {
    font-size: 0.875rem !important;
  }
}

.header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  flex-shrink: 0 !important;
}

.header-phone-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  background: rgba(37, 99, 235, 0.18) !important;
  border: 1px solid rgba(96, 165, 250, 0.4) !important;
  color: #ffffff !important;
  padding: 0.35rem 0.85rem !important;
  border-radius: var(--radius-md) !important;
  min-width: fit-content !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
  transition: all var(--transition-fast) !important;
}

.header-phone-btn:hover {
  background: rgba(37, 99, 235, 0.35) !important;
  border-color: #60a5fa !important;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4) !important;
  color: #ffffff !important;
}

.phone-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: neon-pulse-green 2s infinite ease-in-out;
  flex-shrink: 0;
  display: inline-block;
}

.header-phone-inner {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.header-phone-sub {
  font-size: 9.5px;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.header-phone-val {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
}


/* ==========================================================================
   Buttons (Telegram, WhatsApp, Call 24/7, Outline)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-align: center;
  line-height: 1.3;
}

.btn-primary {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: var(--shadow-blue-glow);
  border: 1px solid rgba(147, 197, 253, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  transform: translateY(-2px);
}

.btn-tg {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: 1px solid rgba(125, 211, 252, 0.4);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
}

.btn-tg:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  transform: translateY(-2px);
}

.btn-wa {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  border: 1px solid rgba(134, 239, 172, 0.4);
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.35);
}

.btn-wa:hover {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  transform: translateY(-2px);
}

.btn-call {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  border: 1px solid rgba(254, 202, 202, 0.35);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
}

.btn-call:hover {
  background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
  transform: translateY(-2px);
}

.btn-secondary-phone {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  box-shadow: none;
}

.btn-secondary-phone:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-secondary-vb {
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #d8b4fe;
  box-shadow: none;
}

.btn-secondary-vb:hover {
  background: rgba(124, 58, 237, 0.25);
  border-color: rgba(168, 85, 247, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(12, 24, 50, 0.7);
  border: 1px solid var(--border-card);
  color: var(--silver-light);
}


.btn-outline:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: var(--blue-bright);
  color: #ffffff;
}

.btn-copy-address {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-card);
  color: var(--blue-light);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0.35rem;
}

.btn-copy-address:hover {
  background: rgba(37, 99, 235, 0.2);
  color: #ffffff;
}

.btn-lg {
  padding: 0.95rem 1.4rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   SOS Emergency Banner (For Criminal / Raids / Arrests)
   ========================================================================== */
.sos-banner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.18) 0%, rgba(185, 28, 28, 0.25) 100%);
  border: 1px solid rgba(239, 68, 68, 0.45);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .sos-banner {
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }
}

.sos-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sos-badge {
  background: var(--red-alert);
  color: #ffffff;
  font-weight: 900;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.sos-text {
  font-size: 0.9375rem;
  color: #ffffff;
  line-height: 1.4;
}

.sos-text strong {
  color: #fca5a5;
}

/* ==========================================================================
   1900 UAH High-Conversion Value Offer Strip
   ========================================================================== */
.offer-price-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(12, 24, 50, 0.95) 100%);
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-card);
}

.offer-price-header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.offer-price-current {
  font-size: 1.65rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.offer-price-old {
  font-size: 1.05rem;
  color: var(--silver-dim);
  text-decoration: line-through;
}

.offer-price-badge {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.offer-price-desc {
  font-size: 0.875rem;
  color: var(--silver-steel);
  line-height: 1.5;
}

/* ==========================================================================
   Dual Messenger CTA Block (Telegram + WhatsApp)
   ========================================================================== */
.dual-messenger-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 1.15rem 0;
}

@media (min-width: 540px) {
  .dual-messenger-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 1.15rem 0;
}
}

.security-trust-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: var(--silver-muted);
  line-height: 1.45;
  margin-bottom: 1.5rem;
}

.security-trust-note svg {
  width: 15px;
  height: 15px;
  color: #22c55e;
  flex-shrink: 0;
}

/* ==========================================================================
   Interactive Split Selector (Military / TCK / SZCH / VLK)
   ========================================================================== */
.split-selector-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .split-selector-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.split-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

.split-card:hover {
  border-color: var(--blue-bright);
  transform: translateY(-2px);
}

.split-card-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: var(--blue-light);
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  margin-bottom: 0.65rem;
}

.split-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.split-card-desc {
  font-size: 0.8125rem;
  color: var(--silver-steel);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}


.split-card-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.5rem !important;
  margin-top: 0.85rem !important;
}

.split-card-actions .btn {
  width: 100% !important;
  min-width: 0 !important;
  justify-content: center !important;
  font-size: 0.8125rem !important;
  padding: 0.65rem 0.4rem !important;
  border-radius: var(--radius-md) !important;
}


/* ==========================================================================
   ЕТАЛОННИЙ HERO GRID & PORTRAIT
   ========================================================================== */
.hero-section {
  padding: 2.5rem 0 2rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
  padding: 40px 0 20px 0;
}

.hero-content {
  min-width: 0;
}

.hero-title {
  font-size: 2.2rem;
  line-height: 1.22;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
}

.hero-subtitle strong {
  color: #ffffff;
}

/* Bureau Status & Verification Badge */
.hero-bureau-badge {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(67, 177, 231, 0.3);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 16px 0;
  backdrop-filter: blur(8px);
}

.badge-firm-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.badge-lawyer-title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 8px;
}

.badge-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.badge-erau-link,
.badge-cert-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #60a5fa;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.35);
  padding: 4px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.badge-erau-link:hover,
.badge-cert-link:hover {
  background: rgba(37, 99, 235, 0.3);
  border-color: #60a5fa;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Hero Portrait Image - Desktop & Mobile standard */
.hero-photo-wrapper,
.hero-photo-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo-wrapper img,
.hero-photo-col img,
.hero-portrait-img {
  width: 100%;
  max-width: 340px;
  height: 420px;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  border: 1.5px solid rgba(67, 177, 231, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: block;
  margin: 0 auto;
}

/* High-Conversion Primary Buttons */
.hero-primary-conversions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 1.25rem 0 0.65rem 0;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 1.5rem 0 1rem;
  }

  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 14px !important;
    padding: 20px 0 !important;
  }

  .hero-content {
    display: contents;
  }

  .hero-title {
    order: 1;
    font-size: 1.55rem;
    line-height: 1.25;
    margin-bottom: 0.5rem;
  }

  .hero-subtitle {
    order: 2;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
  }

  .hero-photo-wrapper,
  .hero-photo-col {
    order: 3;
    width: 100%;
    margin: 6px auto;
  }

  .hero-photo-wrapper img,
  .hero-photo-col img,
  .hero-portrait-img {
    max-width: 220px !important;
    height: 260px !important;
    margin: 0 auto !important;
    border-radius: 14px;
  }

  .hero-bureau-badge {
    order: 4;
    text-align: center;
    margin: 8px 0 12px 0;
    padding: 10px 12px;
  }

  .badge-links-row {
    justify-content: center;
  }

  .hero-primary-conversions {
    order: 5;
    grid-template-columns: 1fr;
    margin: 0.5rem 0 0.5rem 0;
  }

  .hero-secondary-options {
    order: 6;
  }
}

/* ==========================================================================
   Real Cases / Results Section
   ========================================================================== */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
}

.case-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  margin-bottom: 0.75rem;
}

.case-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.case-desc {
  font-size: 0.875rem;
  color: var(--silver-steel);
  line-height: 1.55;
}

/* ==========================================================================
   Practice Services Section
   ========================================================================== */
.section {
  padding: 3.25rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 4rem 0;
  }
}

.section-dark {
  background: var(--bg-main);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-light);
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.15rem;
  }
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--silver-muted);
  line-height: 1.55;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

.service-card:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-card-hover);
  transform: translateY(-3px);
}

.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
}

.service-card-article {
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: var(--blue-light);
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.service-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.service-card-desc {
  font-size: 0.875rem;
  color: var(--silver-steel);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-card-points {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-left: 2px solid rgba(96, 165, 250, 0.4);
  padding-left: 0.65rem;
}

.service-card-point {
  font-size: 0.8125rem;
  color: var(--silver-light);
  line-height: 1.4;
}

/* ==========================================================================
   Google Reviews (Trustindex 5.0 Rating Badge)
   ========================================================================== */
.reviews-badge-container {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-card);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.review-author-meta strong {
  display: block;
  font-size: 0.875rem;
  color: #ffffff;
  line-height: 1.2;
}

.review-author-meta small {
  font-size: 0.6875rem;
  color: var(--silver-muted);
}

.review-card-stars {
  color: var(--blue-light);
  font-size: 0.8125rem;
  letter-spacing: 1px;
}

.review-card-text {
  font-size: 0.875rem;
  color: var(--silver-steel);
  font-style: italic;
  line-height: 1.5;
}

/* ==========================================================================
   Financial & Monobank Section
   ========================================================================== */
.finance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .finance-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.finance-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.65rem 1.35rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
}

.finance-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-mono);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.finance-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.finance-card-desc {
  font-size: 0.875rem;
  color: var(--silver-steel);
  line-height: 1.55;
}

/* ==========================================================================
   Contacts Section & Social Pro Profiles
   ========================================================================== */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .contacts-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.contacts-info-card, .contact-action-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-card);
}

.contacts-info-card h3, .contact-action-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.contact-detail-row {
  margin: 1rem 0;
}

.contact-detail-row strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--silver-muted);
  margin-bottom: 0.2rem;
}

.contact-detail-row p {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.messengers-matrix {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.messengers-matrix h4 {
  font-size: 0.875rem;
  color: var(--silver-light);
  margin-bottom: 0.75rem;
}

.messenger-buttons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.btn-msg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.85rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.btn-msg:hover { transform: translateY(-2px); }

.btn-msg svg {
  width: 22px;
  height: 22px;
}

.msg-tg { background: linear-gradient(135deg, #0284c7, #0369a1); color: #ffffff; border: none; }
.msg-wa { background: linear-gradient(135deg, #16a34a, #15803d); color: #ffffff; border: none; }
.msg-vb { background: linear-gradient(135deg, #7c3aed, #5b21b6); color: #ffffff; border: none; }

/* Social Icons in Footer */
.footer-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--silver-muted);
  transition: all 0.2s;
}

.social-icon-btn:hover {
  background: var(--blue-bright);
  color: #ffffff;
  border-color: #60a5fa;
  transform: translateY(-2px);
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #02050d;
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.8125rem;
  color: var(--silver-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer-col h5 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--silver-light);
  margin-bottom: 0.75rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.75rem;
  color: var(--silver-dim);
}

/* ==========================================================================
   High-Conversion Mobile Sticky Bar (Telegram, WhatsApp, Call 24/7)
   ========================================================================== */
/* ==========================================================================
   High-Conversion Mobile Sticky Bar (2 Large Buttons + Floating Call FAB)
   ========================================================================== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(4, 8, 18, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-card);
  padding: 6px 12px max(10px, env(safe-area-inset-bottom, 10px)) !important;
  z-index: 1000;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-sticky-bar.sticky-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none !important;
  }
}

.mobile-sticky-dominant-layout {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.5rem !important;
  max-width: 440px !important;
  margin: 0 auto !important;
}

/* Telegram: Official Telegram Blue */
.sticky-btn-dominant-tg {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  background: linear-gradient(135deg, #0088cc, #29b6f6) !important;
  box-shadow: 0 4px 14px rgba(0, 136, 204, 0.4) !important;
  color: #ffffff !important;
  padding: 0.45rem 0.5rem !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  min-height: 44px !important;
  max-height: 48px !important;
  font-weight: 700 !important;
  transition: transform 0.15s ease !important;
  overflow: hidden !important;
}

.sticky-btn-dominant-tg:active {
  transform: scale(0.97);
}

/* WhatsApp: Official WhatsApp Green */
.sticky-btn-wa-compact {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
  color: #ffffff !important;
  padding: 0.45rem 0.5rem !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  min-height: 44px !important;
  max-height: 48px !important;
  font-weight: 700 !important;
  transition: transform 0.15s ease !important;
  overflow: hidden !important;
}

.sticky-btn-wa-compact:active {
  transform: scale(0.97);
}

.sticky-btn-wa-compact svg,
.sticky-btn-dominant-tg svg {
  flex-shrink: 0;
}

.btn-monopay {
  background: linear-gradient(135deg, #18181b, #09090b);
  border: 1px solid rgba(244, 63, 94, 0.6) !important;
  color: #ffffff !important;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(244, 63, 94, 0.25);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  margin-top: 0.5rem;
}

.btn-monopay:hover {
  border-color: #f43f5e !important;
  box-shadow: 0 6px 22px rgba(244, 63, 94, 0.45);
  transform: translateY(-2px);
}

.mobile-sticky-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  max-width: 500px;
  margin: 0 auto;
}

.sticky-btn-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 800;
  color: #ffffff;
  min-height: 48px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease;
}

.sticky-btn-large:active {
  transform: scale(0.97);
}

.sticky-btn-large svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.sticky-btn-tg-lg {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.sticky-btn-wa-lg {
  background: linear-gradient(135deg, #16a34a, #15803d);
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
}


/* ==========================================================================
   Mobile Reviews Horizontal Swipeable Carousel (No Vertical Scroll Fatigue)
   ========================================================================== */
@media (max-width: 767px) {
  .reviews-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.85rem;
    padding: 0.5rem 0.25rem 1rem;
    margin: 0 -0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--blue-primary) rgba(255, 255, 255, 0.05);
  }

  .reviews-grid::-webkit-scrollbar {
    height: 4px;
  }

  .reviews-grid::-webkit-scrollbar-thumb {
    background: var(--blue-primary);
    border-radius: 4px;
  }

  .review-card {
    flex: 0 0 86%;
    scroll-snap-align: start;
    margin-bottom: 0;
  }
}


/* ==========================================================================
   Interactive 3-Tap Mobile Quiz / Problem Checker
   ========================================================================== */
.interactive-quiz-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.7));
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin-top: 1.5rem;
}

.quiz-header {
  text-align: center;
  margin-bottom: 1rem;
}

.quiz-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.quiz-header p {
  font-size: 0.8125rem;
  color: #cbd5e1;
}

.quiz-progress-wrap {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  width: 33%;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  transition: width 0.3s ease;
}

.quiz-step-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.quiz-opt-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.quiz-opt-btn:hover,
.quiz-opt-btn:active {
  background: rgba(37, 99, 235, 0.2);
  border-color: var(--blue-light);
  color: #ffffff;
}

.quiz-opt-btn.selected {
  background: rgba(37, 99, 235, 0.35) !important;
  border-color: #3b82f6 !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.45) !important;
  transform: scale(0.985);
}

.quiz-result-view {
  display: none;
  text-align: center;
  padding: 0.5rem 0;
}

.quiz-result-view.active {
  display: block;
}

.quiz-result-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   FAQ Accordion Details / Summary
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(96, 165, 250, 0.4);
  background: rgba(15, 23, 42, 0.85);
}

.faq-summary {
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--blue-light);
  font-weight: 800;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-summary::after {
  content: '−';
}

.faq-content {
  padding: 0 1.25rem 1rem;
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.55;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 0.25rem;
  padding-top: 0.75rem;
}

/* ==========================================================================
   Mobile Tight Padding & Typography Polish
   ========================================================================== */
@media (max-width: 767px) {
  /* 1. Top Alert Bar: Hidden on mobile (info duplicated in sticky bar & footer) */
  .top-alert-bar {
    display: none !important;
  }

  /* 2. Header Brand: Full Width, Clean Alignment, No squishing */
  .site-header {
    padding: 0.45rem 0 !important;
  }
  .site-header .container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0.4rem !important;
  }
  .header-brand {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
    gap: 0.45rem !important;
  }
  .brand-emblem-img {
    width: 36px !important;
    height: 36px !important;
    object-fit: cover !important;
    border-radius: 7px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    flex-shrink: 0 !important;
  }
  .brand-info {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }
  .brand-title {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: -0.01em !important;
    line-height: 1.18 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
  }
  .brand-subtitle {
    display: none !important;
  }
  .brand-phone-inline {
    display: none !important;
  }
  .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    flex-shrink: 0 !important;
  }
  .header-articles-btn {
    display: inline-flex !important;
    align-items: center !important;
    padding: 5px 7px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
  }
  .header-phone-btn {
    padding: 4px 7px !important;
    gap: 5px !important;
  }
  .header-phone-sub {
    display: none !important;
  }
  .header-phone-val {
    font-size: 11px !important;
    font-weight: 800 !important;
  }


  /* 3. Hide redundant SOS and Deadline banners on mobile */
  .sos-banner,
  .deadline-urgent-banner {
    display: none !important;
  }

  /* 4. Hide floating FAB on mobile (Sticky Bar already active) */
  .floating-call-fab {
  display: none !important;
}

  /* 5. Hero Micro Badge & Headings */
  .section {
    padding: 1.75rem 0 !important;
  }

  .hero-section {
    padding: 0.75rem 0 1.5rem !important;
  }


  .hero-title {
    font-size: 1.35rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.4rem !important;
  }

  .hero-subtitle {
    font-size: 0.8125rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.5rem !important;
    color: #cbd5e1 !important;
  }

  /* 6. Offer Box: Ultra Compact & Elegant */
  .offer-price-card {
    padding: 0.55rem 0.75rem !important;
    margin-bottom: 0.6rem !important;
    border-radius: var(--radius-sm) !important;
  }
  .offer-price-header {
    margin-bottom: 0.25rem !important;
  }
  .offer-price-current {
    font-size: 1.25rem !important;
  }
  .offer-price-old {
    font-size: 0.85rem !important;
  }
  .offer-price-badge {
    font-size: 0.65rem !important;
    padding: 0.15rem 0.4rem !important;
  }
  .offer-price-desc {
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
  }

  /* 7. Dual Messenger CTA (Directly in first viewport) */
  .dual-messenger-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 1.15rem 0;
}
  .dual-messenger-cta .btn {
    padding: 0.65rem 0.4rem !important;
    font-size: 0.8125rem !important;
    border-radius: var(--radius-md) !important;
  }
  .dual-messenger-cta .btn svg {
    width: 17px !important;
    height: 17px !important;
  }

  .security-trust-note {
    font-size: 0.6875rem !important;
    padding: 0.35rem 0.5rem !important;
    margin-top: 0.35rem !important;
  }

  .review-card-text {
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  /* 8. Hero Sidebar Photo: Hidden on mobile (desktop-only card) */
  .hero-sidebar {
    display: none !important;
  }
}



/* ==========================================================================
   Pricing Anchor Tiers & Transparency (Cuts unqualified leads)
   ========================================================================== */
.pricing-tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) and (max-width: 991px) {
  .pricing-tiers-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .pricing-tier-card:last-child {
    grid-column: span 2;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
}

.pricing-tier-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.6));
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.pricing-tier-card.offer-1900,
.pricing-tier-card.offer-2000,
.pricing-tier-card.featured {
  border-color: rgba(96, 165, 250, 0.7) !important;
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.25), 0 8px 30px rgba(0, 0, 0, 0.6) !important;
}

.pricing-gold-badge,
.pricing-blue-badge {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
}

.pricing-tier-card.featured {
  border-color: rgba(96, 165, 250, 0.6);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.2);
}

.pricing-tier-badge {
  position: absolute;
  top: -12px;
  right: 1.25rem;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
}

.pricing-tier-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.pricing-tier-price {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--blue-light);
  margin-bottom: 0.75rem;
}

.pricing-tier-price span {
  font-size: 0.875rem;
  font-weight: 600;
  color: #94a3b8;
}

.pricing-tier-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.pricing-tier-features li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.6rem;
  display: block;
}

.pricing-tier-features li::before {
  content: '✓';
  color: #4ade80;
  font-weight: 800;
  position: absolute;
  left: 0;
  top: 0;
}

/* ==========================================================================
   Filter «З ким ми НЕ працюємо» (Відсікання безкоштовних розпитувань)
   ========================================================================== */
.paid-services-only-filter {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.paid-services-only-filter svg {
  width: 24px;
  height: 24px;
  color: #f87171;
  flex-shrink: 0;
  margin-top: 2px;
}

.paid-services-text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #fca5a5;
}

.paid-services-text strong {
  color: #ffffff;
}

/* ==========================================================================
   How It Works 3-Step Process (Зняття страху нав'язування)
   ========================================================================== */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.how-step-card {
  background: rgba(7, 16, 34, 0.75);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.how-step-card:hover {
  border-color: rgba(96, 165, 250, 0.4);
  transform: translateY(-2px);
}

.how-step-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.45rem;
}

.how-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-primary), #1d4ed8);
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 800;
  flex-shrink: 0;
}

.how-step-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.how-step-desc {
  font-size: 0.8125rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   Court Costs Compensation Badge (100% Стягнення з опонента)
   ========================================================================== */
.court-cost-recovery-box {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(16, 185, 129, 0.05));
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.court-cost-recovery-box svg {
  width: 26px;
  height: 26px;
  color: #4ade80;
  flex-shrink: 0;
}

.court-cost-text {
  font-size: 0.8125rem;
  color: #dcfce7;
  line-height: 1.45;
}

.court-cost-text strong {
  color: #ffffff;
}

/* ==========================================================================
   Deadline Alert / Urgent Timer Warning (10-30 днів)
   ========================================================================== */
.deadline-urgent-banner {
  background: rgba(30, 58, 138, 0.25);
  border: 1px solid rgba(96, 165, 250, 0.4);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.deadline-urgent-banner svg {
  width: 22px;
  height: 22px;
  color: #60a5fa;
  flex-shrink: 0;
}

.deadline-urgent-text {
  font-size: 0.8125rem;
  color: #bfdbfe;
  line-height: 1.4;
}

.deadline-urgent-text strong {
  color: #ffffff;
}

/* ==========================================================================
   Lawyer License & ERau Registry Verification Badge
   ========================================================================== */
.lawyer-license-strip {
  display: inline-flex;
  align-items: center;
  color: #94a3b8;
  margin-top: 0.5rem;
}

.lawyer-license-strip strong {
  color: #ffffff;
}

/* ==========================================================================
   Mobile Sticky Bar 3-Action Layout (Telegram, Viber, WhatsApp)
   ========================================================================== */
.mobile-sticky-grid-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.4rem;
  max-width: 500px;
  margin: 0 auto;
}

.sticky-btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 0.25rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 800;
  color: #ffffff;
  min-height: 44px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.sticky-btn-vb-lg {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}

/* ==========================================================================
   Document Attachment Impulse Badge («📎 Надіслати фото повістки/ухвали»)
   ========================================================================== */
.send-document-photo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(37, 99, 235, 0.12);
  border: 1px dashed rgba(96, 165, 250, 0.45);
  color: #93c5fd;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  margin: 0.4rem 0 0.85rem;
  width: 100%;
}

.send-document-photo-badge svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #60a5fa;
}

@media (max-width: 380px) {
  .mobile-sticky-grid-3col {
    gap: 0.25rem;
  }
  .sticky-btn-sm {
    font-size: 0.6875rem !important;
    padding: 0.5rem 0.1rem !important;
    gap: 0.2rem !important;
    min-height: 42px !important;
  }
  .sticky-btn-sm svg {
    width: 15px !important;
    height: 15px !important;
  }
}



/* ==========================================================================
   Fix: split-card-actions — 3 buttons layout (equal widths)
   ========================================================================== */

.split-card-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.5rem !important;
  margin-top: 0.85rem !important;
}

.split-card-actions .btn {
  width: 100% !important;
  min-width: 0 !important;
  justify-content: center !important;
  font-size: 0.8125rem !important;
  padding: 0.65rem 0.4rem !important;
  border-radius: var(--radius-md) !important;
}

.split-card-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
}

/* ==========================================================================
   Buttons minimum touch target (iOS 44px requirement)
   ========================================================================== */
.btn {
  min-height: 44px;
}

/* ==========================================================================
   Main landmark for accessibility
   ========================================================================== */
main {
  display: block;
}

/* ==========================================================================
   Dedicated "About Lawyer & Bureau" Section
   ========================================================================== */
.section-about {
  background: linear-gradient(180deg, rgba(6, 12, 26, 0.95) 0%, rgba(10, 18, 38, 0.98) 100%);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
  padding: 3.5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: start;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 360px 1fr;
    gap: 3rem;
  }
}

.about-lawyer-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  background: #0b1329;
}

.about-photo-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.about-photo-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.9rem 1.2rem;
  background: linear-gradient(to top, rgba(4, 8, 18, 0.95), rgba(4, 8, 18, 0.6) 80%, transparent);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-badge-icon {
  font-size: 1.5rem;
}

.about-badge-text strong {
  display: block;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}

.about-badge-text span {
  font-size: 0.8125rem;
  color: #94a3b8;
}

.about-license-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.about-license-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.about-license-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #f1f5f9;
}

.about-license-verified {
  font-size: 0.75rem;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
}

.about-license-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.8125rem;
  color: #cbd5e1;
}

.about-license-list li strong {
  color: #94a3b8;
}

.about-license-list a {
  color: #60a5fa;
  text-decoration: underline;
}

.about-metrics-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 640px) {
  .about-metrics-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-metric-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1rem 0.85rem;
  text-align: center;
}

.about-metric-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: #60a5fa;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.about-metric-label {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.3;
}

.about-bio-text h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.about-bio-text p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.about-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
}

.about-feature-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.15rem;
}

.about-feature-body strong {
  display: block;
  font-size: 0.9375rem;
  color: #f1f5f9;
  margin-bottom: 0.2rem;
}

.about-feature-body span {
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.45;
}

.about-cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.about-cta-bar .btn {
  flex: 1 1 220px;
  justify-content: center;
}

.service-card-actions,
.split-card-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.5rem !important;
  margin-top: 1rem !important;
  width: 100% !important;
}

.service-card-actions .btn,
.split-card-actions .btn {
  width: 100% !important;
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.8125rem !important;
  padding: 0.65rem 0.4rem !important;
  border-radius: var(--radius-md) !important;
  box-sizing: border-box !important;
}

.quiz-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: none;
  color: #93c5fd;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.35rem 0.6rem;
  margin-bottom: 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.quiz-back-btn:hover {
  color: #ffffff;
  background: rgba(59, 130, 246, 0.15);
}

/* Certificate Showcase Card in About Section */
.about-certificate-preview {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(147, 197, 253, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  background: #081226;
}

.about-certificate-preview:hover {
  transform: translateY(-2px);
  border-color: rgba(147, 197, 253, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(59, 130, 246, 0.25);
}

.certificate-thumb-link {
  display: block;
  text-decoration: none;
  position: relative;
}

.certificate-thumb-img {
  width: 100%;
  height: auto;
  display: block;
}

.certificate-zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(11, 21, 40, 0.88);
  backdrop-filter: blur(8px);
  color: #bfdbfe;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(147, 197, 253, 0.3);
  letter-spacing: 0.3px;
}

/* Certificate Modal & Gold Frame */
.modal-card-cert {
  max-width: 640px !important;
  padding: 1.75rem !important;
}

.cert-modal-gold-frame,
.cert-modal-blue-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(96, 165, 250, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 28px rgba(37, 99, 235, 0.2);
  margin-bottom: 1.25rem;
  background: #081226;
}

.cert-modal-img {
  width: 100%;
  height: auto;
  display: block;
}

.cert-modal-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(147, 197, 253, 0.2);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 580px) {
  .cert-modal-info-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.cert-info-item {
  font-size: 0.8125rem;
  line-height: 1.35;
}

.cert-info-item strong {
  color: #bfdbfe;
  display: block;
  font-size: 0.75rem;
  margin-bottom: 2px;
}

.cert-info-item span {
  color: #ffffff;
}

.cert-modal-jurisdiction-note {
  font-size: 0.775rem;
  line-height: 1.4;
  color: #cbd5e1;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 10px;
  padding: 0.75rem 0.875rem;
  margin-bottom: 1.25rem;
}

.cert-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 580px) {
  .cert-modal-actions {
    grid-template-columns: 1fr;
  }
}

/* Responsive Micro Polish Fixes */
@media (max-width: 400px) {
  .brand-title {
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.01em !important;
  line-height: 1.18 !important;
  display: block !important;
}
  .brand-subtitle {
    display: none !important;
  }
  .brand-emblem-img {
    width: 36px !important;
    height: 36px !important;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding-bottom: 95px !important;
  }
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none !important;
  }
  body {
    padding-bottom: 0 !important;
  }
}


/* Top Spec Fixes */
@media (max-width: 767px) {
  .brand-title {
    font-size: 0.875rem !important;
    line-height: 1.15 !important;
    max-width: 100% !important;
    white-space: normal !important;
  }
  .brand-subtitle {
    display: none !important;
  }
  .brand-emblem-img {
    width: 36px !important;
    height: 36px !important;
  }
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none !important;
  }
  body {
    padding-bottom: 0 !important;
  }
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0 !important;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding-top: 1rem !important;
    padding-bottom: 2rem !important;
  }
  .hero-title {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.45rem !important;
  }
  .hero-subtitle {
    font-size: 0.875rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.45rem !important;
  }
  .hero-primary-conversions {
    margin: 0.45rem 0 0.45rem 0 !important;
    gap: 0.5rem !important;
  }
  .btn-conversion-primary {
    min-height: 44px !important;
    padding: 0.6rem 0.85rem !important;
    font-size: 0.9rem !important;
  }
  .hero-secondary-options {
    margin-bottom: 0.5rem !important;
  }
  .btn-subtle-opt {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.8rem !important;
  }
  .reviews-grid {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    gap: 1rem !important;
    padding-bottom: 0.75rem !important;
  }
  .review-card {
    flex: 0 0 85% !important;
    scroll-snap-align: start !important;
  }
}


/* Signal & Viber Messenger Official High-Conversion Styling */
.btn-signal {
  background: #2c6bed !important;
  background-color: #2c6bed !important;
  border: 1px solid #3b82f6 !important;
  color: #ffffff !important;
  box-shadow: 0 3px 12px rgba(44, 107, 237, 0.35) !important;
}
.btn-signal:hover {
  background: #1d4ed8 !important;
  background-color: #1d4ed8 !important;
  box-shadow: 0 5px 16px rgba(44, 107, 237, 0.5) !important;
  transform: translateY(-2px);
}

.btn-viber {
  background: #7360f2 !important;
  background-color: #7360f2 !important;
  border: 1px solid #818cf8 !important;
  color: #ffffff !important;
  box-shadow: 0 3px 12px rgba(115, 96, 242, 0.35) !important;
}
.btn-viber:hover {
  background: #6366f1 !important;
  background-color: #6366f1 !important;
  box-shadow: 0 5px 16px rgba(115, 96, 242, 0.5) !important;
  transform: translateY(-2px);
}

.btn-phone {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(96, 165, 250, 0.4) !important;
  color: #f8fafc !important;
  white-space: nowrap !important;
}
.btn-phone:hover {
  background: rgba(59, 130, 246, 0.25) !important;
  border-color: #60a5fa !important;
  transform: translateY(-2px);
}




/* ==========================================================================
   High-Conversion Primary (WhatsApp + Telegram) and Separated Secondary Options
   ========================================================================== */
.hero-primary-conversions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 1rem 0 0.65rem 0;
}

@media (max-width: 580px) {
  .hero-primary-conversions {
    grid-template-columns: 1fr;
  }
}

.btn-conversion-primary {
  min-height: 48px !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
.btn-conversion-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35) !important;
}

.hero-secondary-options {
  margin-bottom: 0.9rem;
  text-align: left;
}
.secondary-options-label {
  display: block;
  font-size: 0.72rem;
  color: var(--silver-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.secondary-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.btn-subtle-opt {
  min-height: 44px !important;
  font-size: 0.84rem !important;
  padding: 0.5rem 0.75rem !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  transition: all 0.15s ease !important;
}
.btn-subtle-opt:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

@media (max-width: 640px) {
  .hero-primary-conversions {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .btn-conversion-primary {
    padding: 0.85rem 1rem !important;
    font-size: 0.9375rem !important;
  }
}

@media (max-width: 480px) {
  .secondary-options-grid {
    gap: 0.35rem;
  }
  .btn-subtle-opt {
    font-size: 0.74rem !important;
    padding: 0.3rem 0.5rem !important;
  }
}

/* ==========================================================================
   5-Step Legal Quiz & Advice Styling
   ========================================================================== */
.quiz-advice-box {
  background: rgba(30, 58, 138, 0.25);
  border: 1px solid rgba(96, 165, 250, 0.4);
  border-left: 4px solid #38bdf8;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin: 1rem 0;
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #e2e8f0;
  animation: fadeIn 0.3s ease;
}
.quiz-advice-box strong {
  color: #93c5fd;
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

/* Parallel Bottom-Aligned Pricing Buttons */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch !important;
}
@media (min-width: 992px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
.pricing-tier-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
}
.pricing-tier-body {
  flex-grow: 1 !important;
  display: flex;
  flex-direction: column;
}
.pricing-tier-actions {
  margin-top: auto !important;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
}

/* Top Reviews Section Immediately Below Hero */
.top-reviews-section {
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.95) 0%, rgba(4, 8, 18, 0.98) 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2.25rem 0 2rem;
}

/* Tablet (iPad 768–991px) Lawyer Photo Optimization */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-lawyer-photo,
  .hero-photo-wrapper,
  .hero-photo-mobile,
  .hero-sidebar {
    display: block !important;
    max-width: 300px !important;
    margin: 20px auto !important;
  }
}



/* Hero Desktop Sidebar & Lawyer Card */
.hero-sidebar {
  display: block;
}

@media (max-width: 991px) {
  .hero-sidebar {
    display: none !important;
  }
}

.hero-lawyer-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
}

.hero-lawyer-photo-wrap {
  width: 100%;
  height: 320px;
  position: relative;
  overflow: hidden;
  background: #040916;
}

.hero-lawyer-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-lawyer-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(5,10,20,0.95) 0%, rgba(5,10,20,0.65) 50%, transparent 100%);
  padding: 0.85rem 1.25rem 0.75rem;
}

.hero-lawyer-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.hero-lawyer-title {
  font-size: 0.82rem;
  color: var(--blue-light);
  font-weight: 600;
}

.hero-lawyer-body {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: rgba(15, 23, 42, 0.6);
}

.lawyer-license-strip {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.4;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-lawyer-quote {
  font-size: 0.82rem;
  color: var(--silver-steel);
  font-style: italic;
  line-height: 1.45;
}




/* Equal Height & Bottom-aligned Buttons for Service & Pricing Cards */
.service-card, .pricing-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.service-desc, .pricing-features {
  flex-grow: 1 !important;
}

.service-card .btn, .pricing-card .btn {
  margin-top: auto !important;
}


@media (max-width: 767px) {
  .brand-title {
    white-space: normal !important;
    font-size: 0.875rem !important;
    line-height: 1.15 !important;
    text-overflow: clip !important;
    overflow: visible !important;
    max-width: 100% !important;
    display: block !important;
  }
}


@media (min-width: 992px) {
  body {
    padding-bottom: 0 !important;
  }
}

.badge-cert-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #93c5fd !important;
  text-decoration: underline !important;
  background: rgba(148, 163, 184, 0.12) !important;
  border: 1px solid rgba(148, 163, 184, 0.3) !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  transition: all 0.15s ease !important;
}
.badge-cert-link:hover {
  background: rgba(148, 163, 184, 0.25) !important;
  color: #ffffff !important;
}


/* ==========================================================================
   PREMIUM NEON STICKY BOTTOM DOCK (MOBILE CONVERSION ENGINE)
   ========================================================================== */
@keyframes neon-pulse-green {
  0% {
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5), 0 0 16px rgba(16, 185, 129, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.8), 0 0 25px rgba(16, 185, 129, 0.5), 0 0 35px rgba(16, 185, 129, 0.3);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5), 0 0 16px rgba(16, 185, 129, 0.3);
    transform: scale(1);
  }
}

@keyframes neon-pulse-blue {
  0% {
    box-shadow: 0 0 8px rgba(2, 132, 199, 0.5), 0 0 16px rgba(2, 132, 199, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 16px rgba(2, 132, 199, 0.8), 0 0 25px rgba(2, 132, 199, 0.5), 0 0 35px rgba(2, 132, 199, 0.3);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 8px rgba(2, 132, 199, 0.5), 0 0 16px rgba(2, 132, 199, 0.3);
    transform: scale(1);
  }
}

@keyframes neon-pulse-purple {
  0% {
    box-shadow: 0 0 8px rgba(115, 96, 242, 0.5), 0 0 16px rgba(115, 96, 242, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 16px rgba(115, 96, 242, 0.8), 0 0 25px rgba(115, 96, 242, 0.5), 0 0 35px rgba(115, 96, 242, 0.3);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 8px rgba(115, 96, 242, 0.5), 0 0 16px rgba(115, 96, 242, 0.3);
    transform: scale(1);
  }
}

@keyframes neon-pulse-red {
  0% {
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.8);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.4);
    transform: scale(1);
  }
}

.mobile-sticky-dock {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-dock {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    background: rgba(5, 20, 32, 0.96) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-top: 1.5px solid rgba(67, 177, 231, 0.4) !important;
    padding: 10px 12px !important;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    gap: 8px !important;
    align-items: center !important;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7) !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .mobile-sticky-dock.dock-hidden {
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .dock-btn-wa, .dock-btn-tg, .dock-btn-vb {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 4px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    gap: 2px !important;
    white-space: nowrap !important;
    min-height: 46px !important;
  }

  .dock-btn-wa {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    animation: neon-pulse-green 2.4s infinite ease-in-out !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4) !important;
  }

  .dock-btn-tg {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    animation: neon-pulse-blue 2.4s infinite ease-in-out 0.8s !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4) !important;
  }

  .dock-btn-vb {
    background: linear-gradient(135deg, #7360f2 0%, #5b45e0 100%) !important;
    animation: neon-pulse-purple 2.4s infinite ease-in-out 1.6s !important;
    box-shadow: 0 4px 14px rgba(115, 96, 242, 0.4) !important;
  }

  .dock-btn-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }

  .dock-btn-row svg {
    width: 15px !important;
    height: 15px !important;
    fill: currentColor !important;
    flex-shrink: 0 !important;
  }

  .dock-sub-label {
    font-size: 9px !important;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    letter-spacing: 0.4px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
  }

  .dock-btn-call {
    width: 44px;
    height: 44px;
    background: rgba(239, 68, 68, 0.25) !important;
    border: 1.5px solid rgba(239, 68, 68, 0.6) !important;
    color: #f87171 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-size: 19px !important;
    flex-shrink: 0 !important;
    animation: neon-pulse-red 2s infinite ease-in-out;
  }

  body {
    padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px)) !important;
  }
}


/* MOBILE HERO OPTIMIZATION (COMPACT & FAST ON IPHONE) */
@media (max-width: 768px) {
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding: 10px 0 !important;
    text-align: left !important;
  }

  .hero-text-col h1 {
    font-size: 22px !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
  }
  
  .hero-text-col p {
    font-size: 14px !important;
    margin-bottom: 12px !important;
  }

  .hero-right-column {
    max-width: 100% !important;
    gap: 12px !important;
  }
  
  .lawyer-photo-card {
    border-radius: 12px !important;
  }
  
  .lawyer-photo-card > div:first-child {
    height: 240px !important;
  }
}


@media (max-width: 768px) {
  /* On mobile, the sticky neon dock handles conversions, so hide duplicate inline buttons to keep hero ultra-clean */
  
  .hero-text-col div[style*="border-left: 3px solid #43B1E7"] {
    margin-bottom: 10px !important;
    padding: 6px 10px !important;
    font-size: 12.5px !important;
  }
  
  .hero-grid {
    gap: 12px !important;
  }
}


/* ==========================================================================
   INTERACTIVE CERTIFICATE ZOOM LIGHTBOX (MODAL)
   ========================================================================== */
.cert-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 15, 26, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cert-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cert-modal-content {
  background: #0b1e33;
  border: 1.5px solid rgba(67, 177, 231, 0.45);
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  padding: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  transform: scale(0.92);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.cert-modal-backdrop.active .cert-modal-content {
  transform: scale(1);
}

.cert-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.cert-modal-close:hover {
  background: rgba(239, 68, 68, 0.7);
  transform: rotate(90deg);
}

.cert-zoom-trigger {
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cert-zoom-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(67, 177, 231, 0.3);
}


/* CLEAN HERO RESPONSIVENESS */
.hero-desktop-btns {
  display: flex !important;
}

@media (max-width: 768px) {
  .hero-desktop-btns {
    display: none !important;
  }
  
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    padding: 10px 0 !important;
  }

  .hero-text-col h1 {
    font-size: 22px !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
  }

  .hero-text-col p {
    font-size: 13.5px !important;
    margin-bottom: 10px !important;
    line-height: 1.4 !important;
  }

  .hero-right-column {
    max-width: 100% !important;
    gap: 12px !important;
  }

  .lawyer-photo-card > div:first-child {
    height: 240px !important;
  }
}


/* HERO QUOTE BALANCE (DESKTOP & MOBILE) */
.hero-quote-box {
  display: block;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .hero-quote-box {
    margin-top: 10px !important;
    padding: 10px 12px !important;
  }
  
  .lawyer-photo-card > div:first-child {
    height: 280px !important;
  }
}


/* HUB DIRECTIONS GRID (DESKTOP & MOBILE) */
.hub-direction-card:hover {
  border-color: #43B1E7 !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(67, 177, 231, 0.15) !important;
}

.hub-direction-card a:hover {
  color: #38bdf8 !important;
  text-decoration: underline !important;
}

@media (max-width: 900px) {
  .hub-directions-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

/* DESKTOP HEADER FIX */
@media (min-width: 992px) {
  .site-header .container {
    flex-wrap: nowrap !important;
  }
  .header-nav {
    width: auto !important;
    margin-top: 0 !important;
    padding-bottom: 0 !important;
    overflow-x: visible !important;
    flex: 1;
    justify-content: center;
  }
}

/* HIDE HERO BUTTONS ON MOBILE TO PREVENT DUPLICATION WITH STICKY BAR */
@media (max-width: 768px) {
  .desktop-hero-btns { display: none !important; }
}

/* GLOBAL STICKY BAR HOTFIXES */
@media (min-width: 768px) {
  .hide-on-desktop { display: none !important; }
}
@media (max-width: 767px) {
  .hide-on-mobile { display: none !important; }
}
