/* Hearing Service — общий стиль сайта. Только системные шрифты: без внешних запросов. */
:root {
  --bg: #ffffff;
  --bg-soft: #f3f8fa;
  --bg-tint: #e6f3f3;
  --text: #1c2b33;
  --muted: #53646d;
  --line: #d8e4e8;
  --brand: #0f7c80;
  --brand-dark: #0a5f63;
  --accent: #2b6cb0;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 42, 51, .06), 0 6px 20px rgba(16, 42, 51, .06);
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; color: #12242c; }
h1 { font-size: clamp(1.8rem, 5vw, 2.7rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: .35em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand); color: #fff; padding: 8px 14px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid #7cc4c7; outline-offset: 2px; }

/* Шапка */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 1.1rem; }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo small { display: block; font-weight: 400; font-size: .75rem; color: var(--muted); line-height: 1.2; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px; font: inherit; font-size: .95rem; color: var(--text); cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
.site-nav { display: none; }
.site-nav.open { display: block; position: absolute; left: 0; right: 0; top: 64px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.site-nav ul { list-style: none; margin: 0; padding: 8px 16px 16px; }
.site-nav li { margin: 0; }
.site-nav a { display: block; padding: 10px 4px; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--bg-soft); }
.site-nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }
.no-js .site-nav { display: block; position: static; box-shadow: none; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open { display: block; position: static; box-shadow: none; border: 0; }
  .site-nav ul { display: flex; gap: 4px; padding: 0; }
  .site-nav a { border: 0; padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
  .site-nav a:hover { background: var(--bg-soft); }
}

/* Кнопки */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--brand); color: #fff; text-decoration: none; font-weight: 600;
  border: 2px solid var(--brand); font: inherit; font-weight: 600; cursor: pointer;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand-dark); }
.btn-ghost:hover { background: var(--bg-tint); color: var(--brand-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Секции */
section { padding: 48px 0; }
.section-soft { background: var(--bg-soft); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 46em; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--brand); margin-bottom: .5em; }

.hero { padding: 40px 0 48px; background: linear-gradient(180deg, var(--bg-tint), var(--bg) 85%); }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-art { max-width: 420px; margin: 0 auto; }
@media (min-width: 900px) {
  .hero { padding: 72px 0; }
  .hero-grid { grid-template-columns: 1.2fr 1fr; gap: 48px; }
}

.page-head { padding: 36px 0 28px; background: var(--bg-tint); }
.page-head p { color: var(--muted); max-width: 44em; margin: 0; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }

.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-tint); display: grid; place-items: center; margin-bottom: 12px; color: var(--brand); }
.card .icon svg { width: 26px; height: 26px; }
.card .more { font-weight: 600; text-decoration: none; }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0; }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 10px;
}
.steps strong { display: block; margin-bottom: 4px; }

.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: .45em; width: 14px; height: 8px;
  border-left: 3px solid var(--brand); border-bottom: 3px solid var(--brand); transform: rotate(-45deg);
}

.service { padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.service:last-child { border-bottom: 0; }
.service-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .service-grid { grid-template-columns: 1.4fr 1fr; gap: 40px; } }
.aside-box { background: var(--bg-soft); border-radius: var(--radius); padding: 18px 20px; font-size: .95rem; }
.aside-box h3 { font-size: 1rem; }

/* Таблица цен */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 28px; }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
caption { text-align: left; font-weight: 700; font-size: 1.1rem; padding: 14px 16px; background: var(--bg-soft); }
th, td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
thead th { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #fff; }
td.price { white-space: nowrap; font-weight: 600; text-align: right; }
th.price { text-align: right; }
td small { display: block; color: var(--muted); }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: var(--brand); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding-bottom: 16px; color: #2c3d45; }

/* Призыв к действию */
.cta { background: var(--brand-dark); color: #eaf6f6; border-radius: 20px; padding: 32px 24px; }
.cta h2 { color: #fff; }
.cta .btn { background: #fff; color: var(--brand-dark); border-color: #fff; }
.cta .btn:hover { background: var(--bg-tint); }

.note {
  border-left: 4px solid var(--accent); background: #eef4fb; padding: 14px 18px; border-radius: 0 10px 10px 0;
  font-size: .95rem; color: #25384a; margin: 20px 0;
}

/* Форма */
.form { display: grid; gap: 14px; }
.form label { font-weight: 600; font-size: .95rem; display: block; margin-bottom: 4px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 11px 13px; border: 1px solid #b9cbd1; border-radius: 10px; background: #fff; color: var(--text);
}
.form textarea { min-height: 130px; resize: vertical; }
.form .hint { font-size: .85rem; color: var(--muted); margin: 0; }
.form-msg { display: none; background: var(--bg-tint); border: 1px solid #b6dcdc; border-radius: 12px; padding: 14px 16px; }
.form-msg.show { display: block; }
.contact-list { list-style: none; padding: 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list b { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; }

/* Подвал */
.site-footer { background: #10262d; color: #c5d6db; padding: 40px 0 24px; margin-top: 48px; font-size: .95rem; }
.site-footer a { color: #e6f3f3; }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: .6em; }
.site-footer ul { list-style: none; padding: 0; }
.footer-bottom { border-top: 1px solid #2a434b; margin-top: 24px; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .88rem; }
.footer-note { font-size: .85rem; color: #9fb4ba; }

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.narrow { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }
.big404 { font-size: clamp(4rem, 18vw, 8rem); font-weight: 800; color: var(--bg-tint); line-height: 1; margin: 0; -webkit-text-stroke: 2px var(--brand); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
