/* ============================================================
   LAWSOS — SITE STYLES
   ============================================================ */

/* ---- TOKENS ---- */
:root {
  --ink:          #0f1c2e;
  --muted:        #5b6f85;
  --line:         #dce4ef;
  --bg:           #f4f7fb;
  --panel:        #ffffff;
  --primary:      #1555e8;
  --primary-dark: #0d3b9e;
  --primary-light:#eff3fe;
  --green:        #14784f;
  --amber:        #b47a18;
  --red:          #bf3b3b;
  --navy:         #0b1929;
  --max-w:        1180px;
  --radius:       12px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0; }

/* ---- CONTAINER ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
}
.brand-mark { width: 32px; height: 32px; object-fit: contain; }
nav { display: flex; gap: 24px; color: var(--muted); font-size: 14px; font-weight: 500; }
nav a { transition: color .15s; }
nav a:hover { color: var(--ink); }
.language-switcher { display: flex; gap: 6px; align-items: center; }
.language-switcher a {
  min-width: 36px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px;
  color: var(--muted); background: white;
  font-size: 12px; font-weight: 700;
  transition: all .15s;
}
.language-switcher a.active { color: white; border-color: var(--primary); background: var(--primary); }
.language-switcher a:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(130deg, var(--navy) 0%, #0f2952 55%, #1555e8 130%);
  padding: 88px 0 108px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 70% at 80% 50%, rgba(21,85,232,0.35) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(21,85,232,0.12);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) 340px;
  gap: 72px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 6px 16px;
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.0;
  color: white;
  margin-bottom: 22px;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.lead {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin-bottom: 38px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  border-radius: 10px; font-weight: 700; font-size: 15px;
  border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: white;
  backdrop-filter: blur(8px);
  transition: all .15s;
  cursor: pointer;
}
.button:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.55); }
.button.primary { background: white; border-color: white; color: var(--primary); }
.button.primary:hover { background: #eef2ff; }
.hero-note {
  font-size: 13px;
  color: rgba(255,255,255,0.48);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-note::before { content: '🔒'; font-size: 14px; }

/* Phone mockup */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 300px;
  background: #0d1825;
  border-radius: 44px;
  padding: 14px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.07),
    0 48px 96px rgba(0,0,0,0.55),
    0 0 0 10px rgba(255,255,255,0.03);
}
.phone-top {
  width: 72px; height: 5px;
  border-radius: 99px;
  background: rgba(255,255,255,0.1);
  margin: 0 auto 10px;
}
.phone-shot {
  width: 100%;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  border-radius: 32px;
  display: block;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: white;
  border-bottom: 1px solid var(--line);
}
.trust-bar-inner {
  display: flex;
  align-items: stretch;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 32px;
  flex: 1;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 22px; flex-shrink: 0; }
.trust-label { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.trust-sub  { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section { border-top: 1px solid var(--line); background: white; }
.section.alt { background: var(--bg); }
.section.dark-alt { background: #eef3fa; }
.section-inner { padding: 84px 0; }
.section-head { margin-bottom: 52px; }
.section-head h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.section-head p { font-size: 17px; color: var(--muted); max-width: 540px; line-height: 1.65; }
.section-head.centered { text-align: center; }
.section-head.centered p { margin: 0 auto; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}
.step-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow .2s;
}
.step-card:hover { box-shadow: 0 4px 24px rgba(15,28,46,0.08); }
.step-num {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 17px; font-weight: 800;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.step-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step-card p  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}
.feature-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 2px 10px rgba(15,28,46,0.05);
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: 0 6px 28px rgba(15,28,46,0.1); transform: translateY(-2px); }
.feature-icon { font-size: 30px; margin-bottom: 18px; display: block; }
.feature-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ============================================================
   APP SCREENSHOTS
   ============================================================ */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}
