/* ============================================================
   AUDIT CSS — аудит карточки 2ГИС
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --green:       #16A34A;
  --green-light: #F0FDF4;
  --green-mid:   #DCFCE7;
  --green-dark:  #15803D;
  --black:       #111111;
  --gray:        #6B7280;
  --gray-light:  #9CA3AF;
  --gray-border: #E5E7EB;
  --bg:          #FFFFFF;
  --bg-light:    #F9FAFB;
  --red:         #EF4444;
  --red-light:   #FEF2F2;
  --red-mid:     #FEE2E2;
  --yellow:      #F59E0B;
  --radius-sm:   8px;
  --radius:      16px;
  --radius-lg:   24px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:      0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.05);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.07);
  --transition:  .22s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--black);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────────── */
.h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; line-height: 1.3; }
.lead { font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--gray); line-height: 1.7; }
.label { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-bg { background: var(--bg-light); }
.grid-2 { display: grid; gap: 24px; }
.grid-3 { display: grid; gap: 24px; }
.grid-4 { display: grid; gap: 20px; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 600; transition: var(--transition);
  white-space: nowrap; cursor: pointer;
}
.btn-primary {
  background: var(--green); color: #fff;
  box-shadow: 0 4px 16px rgba(22,163,74,.3);
}
.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 6px 20px rgba(22,163,74,.4);
  transform: translateY(-1px);
}
.btn-lg { padding: 18px 36px; font-size: 1.1rem; border-radius: 10px; }
.btn-white { background: #fff; color: var(--green); }
.btn-white:hover { background: var(--green-light); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; transform: translateY(-1px); }
.btn-whatsapp {
  background: #25D366; color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
}
.btn-whatsapp:hover { background: #20b55a; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(37,211,102,.45); }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--bg); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--gray-border);
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 16px; flex-shrink: 0;
}
.card-icon.red { background: var(--red-light); color: var(--red); }
.card-icon.yellow { background: #FFFBEB; color: var(--yellow); }

/* ── Badge ───────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 100px; font-size: .78rem; font-weight: 600;
}
.badge-green { background: var(--green-mid); color: var(--green-dark); }
.badge-red   { background: var(--red-mid); color: #B91C1C; }
.badge-yellow{ background: #FEF3C7; color: #92400E; }
.badge-gray  { background: #F3F4F6; color: #374151; }

/* ── Section header ─────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .label { margin-bottom: 12px; display: block; }
.section-header .h2 { margin-bottom: 16px; }
.section-header .lead { max-width: 560px; margin: 0 auto; }

/* ── NAV ─────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--gray-border);
  padding: 16px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem;
}
.nav-logo-icon {
  width: 36px; height: 36px; background: var(--green); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
}
.nav-cta { display: none; }
@media (min-width: 640px) { .nav-cta { display: inline-flex; } }

/* ══════════════════════════════════════════════════════════════
   AUDIT INDEX PAGE
   ══════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 100px;
  background: linear-gradient(160deg, #fff 60%, var(--green-light) 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid; gap: 56px; align-items: center;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 80px; }
}
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-mid); color: var(--green-dark);
  border-radius: 100px; padding: 6px 14px;
  font-size: .85rem; font-weight: 600; margin-bottom: 24px;
}
.hero-label i { font-size: .8rem; }
.hero-title { margin-bottom: 20px; }
.hero-title span { color: var(--green); }
.hero-lead { margin-bottom: 36px; }
.hero-cta-wrap { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hero-cta-note { font-size: .85rem; color: var(--gray); display: flex; align-items: center; gap: 6px; }
.hero-cta-note i { color: var(--green); }

/* ── Hero mockup ─────────────────────────────────────────────── */
.hero-mockup {
  position: relative;
}
.mockup-card {
  background: #fff; border-radius: 20px; padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.12), 0 4px 16px rgba(0,0,0,.07);
  border: 1px solid var(--gray-border);
}
.mockup-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
  padding-bottom: 16px; border-bottom: 1px solid var(--gray-border);
}
.mockup-avatar {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem;
}
.mockup-biz-name { font-weight: 700; font-size: .95rem; }
.mockup-biz-cat { font-size: .78rem; color: var(--gray); }
.mockup-stars { color: var(--yellow); font-size: .8rem; margin-top: 2px; }

.mockup-scores { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.mockup-score-box {
  background: var(--bg-light); border-radius: 12px; padding: 14px; text-align: center;
}
.mockup-score-val { font-size: 1.6rem; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.mockup-score-val.green { color: var(--green); }
.mockup-score-val.blue  { color: #3B82F6; }
.mockup-score-lbl { font-size: .72rem; color: var(--gray); font-weight: 500; }

.mockup-chart-bar {
  margin-bottom: 16px;
}
.mockup-bar-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.mockup-bar-lbl { font-size: .75rem; color: var(--gray); width: 64px; flex-shrink: 0; }
.mockup-bar-track { flex: 1; height: 7px; background: #F3F4F6; border-radius: 99px; overflow: hidden; }
.mockup-bar-fill { height: 100%; border-radius: 99px; transition: width 1s ease; }
.mockup-bar-fill.green { background: var(--green); }
.mockup-bar-fill.red   { background: var(--red); }
.mockup-bar-fill.gray  { background: var(--gray-light); }
.mockup-bar-pct { font-size: .75rem; font-weight: 600; width: 32px; text-align: right; }

.mockup-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.mockup-tag {
  background: var(--green-light); color: var(--green-dark);
  padding: 4px 10px; border-radius: 100px; font-size: .72rem; font-weight: 600;
}

.mockup-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mockup-mini-card {
  border-radius: 10px; padding: 12px; font-size: .78rem; font-weight: 600;
}
.mockup-mini-card.pos { background: var(--green-light); color: var(--green-dark); }
.mockup-mini-card.neg { background: var(--red-light); color: #B91C1C; }
.mockup-mini-card i { display: block; font-size: 1rem; margin-bottom: 4px; }

.mockup-float {
  position: absolute; background: #fff; border-radius: 12px; padding: 10px 14px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; animation: float 3s ease-in-out infinite;
}
.mockup-float.f1 { top: -20px; right: -20px; }
.mockup-float.f2 { bottom: -16px; left: -16px; animation-delay: 1.5s; }
.mockup-float-icon {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: .9rem;
}
.mockup-float-icon.green { background: var(--green-light); color: var(--green); }
.mockup-float-icon.blue  { background: #EFF6FF; color: #3B82F6; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ── Pain section ─────────────────────────────────────────────── */
.pain-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--gray-border);
  transition: var(--transition); display: flex; gap: 16px;
}
.pain-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.pain-num {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--red-light); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; flex-shrink: 0;
}
.pain-title { font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.pain-desc { font-size: .9rem; color: var(--gray); line-height: 1.5; }

/* ── What audit shows ─────────────────────────────────────────── */
.audit-card {
  background: var(--bg); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid var(--gray-border);
  transition: var(--transition); text-align: left;
}
.audit-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.audit-card-title { font-weight: 700; margin-bottom: 8px; font-size: 1rem; }
.audit-card-desc { font-size: .9rem; color: var(--gray); line-height: 1.5; }

/* ── Example result block ─────────────────────────────────────── */
.example-mockup {
  background: var(--bg); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--gray-border);
}
.example-mockup-header {
  background: var(--green); color: #fff; padding: 20px 28px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: gap;
}
.example-mockup-title { font-weight: 700; font-size: 1.1rem; }
.example-mockup-body { padding: 28px; }
.example-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.example-stat-box {
  background: var(--bg-light); border-radius: 12px; padding: 16px; text-align: center;
}
.example-stat-val { font-size: 1.8rem; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.example-stat-val.green { color: var(--green); }
.example-stat-val.red   { color: var(--red); }
.example-stat-val.blue  { color: #3B82F6; }
.example-stat-lbl { font-size: .75rem; color: var(--gray); }
.example-words { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.example-word {
  background: var(--green-light); color: var(--green-dark); border-radius: 100px;
  padding: 5px 12px; font-size: .8rem; font-weight: 600;
}
.example-recs { display: flex; flex-direction: column; gap: 12px; }
.example-rec {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px;
  background: var(--bg-light); border-radius: 12px;
}
.example-rec-icon {
  width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: .95rem;
}
.example-rec-icon.green { background: var(--green-light); color: var(--green); }
.example-rec-icon.yellow{ background: #FFFBEB; color: var(--yellow); }
.example-rec-icon.red   { background: var(--red-light); color: var(--red); }
.example-rec-text strong { font-size: .9rem; font-weight: 700; display: block; margin-bottom: 2px; }
.example-rec-text span { font-size: .82rem; color: var(--gray); }

/* ── How it works ─────────────────────────────────────────────── */
.step-card {
  text-align: center; padding: 36px 24px;
  background: var(--bg); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--gray-border);
  transition: var(--transition); position: relative;
}
.step-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800; margin: 0 auto 20px;
}
.step-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; }
.step-desc { font-size: .9rem; color: var(--gray); line-height: 1.5; }

/* ── CTA section ─────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  padding: 80px 0; text-align: center; color: #fff;
}
.cta-section .h2 { color: #fff; margin-bottom: 16px; }
.cta-section .lead { color: rgba(255,255,255,.85); margin-bottom: 36px; }

/* ── Modal ───────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px; opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: #fff; border-radius: 20px; width: 100%; max-width: 520px;
  box-shadow: 0 24px 80px rgba(0,0,0,.2);
  transform: translateY(20px) scale(.97);
  transition: transform var(--transition), opacity var(--transition);
  opacity: 0; overflow: hidden; max-height: 95vh; overflow-y: auto;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); opacity: 1; }
.modal-header {
  padding: 28px 28px 0;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.modal-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; }
.modal-subtitle { font-size: .9rem; color: var(--gray); }
.modal-close {
  width: 36px; height: 36px; border-radius: 8px; background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); font-size: 1rem; flex-shrink: 0; cursor: pointer;
  transition: var(--transition);
}
.modal-close:hover { background: var(--gray-border); color: var(--black); }
.modal-body { padding: 24px 28px 28px; }

/* ── Form ─────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 8px; }
.form-input {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 2px solid var(--gray-border); font-size: 1rem; font-family: inherit;
  transition: var(--transition); background: var(--bg); color: var(--black);
  outline: none;
}
.form-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(22,163,74,.12); }
.form-input.error { border-color: var(--red); box-shadow: 0 0 0 3px rgba(239,68,68,.1); }
.form-error { font-size: .8rem; color: var(--red); margin-top: 5px; display: none; }
.form-error.show { display: block; }
.form-note { font-size: .8rem; color: var(--gray); text-align: center; margin-top: 12px; line-height: 1.5; }
.form-note i { color: var(--green); }

/* Captcha placeholder */
.captcha-box {
  background: var(--bg-light); border: 2px solid var(--gray-border); border-radius: var(--radius-sm);
  padding: 16px; display: flex; align-items: center; gap: 14px;
}
.captcha-checkbox {
  width: 22px; height: 22px; border: 2px solid var(--gray-border);
  border-radius: 4px; flex-shrink: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.captcha-checkbox.checked { background: var(--green); border-color: var(--green); color: #fff; }
.captcha-label { font-size: .9rem; }
.captcha-logo { margin-left: auto; font-size: .7rem; color: var(--gray); text-align: center; flex-shrink: 0; }
.captcha-logo i { display: block; font-size: 1.2rem; color: #4285F4; }

/* ── Loading state ─────────────────────────────────────────────── */
.loading-state { display: none; padding: 28px; }
.loading-state.active { display: block; }
.loading-header { text-align: center; margin-bottom: 28px; }
.loading-spinner {
  width: 56px; height: 56px; margin: 0 auto 16px;
  border: 4px solid var(--green-mid); border-top-color: var(--green);
  border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; }
.loading-subtitle { font-size: .85rem; color: var(--gray); }
.loading-progress { margin-bottom: 24px; }
.progress-track {
  height: 6px; background: var(--green-mid); border-radius: 99px;
  overflow: hidden; margin-bottom: 8px;
}
.progress-fill {
  height: 100%; background: var(--green); border-radius: 99px;
  width: 0; transition: width .6s ease;
}
.progress-pct { font-size: .8rem; color: var(--gray); text-align: right; }
.loading-steps { display: flex; flex-direction: column; gap: 10px; }
.loading-step {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border-radius: 10px; background: var(--bg-light); transition: var(--transition);
}
.loading-step.active { background: var(--green-light); }
.loading-step.done   { background: var(--green-mid); }
.step-status {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--gray-border); background: #fff;
  display: flex; align-items: center; justify-content: center; font-size: .7rem;
  transition: var(--transition);
}
.loading-step.active .step-status { border-color: var(--green); background: var(--green); color: #fff; animation: pulse-step .6s ease-in-out infinite alternate; }
.loading-step.done  .step-status { border-color: var(--green-dark); background: var(--green-dark); color: #fff; }
@keyframes pulse-step {
  from { transform: scale(1); }
  to   { transform: scale(1.15); }
}
.step-text { font-size: .9rem; font-weight: 500; }
.loading-step.active .step-text { color: var(--green-dark); font-weight: 600; }

/* ── Sticky CTA ───────────────────────────────────────────────── */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  padding: 12px 16px; background: #fff;
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  border-top: 1px solid var(--gray-border);
  display: none;
}
@media (max-width: 767px) { .sticky-cta { display: block; } }
.sticky-cta .btn { width: 100%; justify-content: center; }
body:has(.sticky-cta) { padding-bottom: 76px; }

/* ══════════════════════════════════════════════════════════════
   RESULT PAGE
   ══════════════════════════════════════════════════════════════ */

/* ── Result hero ──────────────────────────────────────────────── */
.result-hero {
  background: linear-gradient(160deg, var(--green-light) 0%, #fff 60%);
  padding: 48px 0 56px;
}
.result-hero-label { margin-bottom: 10px; }
.result-hero-title { margin-bottom: 8px; }
.result-hero-subtitle { color: var(--gray); font-size: 1rem; }

/* Business card */
.biz-card {
  background: #fff; border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); border: 1px solid var(--gray-border);
  display: flex; flex-direction: column; gap: 20px;
  margin-top: 32px;
}
@media (min-width: 640px) { .biz-card { flex-direction: row; align-items: center; } }
.biz-photo {
  width: 80px; height: 80px; border-radius: 14px;
  object-fit: cover; flex-shrink: 0;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2rem;
}
.biz-info { flex: 1; }
.biz-name { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.biz-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.biz-meta-item { display: flex; align-items: center; gap: 5px; font-size: .85rem; color: var(--gray); }
.biz-meta-item i { color: var(--green); font-size: .8rem; }
.biz-stars { display: flex; align-items: center; gap: 4px; }
.biz-stars .star { color: var(--yellow); font-size: .9rem; }
.biz-stars .star.empty { color: #D1D5DB; }
.biz-rating-val { font-weight: 700; font-size: 1rem; }
.biz-actions { display: flex; align-items: center; }

/* ── Rating block ─────────────────────────────────────────────── */
.rating-block { padding: 56px 0; }
.rating-card {
  background: #fff; border-radius: 20px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--gray-border);
  overflow: hidden;
}
.rating-card-header {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  padding: 28px 32px; color: #fff; display: flex; align-items: center; gap: 20px;
}
.rating-big { font-size: 4rem; font-weight: 800; line-height: 1; }
.rating-hdr-stars { color: rgba(255,255,255,.85); font-size: .9rem; margin-top: 4px; }
.rating-hdr-reviews { font-size: .85rem; opacity: .8; }
.rating-card-body { padding: 28px 32px; }
.rating-metrics { display: grid; gap: 20px; }
@media (min-width: 640px) { .rating-metrics { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .rating-metrics { grid-template-columns: repeat(3, 1fr); } }

.rating-metric { text-align: center; }
.metric-circle-wrap {
  position: relative; width: 100px; height: 100px; margin: 0 auto 12px;
}
.metric-circle-svg { transform: rotate(-90deg); }
.metric-circle-bg { fill: none; stroke: #E5E7EB; stroke-width: 8; }
.metric-circle-fill { fill: none; stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 1.2s ease; }
.metric-circle-val {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800;
}
.metric-circle-val small { font-size: .65rem; font-weight: 500; color: var(--gray); }
.metric-label { font-size: .85rem; font-weight: 600; }
.metric-sublabel { font-size: .75rem; color: var(--gray); }

.rating-bars { margin-top: 24px; border-top: 1px solid var(--gray-border); padding-top: 24px; }
.rating-bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rating-bar-lbl { font-size: .85rem; color: var(--gray); width: 80px; flex-shrink: 0; }
.rating-bar-track { flex: 1; height: 8px; background: #F3F4F6; border-radius: 99px; overflow: hidden; }
.rating-bar-fill { height: 100%; border-radius: 99px; transition: width 1s ease .2s; }
.rating-bar-fill.green  { background: var(--green); }
.rating-bar-fill.red    { background: var(--red); }
.rating-bar-fill.yellow { background: var(--yellow); }
.rating-bar-pct { font-size: .82rem; font-weight: 600; width: 36px; text-align: right; flex-shrink: 0; }

/* ── Strong sides ─────────────────────────────────────────────── */
.strong-section { padding: 56px 0; background: var(--bg-light); }
.strong-summary {
  background: var(--green-light); border: 1px solid var(--green-mid);
  border-radius: var(--radius); padding: 20px 24px; margin-bottom: 32px;
  display: flex; gap: 14px; align-items: flex-start;
}
.strong-summary-icon { color: var(--green); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.strong-summary-text { font-size: .95rem; color: #166534; line-height: 1.6; }
.strong-card {
  background: #fff; border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); border: 1px solid var(--gray-border);
  border-top: 3px solid var(--green); transition: var(--transition);
}
.strong-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.strong-card-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 14px; }
.strong-card-title { font-weight: 700; margin-bottom: 6px; }
.strong-card-desc { font-size: .88rem; color: var(--gray); line-height: 1.5; }

/* ── Review sliders ───────────────────────────────────────────── */
.reviews-slider-section { padding: 40px 0; }
.slider-title { font-size: 1rem; font-weight: 700; color: var(--gray); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.swiper { overflow: hidden; }
.swiper-wrapper { display: flex; }
.review-card {
  border-radius: var(--radius); padding: 24px; border: 1px solid var(--gray-border);
  box-shadow: var(--shadow); background: #fff; height: auto;
}
.review-card.pos { border-top: 3px solid var(--green); }
.review-card.neg { border-top: 3px solid var(--red); background: #FFFBFB; }
.review-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; color: #fff; flex-shrink: 0;
}
.review-avatar.pos { background: var(--green); }
.review-avatar.neg { background: var(--red); }
.review-name { font-weight: 700; font-size: .9rem; }
.review-date { font-size: .75rem; color: var(--gray); }
.review-stars { color: var(--yellow); font-size: .85rem; }
.review-text { font-size: .88rem; color: #374151; line-height: 1.6; margin-bottom: 12px; }
.review-text.clamped { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.review-footer { display: flex; align-items: center; justify-content: space-between; }
.btn-show-more { font-size: .8rem; color: var(--green); font-weight: 600; background: none; border: none; cursor: pointer; padding: 0; }
.btn-show-more:hover { text-decoration: underline; }
.swiper-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; }
.swiper-btn {
  width: 40px; height: 40px; border-radius: 50%; background: var(--bg-light);
  border: 2px solid var(--gray-border); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); color: var(--gray);
}
.swiper-btn:hover { background: var(--green); border-color: var(--green); color: #fff; }
.swiper-pagination-custom { display: flex; gap: 6px; align-items: center; }
.swiper-dot { width: 6px; height: 6px; border-radius: 3px; background: var(--gray-border); transition: var(--transition); cursor: pointer; }
.swiper-dot.active { width: 20px; background: var(--green); }

/* ── Weak sides ───────────────────────────────────────────────── */
.weak-section { padding: 56px 0; }
.weak-summary {
  background: var(--red-light); border: 1px solid var(--red-mid);
  border-radius: var(--radius); padding: 20px 24px; margin-bottom: 32px;
  display: flex; gap: 14px; align-items: flex-start;
}
.weak-summary-icon { color: var(--red); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.weak-summary-text { font-size: .95rem; color: #991B1B; line-height: 1.6; }
.weak-card {
  background: #fff; border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); border: 1px solid var(--gray-border);
  border-top: 3px solid var(--red); transition: var(--transition);
}
.weak-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.weak-card-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--red-light); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 14px; }
.weak-card-title { font-weight: 700; margin-bottom: 6px; }
.weak-card-desc { font-size: .88rem; color: var(--gray); line-height: 1.5; margin-bottom: 12px; }
.severity-badge { display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 100px; }
.severity-high   { background: var(--red-mid); color: #B91C1C; }
.severity-medium { background: #FEF3C7; color: #92400E; }
.severity-low    { background: #F3F4F6; color: #374151; }

/* ── Analytics ────────────────────────────────────────────────── */
.analytics-section { padding: 56px 0; background: var(--bg-light); }
.analytics-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .analytics-grid { grid-template-columns: 1fr 1fr; } }
.analytics-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--gray-border); }
.analytics-card-title { font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.analytics-card-title i { color: var(--green); }
.chart-container { position: relative; height: 220px; }
.word-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.word-tag {
  padding: 6px 14px; border-radius: 100px; font-size: .82rem; font-weight: 600;
  cursor: default; transition: var(--transition);
}
.word-tag.pos { background: var(--green-light); color: var(--green-dark); }
.word-tag.neg { background: var(--red-light); color: #991B1B; }
.word-tag.neu { background: #F3F4F6; color: #374151; }
.word-tag:hover { transform: scale(1.05); }
.word-tag small { font-size: .72rem; opacity: .8; margin-left: 4px; }

/* ── Recommendations ──────────────────────────────────────────── */
.recs-section { padding: 56px 0; }
.recs-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .recs-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .recs-grid { grid-template-columns: repeat(3, 1fr); } }
.rec-card {
  background: #fff; border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); border: 1px solid var(--gray-border);
  transition: var(--transition);
}
.rec-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.rec-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.rec-card-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.rec-card-title { font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.rec-card-desc { font-size: .87rem; color: var(--gray); line-height: 1.5; }

/* ── Main CTA (result) ────────────────────────────────────────── */
.result-cta {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  padding: 72px 0; text-align: center; color: #fff;
}
.result-cta .h2 { color: #fff; margin-bottom: 16px; }
.result-cta .lead { color: rgba(255,255,255,.85); margin-bottom: 8px; }
.result-cta-list { list-style: none; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 36px; }
.result-cta-list li { display: flex; align-items: center; gap: 8px; font-size: .95rem; color: rgba(255,255,255,.9); }
.result-cta-list i { color: rgba(255,255,255,.9); }

/* ── PDF block ────────────────────────────────────────────────── */
.pdf-section { padding: 40px 0; text-align: center; }
.pdf-note { font-size: .85rem; color: var(--gray); margin-top: 10px; }

.pdf-report-source {
  position: fixed;
  left: -99999px;
  top: 0;
  width: 800px;
  opacity: 0;
  pointer-events: none;
}
.pdf-report-source.is-exporting { left: 0; opacity: 1; }
.pdf-report {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #111827;
  background: #fff;
  padding: 28px;
}
.pdf-report-header h1 { margin: 0 0 6px; font-size: 1.8rem; }
.pdf-report-header p { margin: 0 0 16px; color: #4B5563; }
.pdf-report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.pdf-kpi { border: 1px solid #E5E7EB; border-radius: 10px; padding: 12px; text-align: center; }
.pdf-kpi-val { font-size: 1.5rem; font-weight: 800; color: #16A34A; line-height: 1; margin-bottom: 4px; }
.pdf-kpi-lbl { font-size: .78rem; color: #6B7280; }
.pdf-block { margin-bottom: 14px; }
.pdf-block h3 { margin: 0 0 6px; font-size: 1rem; }
.pdf-block p { margin: 0; color: #374151; font-size: .9rem; line-height: 1.5; }
.pdf-block ul { margin: 0; padding-left: 18px; }
.pdf-block li { margin: 5px 0; color: #374151; font-size: .9rem; }
.pdf-cta {
  margin-top: 18px;
  border: 1px solid #DCFCE7;
  background: #F0FDF4;
  border-radius: 12px;
  padding: 14px;
}
.pdf-cta-title { font-weight: 800; margin-bottom: 4px; color: #166534; }
.pdf-cta-text { color: #166534; font-size: .9rem; margin-bottom: 8px; }
.pdf-cta-link, .pdf-cta-url { color: #065F46; font-weight: 700; font-size: .88rem; }

/* ── Review growth calculator ───────────────────────────────── */
.calc-section { padding: 48px 0; background: var(--bg-light); }
.calc-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .calc-grid { grid-template-columns: repeat(3, 1fr); } }
.calc-card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--gray-border);
  box-shadow: var(--shadow); padding: 20px; transition: var(--transition);
}
.calc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.calc-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.calc-badge {
  background: var(--green-light); color: var(--green-dark);
  border-radius: 100px; padding: 4px 10px; font-size: .78rem; font-weight: 700;
}
.calc-delta { font-size: .85rem; font-weight: 700; color: var(--gray); }
.calc-delta.up { color: var(--green-dark); }
.calc-value { font-size: 2rem; font-weight: 800; line-height: 1; margin-bottom: 4px; color: #111827; }
.calc-label { font-size: .82rem; color: var(--gray); margin-bottom: 12px; }
.calc-track { width: 100%; height: 8px; background: #E5E7EB; border-radius: 999px; overflow: hidden; }
.calc-fill { height: 100%; background: linear-gradient(90deg, #22C55E 0%, #16A34A 100%); }

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
  background: var(--black); color: rgba(255,255,255,.7); padding: 32px 0;
}
.footer-inner {
  display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center;
}
@media (min-width: 640px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; }
.footer-logo-icon {
  width: 32px; height: 32px; background: var(--green); border-radius: 7px;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: .9rem;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: .85rem; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: .8rem; }

/* ── Sticky CTA result page ───────────────────────────────────── */
.sticky-cta-result {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  padding: 12px 16px; background: #fff;
  box-shadow: 0 -4px 20px rgba(0,0,0,.12);
  border-top: 1px solid var(--gray-border);
  display: none;
}
@media (max-width: 767px) { .sticky-cta-result { display: block; } }

/* ── Mobile refinements ─────────────────────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .section, .section-sm, .result-hero, .rating-block, .strong-section, .weak-section, .analytics-section, .recs-section { padding-top: 40px; padding-bottom: 40px; }
  .hero { padding-top: 48px; padding-bottom: 56px; }
  .nav { padding: 10px 0; }
  .btn { padding: 12px 16px; font-size: .92rem; }
  .btn-lg { padding: 14px 20px; font-size: .95rem; }
  .card, .audit-card, .strong-card, .weak-card, .analytics-card, .rec-card, .pain-card { padding: 16px; }
  .biz-card { padding: 16px; }
  .biz-photo { width: 64px; height: 64px; font-size: 1.45rem; }
  .rating-card-header, .rating-card-body { padding: 16px; }
  .rating-big { font-size: 3rem; }
  .modal { width: calc(100% - 12px); margin: 6px; max-height: calc(100vh - 12px); }
  .modal-body, .loading-state { padding: 14px; }
  .sticky-cta, .sticky-cta-result { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
}

/* ── Utility ──────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-gray { color: var(--gray); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.hidden { display: none !important; }

/* ── Animations ───────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp .5s ease both; }
.fade-in-delay-1 { animation-delay: .1s; }
.fade-in-delay-2 { animation-delay: .2s; }
.fade-in-delay-3 { animation-delay: .3s; }

/* ── Scroll reveal ────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
