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

:root {
  --bg: #f5f7fc;
  --surface: #ffffff;
  --ink: #0c1633;
  --muted: #5a6580;
  --line: #e4e9f4;
  --accent: #1f5eff;
  --accent-strong: #1547c9;
  --accent-soft: #eaf0ff;
  --gold: #f6a723;
  --green: #12a150;
  --green-soft: #e8f7ee;
  --red: #d93a2f;
  --red-soft: #fdecec;
  --gray-tag: #8b93a7;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(900px 520px at 88% -12%, #dbe7ff 0%, rgba(219, 231, 255, 0) 62%),
    radial-gradient(760px 460px at -8% 8%, #e9f0ff 0%, rgba(233, 240, 255, 0) 58%),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 0;
  background: rgba(245, 247, 252, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(228, 233, 244, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 26px;
  height: 20px;
  flex: 0 0 auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.lang-switch:hover { color: var(--ink); border-color: #c9d5ec; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 13px 26px;
  border: 0;
  border-radius: 12px;
  text-decoration: none;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(31, 94, 255, 0.22);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--accent-strong);
  box-shadow: 0 12px 28px rgba(31, 94, 255, 0.26);
}

.btn:active { transform: translateY(1px); }

.btn:disabled { opacity: 0.65; cursor: progress; }

.btn-sm {
  padding: 10px 18px;
  font-size: 0.88rem;
  border-radius: 10px;
  box-shadow: none;
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(20, 40, 100, 0.06);
}

.btn-ghost:hover { background: #fff; border-color: #c9d5ec; box-shadow: 0 8px 20px rgba(20, 40, 100, 0.09); }

.hero {
  text-align: center;
  padding: 64px 0 4px;
}

.badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.15rem, 5.4vw, 3.5rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 auto 16px;
  max-width: 760px;
}

.hero .lead {
  max-width: 620px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.84rem;
}

section { padding: 60px 0; }

h2 {
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.section-head {
  text-align: center;
  margin-bottom: 8px;
}

.section-head p {
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 88px 1fr;
  align-items: stretch;
  gap: 8px;
  max-width: 940px;
  margin: 52px auto 0;
}

.gmb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  max-width: 410px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 24px 50px rgba(20, 40, 100, 0.11);
}

.tag {
  position: absolute;
  top: -14px;
  left: 18px;
  z-index: 2;
  color: #fff;
  font-weight: 750;
  font-size: 0.92rem;
  padding: 7px 22px;
  border-radius: 999px;
  background: var(--gray-tag);
  box-shadow: 0 8px 18px rgba(20, 40, 100, 0.16);
}

.tag-after { background: var(--accent); }

.gmb-photo {
  height: 138px;
  background: #dfe8ff;
  border-radius: 17px 17px 0 0;
  overflow: hidden;
}

.gmb-photo svg { display: block; width: 100%; height: 100%; }

.gmb-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}

.gmb-name {
  font-size: 1.14rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.gmb-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gmb-rating .score { font-weight: 800; font-size: 1.15rem; }

.stars {
  position: relative;
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 2px;
  line-height: 1;
  color: #dbe1ee;
  white-space: nowrap;
}

.stars-fill {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--gold);
}

.gmb-count { color: var(--muted); font-size: 0.9rem; }

.gmb-status {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.88rem;
}

.gmb-status .open { color: var(--green); font-weight: 650; }

.gmb-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 14px -20px 0;
  padding: 12px 20px;
}

.gmb-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-size: 0.71rem;
  font-weight: 650;
  text-decoration: none;
}

.gmb-action svg {
  width: 20px;
  height: 20px;
  padding: 5px;
  border: 1.5px solid #bccdf1;
  border-radius: 50%;
  box-sizing: content-box;
}

.gmb-reviews { margin-top: 14px; }

.gmb-reviews h3 {
  font-size: 0.94rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.bars { list-style: none; display: grid; gap: 6px; }

.bars li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  color: var(--muted);
}

.bar {
  height: 8px;
  background: #e6eaf3;
  border-radius: 999px;
  overflow: hidden;
}

.bar > span {
  display: block;
  height: 100%;
  background: var(--gold);
  border-radius: 999px;
}

.arrow {
  justify-self: center;
  align-self: center;
  color: var(--green);
}

.compare-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 28px;
}

.result-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  max-width: 410px;
  width: 100%;
  margin: 0 auto;
  padding: 26px 24px 22px;
  box-shadow: 0 24px 50px rgba(20, 40, 100, 0.11);
}

.result-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.result-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}

.result-row + .result-row { border-top: 1px solid var(--line); }

.result-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.result-icon svg { width: 22px; height: 22px; }

.result-label {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.result-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.verdict {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.45;
}

.verdict svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; }

.verdict-bad { background: var(--red-soft); color: #a92a21; }
.verdict-good { background: var(--green-soft); color: #0c6e39; }

.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.benefit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.benefit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(20, 40, 100, 0.08);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.benefit-icon svg { width: 21px; height: 21px; }

.benefit h3 {
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.benefit p {
  color: var(--muted);
  font-size: 0.93rem;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 38px;
  max-width: 660px;
  margin: 34px auto 0;
  box-shadow: 0 24px 54px rgba(20, 40, 100, 0.09);
}

.form-card h2 { margin-bottom: 8px; }

.form-intro {
  color: var(--muted);
  margin-bottom: 26px;
  font-size: 0.97rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label {
  font-size: 0.84rem;
  font-weight: 650;
  color: #26304d;
}

.field input,
.field select {
  font: inherit;
  color: var(--ink);
  background: #fbfcff;
  border: 1px solid #d8e0ef;
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 94, 255, 0.16);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-card .btn { width: 100%; margin-top: 8px; }

.form-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.79rem;
  text-align: center;
}

.status {
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 650;
  text-align: center;
  min-height: 1.4em;
}

.status[data-state="pending"] { color: var(--muted); }
.status[data-state="success"] { color: var(--green); }
.status[data-state="error"] { color: var(--red); }

.faq {
  max-width: 740px;
  margin: 30px auto 0;
  display: grid;
  gap: 10px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

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

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 500;
}

.faq details[open] summary::after { content: "−"; }

.faq details p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-top: 10px;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding: 34px 0 46px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.footer-brand .brand-mark { width: 22px; height: 17px; }

.site-footer a { color: var(--accent-strong); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 780px) {
  .compare { grid-template-columns: 1fr; gap: 44px; }
  .arrow { transform: rotate(90deg); padding: 4px 0; }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 26px 20px; }
  section { padding: 46px 0; }
  .benefits { grid-template-columns: 1fr; }
  .header-nav .btn { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