.shot-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 4px 24px rgba(15,28,46,0.07);
  transition: box-shadow .2s;
}
.shot-card:hover { box-shadow: 0 8px 40px rgba(15,28,46,0.12); }
.shot-card img {
  width: 100%; aspect-ratio: 390 / 844; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--line);
  display: block; margin-bottom: 18px;
  background: var(--bg);
}
.shot-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.shot-card p  { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ============================================================
   FOR LAWYERS
   ============================================================ */
.split-inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(280px,440px);
  gap: 64px;
  align-items: start;
}
.split-inner h2 {
  font-size: 34px; font-weight: 800;
  letter-spacing: -0.015em; margin-bottom: 18px;
}
.split-inner > div > p { font-size: 17px; color: var(--muted); line-height: 1.7; }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checklist li {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14px; font-weight: 600;
  display: flex; align-items: center; gap: 14px;
}
.checklist li::before {
  content: '✓';
  width: 26px; height: 26px;
  background: #dff7ed;
  color: var(--green);
  border-radius: 7px;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 900;
  flex-shrink: 0;
}

/* ============================================================
   APP STORE CTA
   ============================================================ */
.app-cta {
  background: linear-gradient(130deg, var(--navy) 0%, #0f2952 60%, #1555e8 130%);
  border-top: none;
  position: relative;
  overflow: hidden;
}
.app-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(21,85,232,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.app-cta-inner {
  position: relative; z-index: 1;
  padding: 96px 0;
  text-align: center;
}
.app-cta-inner h2 {
  font-size: 44px; font-weight: 800;
  letter-spacing: -0.025em;
  color: white; margin-bottom: 16px;
}
.app-cta-inner > p {
  font-size: 18px;
  color: rgba(255,255,255,0.68);
  max-width: 460px;
  margin: 0 auto 48px;
  line-height: 1.7;
}
.app-badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: white;
  color: var(--ink);
  border-radius: 14px;
  padding: 14px 28px;
  font-weight: 700; font-size: 16px;
  transition: all .15s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.app-badge:hover { background: #f0f4ff; transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.app-badge-icon { font-size: 26px; }
.app-badge-text small {
  display: block;
  font-size: 10px; font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 2px;
}

/* ============================================================
   SUPPORT
   ============================================================ */
.support-inner { padding: 84px 0; }
.support-top {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 40px;
  align-items: center;
  margin-bottom: 44px;
}
.support-top h2 {
  font-size: 34px; font-weight: 800;
  letter-spacing: -0.015em; margin-bottom: 12px;
}
.support-top p { font-size: 16px; color: var(--muted); line-height: 1.6; }
.support-email a {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--primary); color: white;
  border-radius: 10px; padding: 13px 22px;
  font-weight: 700; font-size: 15px;
  white-space: nowrap;
  transition: background .15s;
}
.support-email a:hover { background: var(--primary-dark); }
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}
.support-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.support-card-status {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--green); margin-bottom: 10px;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(20,120,79,0.15);
  flex-shrink: 0;
}
.support-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.support-card p  { font-size: 13px; color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy);
  border-top: none;
}
.footer-inner {
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  color: white; font-weight: 700; font-size: 15px;
}
.footer-brand img { width: 28px; height: 28px; opacity: 0.85; }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  transition: color .15s;
}
.footer-links a:hover { color: white; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.35); }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-body {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(11,25,41,0.06) 0%, rgba(244,247,251,0) 360px),
    var(--bg);
}
.legal-topbar {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 10px 30px rgba(15,28,46,0.08);
}
.legal-topbar .brand {
  color: var(--ink);
}
.legal-topbar .brand span {
  color: var(--ink);
}
.legal-topbar nav {
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.legal-topbar nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 7px 12px;
}
.legal-topbar nav a:hover {
  background: var(--primary-light);
  border-color: rgba(21,85,232,0.14);
  color: var(--primary-dark);
}
.legal-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 34px 32px 80px;
}
.legal-hero-card {
  background: linear-gradient(135deg, var(--navy) 0%, #102a55 62%, #1555e8 135%);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  padding: 34px;
  margin-bottom: 18px;
  box-shadow: 0 18px 60px rgba(15,28,46,0.16);
  overflow: hidden;
  position: relative;
}
.legal-hero-card::after {
  content: '';
  position: absolute;
  inset: auto -70px -110px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.09);
  pointer-events: none;
}
.legal-wrap h1 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.0;
  margin: 10px 0 0;
  letter-spacing: -0.02em;
  color: white;
  text-shadow: 0 1px 1px rgba(0,0,0,0.12);
  position: relative;
  z-index: 1;
}
.legal-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 14px;
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(15,28,46,0.06);
}
.legal-card h2  { color: var(--ink); font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.legal-card p, .legal-card li { color: #35475b; line-height: 1.65; font-size: 15px; }
.legal-card ul  { margin: 0; padding-left: 20px; }
.legal-wrap .eyebrow {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.78);
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}
.language-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.language-pills span, .language-pills a {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; background: var(--bg);
  color: var(--primary-dark); font-weight: 700; font-size: 13px;
}
.language-pills a.active {
  background: var(--primary); border-color: var(--primary); color: white;
}
.legal-footer {
  padding: 0;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.legal-footer .container {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}
.legal-footer a {
  color: rgba(255,255,255,0.72);
}
.legal-footer a:hover {
  color: white;
}

@media (max-width: 760px) {
  .legal-topbar .topbar-inner {
    height: auto;
    min-height: 68px;
    padding-top: 12px;
    padding-bottom: 12px;
    align-items: flex-start;
    flex-direction: column;
  }
  .legal-topbar nav {
    justify-content: flex-start;
  }
  .legal-wrap {
    padding: 24px 18px 64px;
  }
  .legal-hero-card {
    border-radius: 14px;
    padding: 26px 22px;
  }
  .legal-card {
    padding: 20px;
  }
}

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-body { background: #eef2f7; }
.admin-wrap { max-width: 1180px; margin: 0 auto; padding: 132px 24px 24px; }
.admin-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10; margin: 0;
  padding: 14px max(24px, calc((100vw - 1180px) / 2 + 24px)) 12px;
  background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(24, 38, 64, .08);
}
.admin-topline { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.admin-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.admin-mobile-actions { display: none; margin-bottom: 14px; }
.admin-nav { display: flex; gap: 8px; flex-wrap: wrap; overflow: visible; padding-top: 12px; }
.admin-nav a {
  flex: 0 0 auto; min-height: 34px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 13px; border: 1px solid var(--line); border-radius: 8px;
  background: white; color: var(--muted); font-size: 13px; font-weight: 700;
}
.admin-nav a:hover { color: var(--primary-dark); border-color: #b8c8f6; background: #f7f9ff; }
.admin-nav a.active { color: white; border-color: var(--primary); background: var(--primary); }
.admin-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.metric, .admin-card { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.admin-card { margin-bottom: 16px; }
.admin-grid, .admin-card { scroll-margin-top: 132px; }
.metric span { color: var(--muted); font-size: 13px; }
.metric b { display: block; font-size: 28px; margin-top: 5px; }
.admin-quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.admin-quick-grid a {
  display: block; min-height: 96px; border: 1px solid var(--line); border-radius: 8px;
  padding: 15px; background: #fafbfd;
}
.admin-quick-grid a:hover { border-color: #b8c8f6; background: #f7f9ff; }
.admin-quick-grid span { display: block; color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.admin-quick-grid b { display: block; margin-top: 8px; font-size: 30px; color: var(--ink); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 11px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { font-size: 12px; color: var(--muted); text-transform: uppercase; }
.pill { display: inline-block; padding: 4px 8px; border-radius: 999px; background: #eef3f9; font-size: 12px; font-weight: 800; }
.pill.pending           { background: #fff5db; color: var(--amber); }
.pill.approved          { background: #dff7ed; color: var(--green); }
.pill.rejected          { background: #fde8e8; color: var(--red); }
.pill.requested, .pill.payment_pending { background: #fff5db; color: var(--amber); }
.pill.in_call, .pill.paid { background: #dff7ed; color: var(--green); }
.pill.completed         { background: #e8eefc; color: var(--primary-dark); }
.pill.cancelled, .pill.failed, .pill.refunded, .pill.suspended, .pill.error { background: #fde8e8; color: var(--red); }
.pill.unread, .pill.warning { background: #fff5db; color: var(--amber); }
.pill.read, .pill.info, .pill.online { background: #dff7ed; color: var(--green); }
.pill.active, .pill.customer, .pill.lawyer, .pill.admin { background: #e8eefc; color: var(--primary-dark); }
.pill.blocked, .pill.hidden { background: #fde8e8; color: var(--red); }
.form-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lawyer-mini { display: flex; gap: 10px; align-items: flex-start; min-width: 220px; }
.lawyer-mini img, .lawyer-mini span {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 8px; object-fit: cover;
  background: #e8eefc; color: var(--primary); display: grid; place-items: center; font-weight: 900;
}
.lawyer-mini small { display: block; max-width: 320px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.config-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.toggle-row {
  min-height: 42px; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px;
  display: flex; align-items: center; gap: 8px; background: #fafbfd;
}
input, select, textarea {
  min-height: 38px; border: 1px solid var(--line); border-radius: 8px;
  padding: 0 10px; background: white;
}
textarea { width: 100%; padding: 10px; font: inherit; resize: vertical; }
.small-input { width: 82px; }
button {
  min-height: 38px; border: 0; border-radius: 8px; padding: 0 12px;
  background: var(--primary); color: white; font-weight: 800; cursor: pointer;
}
button.secondary { background: #e8eefc; color: var(--primary-dark); }
button.danger    { background: var(--red); }
.notice { padding: 12px 14px; border-radius: 8px; background: #e8eefc; margin-bottom: 14px; }
.login  { max-width: 420px; margin: 12vh auto; }
.section-head-flex { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.status-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.status-grid.compact { grid-template-columns: repeat(4, minmax(120px, 1fr)); }
.status-grid div { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.status-grid span { display: block; color: var(--green); font-size: 12px; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.detail-grid div { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fafbfd; }
.detail-grid span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; margin-bottom: 6px; }
.detail-grid b { overflow-wrap: anywhere; }
.note-box { margin-top: 14px; border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: #fafbfd; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 16px; align-items: start; }
.doc-list { display: grid; gap: 10px; }
.doc-list article { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fafbfd; }
.doc-list small { display: block; color: var(--muted); margin-top: 3px; }
.doc-thumb { width: 96px; height: 96px; object-fit: cover; border: 1px solid var(--line); border-radius: 8px; background: white; }
.live-indicator {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--green); font-size: 12px; font-weight: 900; text-transform: uppercase;
}
.live-indicator span {
  width: 9px; height: 9px; border-radius: 999px; background: var(--green);
  box-shadow: 0 0 0 6px rgba(26, 127, 85, .12);
}
.live-timer { display: inline-block; margin-top: 8px; font-size: 22px; color: var(--ink); }
code { background: #f1f4f8; border-radius: 6px; padding: 2px 5px; overflow-wrap: anywhere; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .container { padding: 0 20px; }

  /* Topbar */
  .topbar-inner { height: auto; min-height: 60px; padding: 10px 0; flex-wrap: wrap; }
  nav { display: none; }
  .language-switcher { margin-left: auto; }

  /* Hero */
  .hero { padding: 56px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .phone-wrap { order: -1; }
  .phone { width: min(280px, 100%); }
  h1 { font-size: clamp(38px, 8vw, 56px); }
  .lead { font-size: 16px; }

  /* Trust bar */
  .trust-bar-inner { flex-wrap: wrap; }
  .trust-item { flex: 0 0 50%; border-right: none; border-bottom: 1px solid var(--line); }
  .trust-item:nth-child(odd)  { border-right: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: none; }
  .trust-item:nth-last-child(2) { border-bottom: none; }

  /* Grids */
  .steps-grid,
  .features-grid,
  .shot-grid,
  .support-grid,
  .split-inner { grid-template-columns: 1fr; }
  .section-inner { padding: 56px 0; }

  /* Support */
  .support-top { grid-template-columns: 1fr; gap: 24px; }

  /* App CTA */
  .app-cta-inner { padding: 64px 0; }
  .app-cta-inner h2 { font-size: 32px; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 20px; align-items: flex-start; }

  /* Admin */
  .admin-wrap { padding: 166px 14px 14px; }
  .admin-head { padding: 12px 14px 10px; }
  .admin-actions { display: none; }
  .admin-mobile-actions { display: block; }
  .admin-topline { align-items: flex-start; }
  .admin-nav { gap: 7px; padding-bottom: 2px; }
  .admin-nav a { min-height: 32px; padding: 0 10px; font-size: 12px; }
  .admin-grid, .admin-card { scroll-margin-top: 104px; }
  .admin-grid, .config-grid, .detail-grid, .two-col, .admin-quick-grid,
  .status-grid, .status-grid.compact { grid-template-columns: 1fr; }
}
