@import url('https://fonts.googleapis.com/css2?family=Bellota+Text:wght@400;700&family=Nunito:wght@400;500;600;700&display=swap');

:root {
  --font-heading: 'Bellota Text', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --mist: #e2eee9;
  --sage: #6f907b;
  --deep: #244c48;
  --ink: #263735;
  --muted: #60706c;
  --clay: #c86f5a;
  --clay-dark: #a54f3e;
  --sun: #d9a63b;
  --blue: #6d8799;
  --line: #d7ded8;
  --shadow: 0 18px 45px rgba(38, 55, 53, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 14px 28px;
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  color: var(--deep);
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #ffffff;
  background: var(--deep);
  border-radius: 8px;
  font-size: 15px;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.main-nav a:hover,
.header-phone:hover {
  color: var(--clay-dark);
}

.header-phone {
  color: var(--deep);
  font-weight: 700;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--deep);
  padding: 0 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--clay);
  border-radius: 8px;
  color: #ffffff;
  background: var(--clay);
  font-weight: 800;
  text-align: center;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--clay-dark);
  border-color: var(--clay-dark);
}

.button-secondary {
  color: var(--deep);
  background: #ffffff;
  border-color: rgba(36, 76, 72, 0.25);
}

.button-secondary:hover {
  color: #ffffff;
  background: var(--deep);
  border-color: var(--deep);
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 15px;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  color: #ffffff;
  background-image: url("assets/hero-family-care.png");
  background-size: cover;
  background-position: center center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 48, 45, 0.78), rgba(28, 48, 45, 0.42) 54%, rgba(28, 48, 45, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 92px 0 70px;
}

.hero h1 {
  max-width: 740px;
  margin: 0;
  font-size: 56px;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions,
.quiz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 780px;
  margin-top: 34px;
}

.trust-row span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: 82px 0;
}

.page-hero {
  padding: 92px 0 70px;
  background: linear-gradient(135deg, #eef5f1, #fbfaf6);
}

.page-hero h1 {
  max-width: 920px;
  margin: 0;
  color: var(--deep);
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: 0;
}

.page-hero p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: 20px;
}

.section-light {
  background: #f1f6f3;
}

.section-muted {
  background: #edf0eb;
}

.section-report {
  background: var(--deep);
  color: #ffffff;
}

.section-request {
  background: #e8efe9;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.report-copy h2,
.request-layout h2,
.city-layout h2 {
  margin: 0;
  color: var(--deep);
  font-size: 38px;
  line-height: 1.16;
  letter-spacing: 0;
}

.section-report h2,
.section-report .eyebrow {
  color: #ffffff;
}

.section-heading p,
.request-layout p,
.city-layout p,
.report-copy p {
  color: var(--muted);
}

.section-report p {
  color: rgba(255, 255, 255, 0.78);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--clay-dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.situation-grid,
.price-grid,
.plan-grid,
.story-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.situation-card,
.price-card,
.plan-card,
.story-card,
.report-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(38, 55, 53, 0.08);
}

.situation-card {
  display: grid;
  gap: 12px;
  min-height: 214px;
  padding: 22px;
  color: var(--ink);
  text-align: left;
}

.situation-card:hover,
.price-card:hover,
.story-card:hover {
  border-color: rgba(200, 111, 90, 0.52);
}

.situation-card strong,
.price-card h3,
.plan-card h3,
.story-card h3 {
  margin: 0;
  color: var(--deep);
  line-height: 1.22;
}

.situation-card span:last-child,
.price-card p,
.plan-card p,
.story-card p,
.story-card span {
  color: var(--muted);
}

.card-number {
  width: 42px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--deep);
  background: var(--mist);
  font-weight: 900;
  font-size: 14px;
}

.situation-link {
  background: var(--deep);
  color: #ffffff;
}

.situation-link strong,
.situation-link span:last-child {
  color: #ffffff;
}

.two-column,
.quiz-layout,
.report-layout,
.request-layout,
.city-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px 16px;
  padding: 18px;
  border-left: 4px solid var(--sage);
  background: #ffffff;
  border-radius: 8px;
}

.steps span {
  grid-row: span 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--deep);
  font-weight: 900;
}

.steps strong,
.steps p {
  margin: 0;
}

.steps p {
  color: var(--muted);
}

.price-card {
  display: grid;
  min-height: 234px;
  padding: 22px;
}

.price-card strong {
  align-self: end;
  color: var(--clay-dark);
  font-size: 24px;
}

.text-button {
  justify-self: start;
  min-height: 42px;
  margin-top: 16px;
  border: 0;
  border-bottom: 2px solid var(--clay);
  color: var(--deep);
  background: transparent;
  font-weight: 800;
  padding: 0;
}

.service-list {
  display: grid;
  gap: 18px;
}

.service-detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(38, 55, 53, 0.08);
  padding: 24px;
}

.service-detail-card h2 {
  margin: 0;
  color: var(--deep);
  font-size: 28px;
  line-height: 1.18;
}

.service-detail-card p {
  color: var(--muted);
}

.include-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.include-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf7;
  padding: 16px;
}

.include-grid strong {
  color: var(--deep);
}

.include-grid ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.service-card-bottom {
  display: grid;
  gap: 14px;
  justify-items: start;
  min-width: 170px;
}

.service-card-bottom strong {
  color: var(--clay-dark);
  font-size: 22px;
}

.price-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.price-row {
  display: grid;
  grid-template-columns: 1.2fr 0.45fr 1fr;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 18px 22px;
}

.price-row:last-child {
  border-bottom: 0;
}

.price-head {
  background: var(--deep);
  color: #ffffff;
  font-weight: 900;
}

.price-row strong {
  color: var(--clay-dark);
}

.price-head strong {
  color: #ffffff;
}

.price-row span:last-child {
  color: var(--muted);
}

.price-head span:last-child {
  color: rgba(255, 255, 255, 0.82);
}

.notice-box {
  margin-top: 20px;
  border-left: 4px solid var(--clay);
  border-radius: 8px;
  background: #fff9ed;
  padding: 18px;
}

.notice-box strong {
  color: var(--deep);
}

.notice-box p {
  margin: 8px 0 0;
  color: var(--muted);
}

.contact-mini,
.contact-panel,
.success-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(38, 55, 53, 0.08);
}

.contact-mini {
  display: grid;
  gap: 6px;
  max-width: 430px;
  margin-top: 24px;
  padding: 18px;
}

.contact-mini a,
.contact-panel a {
  color: var(--deep);
  font-size: 24px;
  font-weight: 900;
}

.contact-mini .contact-link-small,
.contact-panel .contact-link-small {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(33, 76, 72, 0.16);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--deep);
  background: var(--mist);
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
}

.contact-mini small,
.contact-panel small {
  color: var(--clay-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.contact-panel {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 230px;
  padding: 24px;
}

.contact-panel span {
  color: var(--muted);
  font-weight: 800;
}

.contact-panel strong {
  color: var(--deep);
  font-size: 22px;
  line-height: 1.25;
}

.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.success-page {
  min-height: 100vh;
  display: grid;
  align-items: center;
  background: linear-gradient(135deg, #eef5f1, #fbfaf6);
  padding: 40px 0;
}

.success-card {
  max-width: 760px;
  padding: 34px;
}

.success-card h1 {
  margin: 0;
  color: var(--deep);
  font-size: 42px;
  line-height: 1.12;
}

.success-card p {
  color: var(--muted);
}

.success-summary {
  display: grid;
  gap: 8px;
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf7;
  padding: 18px;
}

.success-summary strong {
  color: var(--deep);
  font-size: 22px;
}

.success-summary span {
  color: var(--muted);
}

.quiz-card {
  min-height: 470px;
  padding: 26px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.quiz-progress {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--muted);
  font-weight: 700;
}

.progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7ece8;
}

.progress-track span {
  display: block;
  width: 10%;
  height: 100%;
  background: var(--clay);
  transition: width 0.2s ease;
}

.quiz-question {
  margin: 0 0 18px;
  color: var(--deep);
  font-size: 24px;
  line-height: 1.25;
}

.quiz-options {
  display: grid;
  gap: 10px;
}

.quiz-option {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
  padding: 12px 14px;
}

.quiz-option.is-selected {
  border-color: var(--deep);
  background: var(--mist);
}

.quiz-input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
}

.quiz-result {
  margin-top: 22px;
  border-left: 4px solid var(--clay);
  border-radius: 8px;
  background: #f7f3ea;
  padding: 18px;
}

.quiz-result strong {
  color: var(--deep);
  font-size: 21px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.trust-grid div {
  min-height: 150px;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 20px;
  border: 1px solid rgba(36, 76, 72, 0.16);
  border-radius: 8px;
  background: #ffffff;
}

.trust-grid strong {
  color: var(--deep);
}

.trust-grid span {
  color: var(--muted);
}

.report-layout {
  align-items: center;
}

.report-card {
  color: var(--ink);
  padding: 26px;
}

.report-card span {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--mist);
  color: var(--deep);
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 800;
}

.report-card strong {
  display: block;
  color: var(--deep);
  font-size: 25px;
}

.report-card ul,
.plan-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.plan-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 380px;
  padding: 24px;
}

.plan-card strong {
  color: var(--clay-dark);
  font-size: 22px;
}

.plan-featured {
  border-color: rgba(200, 111, 90, 0.58);
  box-shadow: var(--shadow);
}

.story-card {
  min-height: 230px;
  padding: 22px;
}

.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.city-list span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 0 14px;
  color: var(--deep);
  font-weight: 800;
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.request-form label {
  display: grid;
  gap: 7px;
  color: var(--deep);
  font-weight: 800;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 13px;
}

.request-form textarea {
  min-height: 122px;
  resize: vertical;
  padding-top: 12px;
}

.form-wide {
  grid-column: 1 / -1;
}

.checkbox {
  grid-template-columns: 22px 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 400;
}

.checkbox input {
  min-height: 22px;
  margin: 3px 0 0;
}

.checkbox a,
.legal-links a {
  color: var(--deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  min-height: 28px;
  margin: 0;
  color: var(--deep);
  font-weight: 800;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
}

summary {
  color: var(--deep);
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  background: #1f3432;
  color: #ffffff;
  padding: 54px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 28px;
}

.footer-grid div {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-grid a,
.footer-grid span,
.footer-grid p,
.footer-bottom {
  color: rgba(255, 255, 255, 0.74);
}

.brand-footer {
  color: #ffffff;
}

.brand-footer .brand-mark {
  background: var(--clay);
}

.footer-bottom {
  display: grid;
  gap: 6px;
  margin-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 20px;
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
    gap: 10px;
    padding: 12px 18px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    position: absolute;
    top: 68px;
    left: 18px;
    right: 18px;
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding: 0 16px;
  }

  .header-phone {
    justify-self: end;
  }

  .site-header > .button {
    display: none;
  }

  .hero {
    min-height: 700px;
    background-position: 58% center;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-lead {
    font-size: 20px;
  }

  .situation-grid,
  .price-grid,
  .plan-grid,
  .story-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column,
  .quiz-layout,
  .report-layout,
  .request-layout,
  .city-layout,
  .footer-grid,
  .service-detail-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand span:last-child {
    display: none;
  }

  .header-phone {
    font-size: 14px;
  }

  .hero {
    min-height: 660px;
    background-position: 64% center;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(28, 48, 45, 0.86), rgba(28, 48, 45, 0.48));
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-actions .button,
  .quiz-actions .button {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading h2,
  .report-copy h2,
  .request-layout h2,
  .city-layout h2 {
    font-size: 30px;
  }

  .situation-grid,
  .price-grid,
  .plan-grid,
  .story-grid,
  .trust-grid,
  .faq-grid,
  .request-form,
  .contact-grid,
  .include-grid {
    grid-template-columns: 1fr;
  }

  .page-hero h1,
  .success-card h1 {
    font-size: 34px;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .steps li {
    grid-template-columns: 42px 1fr;
  }

  .steps span {
    width: 42px;
    height: 42px;
  }
}

/* Service instructions and DOCX pass 2026-06-30 */
.service-hero .hero-actions {
  margin-top: 26px;
}

.service-hero h1 {
  max-width: 1040px;
  font-size: 44px;
  line-height: 1.12;
}

.service-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 34px;
  align-items: start;
}

.service-intro-grid h2 {
  margin: 0 0 18px;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 38px;
  line-height: 1.16;
}

.service-intro-grid p {
  color: var(--color-text-muted);
}

.service-limit-box {
  margin-top: 0;
}

.service-list-rich {
  gap: 22px;
}

.service-detail-card-rich {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) minmax(220px, 0.55fr);
  gap: 22px;
}

.service-subtitle {
  display: block;
  margin-top: 12px;
  color: var(--color-primary);
  font-size: 18px;
  line-height: 1.35;
}

.include-grid-rich div {
  background: #fbfdfb;
}

.include-grid-rich .exclude-box {
  background: #fff8f4;
}

.service-card-bottom-rich {
  gap: 12px;
}

.service-card-report {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.45;
}

.instruction-columns {
  display: grid;
  gap: 16px;
}

.instruction-columns div,
.emergency-list {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.instruction-columns strong,
.emergency-list strong {
  color: var(--color-primary);
}

.instruction-columns ul,
.emergency-list ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--color-text-muted);
}

.report-template-card {
  min-height: 0;
}

.family-safety-grid div:last-child {
  grid-column: auto;
}

.service-modal[hidden] {
  display: none;
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
}

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 63, 53, 0.52);
  backdrop-filter: blur(4px);
}

.service-modal-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: min(86vh, 900px);
  overflow: auto;
  border: 1px solid rgba(23, 63, 53, 0.16);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(20, 42, 38, 0.28);
  padding: 30px;
}

.service-modal-panel h2 {
  margin: 0 0 12px;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 36px;
  line-height: 1.14;
}

.service-modal-panel > p {
  max-width: 760px;
  color: var(--color-text-muted);
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  min-height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--color-primary);
  padding: 0 14px;
  font-weight: 800;
}

.modal-instruction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.modal-instruction-grid div {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fbfdfb;
  padding: 16px;
}

.modal-instruction-grid div:nth-child(2),
.modal-instruction-grid div:nth-child(4) {
  background: #fff8f4;
}

.modal-instruction-grid strong {
  color: var(--color-primary);
}

.modal-instruction-grid ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--color-text-muted);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.modal-open {
  overflow: hidden;
}

.request-form-extended {
  align-content: start;
}

@media (max-width: 980px) {
  .service-intro-grid,
  .service-detail-card-rich {
    grid-template-columns: 1fr;
  }

  .service-card-bottom-rich {
    min-width: 0;
  }
}

@media (max-width: 680px) {
  .service-intro-grid h2,
  .service-modal-panel h2 {
    font-size: 30px;
  }

  .service-hero h1 {
    font-size: 32px;
  }

  .service-modal {
    padding: 12px;
  }

  .service-modal-panel {
    max-height: 90vh;
    padding: 22px;
  }

  .modal-instruction-grid {
    grid-template-columns: 1fr;
  }

  .modal-actions .button {
    width: 100%;
  }
}

/* Visual style pass 2026-06-23 */
:root {
  --font-heading: 'Bellota Text', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --paper: #f6f8f5;
  --surface: #ffffff;
  --surface-soft: #eef5f1;
  --mist: #dfece5;
  --sage: #789982;
  --deep: #214c48;
  --deep-2: #163936;
  --ink: #223331;
  --muted: #61716d;
  --clay: #cf735d;
  --clay-dark: #a95443;
  --sun: #d4a73d;
  --blue: #647f95;
  --line: #d6e0da;
  --line-strong: #b9c8c0;
  --shadow: 0 20px 46px rgba(25, 49, 45, 0.12);
  --shadow-soft: 0 10px 26px rgba(25, 49, 45, 0.08);
  --focus: 0 0 0 4px rgba(207, 115, 93, 0.2);
}

::selection {
  color: #ffffff;
  background: var(--deep);
}

body {
  background:
    linear-gradient(180deg, #f8faf7 0, var(--paper) 520px),
    var(--paper);
  font-family: var(--font-body);
  color: var(--ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a,
button,
input,
select,
textarea,
summary {
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.site-header {
  min-height: 72px;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(33, 76, 72, 0.12);
  box-shadow: 0 8px 24px rgba(25, 49, 45, 0.06);
}

.brand {
  gap: 11px;
  font-size: 18px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--deep), #2f635c);
  box-shadow: inset 0 -8px 16px rgba(0, 0, 0, 0.12);
}

.main-nav {
  gap: 6px;
  font-size: 15px;
  font-weight: 650;
}

.main-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 11px;
}

.main-nav a:hover {
  color: var(--deep);
  background: var(--surface-soft);
}

.header-phone {
  color: var(--deep-2);
  font-size: 16px;
}

.button {
  min-height: 52px;
  border-color: var(--clay);
  background: var(--clay);
  box-shadow: 0 12px 24px rgba(169, 84, 67, 0.18);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(169, 84, 67, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--deep);
  box-shadow: 0 10px 20px rgba(33, 76, 72, 0.08);
}

.button-secondary:hover {
  background: var(--deep);
  border-color: var(--deep);
}

.hero {
  min-height: 704px;
  background-position: 56% center;
  isolation: isolate;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(15, 39, 36, 0.88) 0%, rgba(15, 39, 36, 0.72) 36%, rgba(15, 39, 36, 0.34) 64%, rgba(15, 39, 36, 0.08) 100%),
    linear-gradient(180deg, rgba(15, 39, 36, 0.05) 0%, rgba(15, 39, 36, 0.26) 100%);
}

.hero-content {
  padding: 94px 0 76px;
}

.hero h1 {
  max-width: 700px;
  font-size: 52px;
  line-height: 1.1;
  font-weight: 800;
  text-wrap: balance;
}

.hero-lead {
  max-width: 640px;
  font-size: 20px;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 30px;
}

.hero .button {
  min-width: 218px;
}

.hero .eyebrow {
  color: #f0a08d;
}

.trust-row {
  max-width: 720px;
  gap: 10px;
  margin-top: 30px;
}

.trust-row span {
  min-height: 40px;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
}

.section {
  padding: 88px 0;
}

.section-light {
  background: #eef5f1;
}

.section-muted {
  background: #e9efea;
}

.section-request {
  background:
    linear-gradient(135deg, rgba(223, 236, 229, 0.94), rgba(246, 248, 245, 0.98));
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(223, 236, 229, 0.95), rgba(255, 255, 255, 0.96)),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.report-copy h2,
.request-layout h2,
.city-layout h2,
.page-hero h1,
.success-card h1 {
  color: var(--deep-2);
  font-weight: 830;
}

.section-heading p,
.request-layout p,
.city-layout p,
.report-copy p,
.page-hero p:not(.eyebrow) {
  line-height: 1.65;
}

.eyebrow {
  color: var(--clay-dark);
  font-size: 13px;
  letter-spacing: 0;
}

.situation-grid,
.price-grid,
.plan-grid,
.story-grid,
.faq-grid {
  gap: 18px;
}

.situation-card,
.price-card,
.plan-card,
.story-card,
.report-card,
.service-detail-card,
.contact-mini,
.contact-panel,
.success-card,
details,
.quiz-card,
.request-form,
.price-table {
  border-color: rgba(33, 76, 72, 0.14);
  box-shadow: var(--shadow-soft);
}

.situation-card,
.price-card,
.plan-card,
.story-card {
  position: relative;
  overflow: hidden;
}

.situation-card::before,
.price-card::before,
.plan-card::before,
.story-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--sage), var(--clay));
  opacity: 0;
}

.situation-card:hover,
.price-card:hover,
.story-card:hover,
.plan-card:hover {
  transform: translateY(-2px);
  border-color: rgba(33, 76, 72, 0.28);
  box-shadow: var(--shadow);
}

.situation-card:hover::before,
.price-card:hover::before,
.plan-card:hover::before,
.story-card:hover::before {
  opacity: 1;
}

.situation-card strong,
.price-card h3,
.plan-card h3,
.story-card h3,
.service-detail-card h2 {
  color: var(--deep-2);
}

.card-number {
  background: var(--mist);
  color: var(--deep);
}

.situation-link {
  background: linear-gradient(135deg, var(--deep), #2d655d);
}

.steps li {
  border-left: 0;
  border: 1px solid rgba(33, 76, 72, 0.14);
  box-shadow: var(--shadow-soft);
}

.steps span {
  background: var(--deep);
}

.price-card strong,
.service-card-bottom strong,
.plan-card strong,
.price-row strong {
  color: var(--clay-dark);
}

.text-button {
  min-height: 36px;
  color: var(--deep);
}

.text-button:hover {
  color: var(--clay-dark);
}

.quiz-card,
.request-form {
  box-shadow: var(--shadow);
}

.quiz-option:hover {
  border-color: var(--sage);
  background: var(--surface-soft);
}

.quiz-option.is-selected {
  border-color: var(--deep);
  background: var(--mist);
  box-shadow: inset 0 0 0 1px var(--deep);
}

.request-form input,
.request-form select,
.request-form textarea,
.quiz-input {
  border-color: var(--line-strong);
  background: #fbfcfb;
}

.request-form input:hover,
.request-form select:hover,
.request-form textarea:hover,
.quiz-input:hover {
  border-color: var(--sage);
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus,
.quiz-input:focus {
  border-color: var(--clay);
  background: #ffffff;
}

.section-report {
  background:
    linear-gradient(135deg, var(--deep-2), var(--deep));
}

.report-card {
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
}

.plan-featured {
  border-color: rgba(207, 115, 93, 0.7);
}

.price-head {
  background: linear-gradient(135deg, var(--deep), var(--deep-2));
}

.notice-box {
  background: #fff7ed;
}

.contact-panel a,
.contact-mini a {
  color: var(--deep-2);
}

.site-footer {
  background: linear-gradient(135deg, #183331, #102522);
}

@media (max-width: 980px) {
  .site-header {
    min-height: 70px;
  }

  .main-nav {
    gap: 0;
  }

  .main-nav a {
    border-radius: 0;
  }

  .hero {
    min-height: 660px;
    background-position: 60% center;
  }

  .hero h1 {
    font-size: 40px;
  }
}

/* Font pair pass 2026-06-23 */
html,
body,
p,
a,
button,
input,
textarea,
select,
li,
.main-nav,
.nav,
.menu,
.menu-toggle,
.button,
.text-button,
.card,
.service-card,
.situation-card,
.price-card,
.plan-card,
.story-card,
.service-detail-card,
.contact-mini,
.contact-panel,
.quiz-card,
.request-form,
.form,
.form-label,
.report-card,
.success-card,
.faq-grid,
.site-footer {
  font-family: var(--font-body);
}

.logo,
.site-logo,
.brand,
.brand-mark,
h1,
h2,
h3,
.section-title,
.hero-title,
.section-heading h2,
.report-copy h2,
.request-layout h2,
.city-layout h2,
.page-hero h1,
.success-card h1,
.hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
}

.situation-card strong,
.price-card h3,
.plan-card h3,
.story-card h3,
.service-detail-card h2,
.quiz-question,
.report-card > strong,
.trust-grid strong {
  font-family: var(--font-body);
}

@media (max-width: 680px) {
  .site-header {
    padding: 10px 14px;
  }

  .hero {
    min-height: 640px;
    background-position: 56% center;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(15, 39, 36, 0.92) 0%, rgba(15, 39, 36, 0.84) 48%, rgba(15, 39, 36, 0.64) 100%),
      linear-gradient(180deg, rgba(15, 39, 36, 0.02) 0%, rgba(15, 39, 36, 0.28) 100%);
  }

  .hero-content {
    padding: 64px 0 44px;
  }

  .hero h1 {
    max-width: 360px;
    font-size: 31px;
    line-height: 1.13;
  }

  .hero-lead {
    max-width: 350px;
    font-size: 17px;
    line-height: 1.55;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .trust-row {
    gap: 8px;
    margin-top: 26px;
  }

  .trust-row span {
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    font-size: 15px;
  }

  .section {
    padding: 62px 0;
  }
}

/* Main flow visual pass 2026-06-23 */
#situations {
  position: relative;
  background:
    linear-gradient(180deg, #eef5f1 0%, #f7faf7 100%);
  border-bottom: 1px solid rgba(33, 76, 72, 0.08);
}

#situations .section-heading,
#services .section-heading,
#request .request-layout > div:first-child {
  max-width: 820px;
}

#situations .section-heading {
  margin-bottom: 28px;
}

.situation-grid {
  gap: 14px;
}

.situation-card {
  min-height: 226px;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 252, 249, 0.96));
  border-color: rgba(33, 76, 72, 0.16);
}

.situation-card::before {
  height: 3px;
  opacity: 0.48;
  background: linear-gradient(90deg, rgba(120, 153, 130, 0.85), rgba(207, 115, 93, 0.55));
}

.situation-card:hover::before,
.situation-card:focus-visible::before {
  opacity: 1;
}

.situation-card strong {
  max-width: 260px;
  font-size: 20px;
}

.situation-card span:last-child {
  max-width: 310px;
  line-height: 1.56;
}

.card-number {
  width: 46px;
  height: 34px;
  background: #eef5f1;
  border: 1px solid rgba(33, 76, 72, 0.12);
  box-shadow: inset 0 -8px 14px rgba(33, 76, 72, 0.04);
}

.situation-link {
  background:
    linear-gradient(135deg, rgba(33, 76, 72, 0.98), rgba(33, 76, 72, 0.88)),
    #214c48;
}

.situation-link::before {
  background: rgba(255, 255, 255, 0.26);
}

.situation-link .card-number {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.situation-link strong,
.situation-link span:last-child {
  color: #ffffff;
}

#services {
  background:
    linear-gradient(180deg, #e9efea 0%, #eef3ef 100%);
  border-top: 1px solid rgba(33, 76, 72, 0.08);
  border-bottom: 1px solid rgba(33, 76, 72, 0.08);
}

.price-grid {
  gap: 16px;
}

.price-card {
  min-height: 268px;
  grid-template-rows: auto minmax(62px, auto) 1fr auto;
  gap: 12px;
  padding: 24px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%);
  border-color: rgba(33, 76, 72, 0.15);
}

.price-card::before {
  height: 3px;
  opacity: 0.58;
  background: linear-gradient(90deg, rgba(33, 76, 72, 0.74), rgba(207, 115, 93, 0.66));
}

.price-card p {
  width: max-content;
  max-width: 100%;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  margin: 0;
  border-radius: 8px;
  padding: 0 10px;
  color: var(--deep);
  background: #eef5f1;
  font-size: 14px;
  font-weight: 800;
}

.price-card h3 {
  max-width: 280px;
  font-size: 23px;
  line-height: 1.16;
}

.price-card strong {
  align-self: start;
  font-size: 28px;
  line-height: 1.1;
}

.price-card .text-button {
  min-height: 44px;
  justify-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  border: 1px solid rgba(33, 76, 72, 0.18);
  border-radius: 8px;
  background: #f7faf7;
  color: var(--deep-2);
  padding: 0 14px;
}

.price-card .text-button:hover,
.price-card .text-button:focus-visible {
  border-color: var(--deep);
  background: var(--deep);
  color: #ffffff;
}

#request {
  position: relative;
  background:
    linear-gradient(135deg, rgba(223, 236, 229, 0.9) 0%, rgba(248, 250, 247, 0.98) 45%, rgba(238, 245, 241, 0.96) 100%);
  border-top: 1px solid rgba(33, 76, 72, 0.1);
}

.request-layout {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 48px;
  align-items: center;
}

.request-layout h2 {
  max-width: 520px;
  font-size: 42px;
  line-height: 1.12;
}

.request-layout p:not(.eyebrow) {
  max-width: 550px;
  font-size: 18px;
}

.contact-mini {
  max-width: 470px;
  margin-top: 28px;
  padding: 20px 22px;
  border-left: 4px solid var(--clay);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%);
}

.contact-mini strong {
  color: var(--deep-2);
}

.contact-mini a {
  line-height: 1.12;
}

.contact-mini span {
  color: var(--muted);
}

.request-form {
  gap: 16px;
  padding: 30px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%);
  border: 1px solid rgba(33, 76, 72, 0.16);
  box-shadow: 0 24px 58px rgba(25, 49, 45, 0.14);
}

.request-form::before {
  content: "Заявка координатору";
  grid-column: 1 / -1;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  border-radius: 8px;
  padding: 0 11px;
  color: var(--deep);
  background: #eef5f1;
  font-size: 14px;
  font-weight: 850;
}

.legal-page {
  background: var(--color-bg-warm);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 34px;
  align-items: start;
}

.legal-aside,
.legal-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.legal-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
  padding: 22px;
}

.legal-aside strong,
.legal-card h2 {
  color: var(--color-primary);
}

.legal-aside span,
.legal-card p,
.legal-card li {
  color: var(--color-text-muted);
}

.legal-card {
  display: grid;
  gap: 18px;
  padding: 30px;
}

.legal-card + .legal-card {
  margin-top: 18px;
}

.legal-card h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1.15;
}

.legal-card p {
  margin: 0;
}

.legal-card ul {
  margin: 0;
  padding-left: 22px;
}

.legal-note {
  border-left: 4px solid var(--color-accent);
  border-radius: 8px;
  background: #fff7ef;
  padding: 16px 18px;
}

.legal-note strong {
  display: block;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-meta span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: var(--color-bg-soft);
  color: var(--color-primary);
  padding: 0 12px;
  font-size: 14px;
  font-weight: 800;
}

.request-form label {
  gap: 8px;
  color: var(--deep-2);
  font-size: 14px;
  line-height: 1.3;
}

.request-form input,
.request-form select,
.request-form textarea {
  min-height: 56px;
  border-color: rgba(33, 76, 72, 0.24);
  background: #ffffff;
  font-size: 16px;
}

.request-form textarea {
  min-height: 132px;
}

.request-form input::placeholder,
.request-form textarea::placeholder {
  color: #83918d;
}

.form-hint {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.checkbox {
  gap: 10px;
  border: 1px solid rgba(33, 76, 72, 0.1);
  border-radius: 8px;
  background: #f8faf7;
  padding: 12px;
  color: var(--muted);
  font-size: 14px;
}

.checkbox input {
  accent-color: var(--deep);
}

.request-form .button {
  min-height: 56px;
  margin-top: 2px;
  font-size: 17px;
}

.form-status {
  min-height: 24px;
  color: var(--deep-2);
}

.crm-handoff {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  border: 1px solid rgba(33, 76, 72, 0.14);
  border-radius: 8px;
  background: #f8faf7;
  padding: 18px;
}

.crm-handoff[hidden] {
  display: none;
}

.crm-handoff span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.crm-handoff strong {
  display: block;
  margin-top: 4px;
  color: var(--deep);
  font-size: 20px;
}

.crm-handoff p {
  margin: 8px 0 0;
  color: var(--muted);
}

.crm-handoff textarea {
  width: 100%;
  min-height: 220px;
  resize: vertical;
  border: 1px solid rgba(33, 76, 72, 0.2);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 14px;
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
}

.crm-handoff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.crm-handoff-actions .button {
  min-width: 210px;
}

.crm-handoff-actions span {
  color: var(--deep);
}

@media (max-width: 980px) {
  .request-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
  }

  .request-layout h2 {
    font-size: 36px;
  }

  .situation-card,
  .price-card {
    min-height: 230px;
  }
}

@media (max-width: 680px) {
  #situations .section-heading,
  #services .section-heading {
    margin-bottom: 24px;
  }

  .situation-grid,
  .price-grid {
    gap: 12px;
  }

  .situation-card,
  .price-card {
    min-height: 0;
    padding: 20px;
  }

  .situation-card strong {
    max-width: none;
    font-size: 19px;
  }

  .situation-card span:last-child {
    max-width: none;
  }

  .price-card {
    gap: 10px;
  }

  .price-card h3 {
    max-width: none;
    font-size: 21px;
  }

  .price-card strong {
    font-size: 25px;
  }

  .request-layout {
    gap: 24px;
  }

  .request-layout h2 {
    font-size: 31px;
  }

  .request-layout p:not(.eyebrow) {
    font-size: 16px;
  }

  .contact-mini {
    max-width: none;
    padding: 18px;
  }

  .contact-mini a {
    font-size: 22px;
  }

  .request-form {
    gap: 13px;
    padding: 20px;
  }

  .request-form input,
  .request-form select,
  .request-form textarea {
    min-height: 54px;
  }

  .request-form::before {
    width: 100%;
    justify-content: center;
  }
}

/* Decision flow visual pass 2026-06-23 */
#quiz {
  background:
    linear-gradient(180deg, #f7faf7 0%, #f1f6f3 100%);
  border-top: 1px solid rgba(33, 76, 72, 0.08);
  border-bottom: 1px solid rgba(33, 76, 72, 0.08);
}

.quiz-layout {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 50px;
  align-items: start;
}

#quiz .section-heading {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 24px;
}

.quiz-assurance {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  gap: 10px;
  max-width: 520px;
}

.quiz-assurance div {
  display: grid;
  gap: 4px;
  border-left: 3px solid rgba(207, 115, 93, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  padding: 13px 15px;
}

.quiz-assurance strong {
  color: var(--deep-2);
  line-height: 1.24;
}

.quiz-assurance span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.quiz-card {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 560px;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 30px;
  border: 1px solid rgba(33, 76, 72, 0.15);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%);
  box-shadow: 0 24px 58px rgba(25, 49, 45, 0.13);
}

.quiz-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid rgba(33, 76, 72, 0.12);
  padding-bottom: 18px;
}

.quiz-card-head span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: #eef5f1;
  color: var(--deep);
  padding: 0 10px;
  font-size: 14px;
  font-weight: 850;
}

.quiz-card-head strong {
  color: var(--deep-2);
  font-size: 18px;
}

.quiz-progress {
  margin-bottom: 4px;
}

.progress-track {
  height: 8px;
  background: #dde8e1;
}

.progress-track span {
  background: linear-gradient(90deg, var(--clay), #d89462);
}

.quiz-question {
  margin-bottom: 16px;
  color: var(--deep-2);
  font-size: 25px;
}

.quiz-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.quiz-option {
  min-height: 62px;
  display: flex;
  align-items: center;
  border-color: rgba(33, 76, 72, 0.18);
  background: #ffffff;
  color: var(--deep-2);
  font-weight: 700;
  line-height: 1.32;
}

.quiz-option:hover {
  transform: translateY(-1px);
}

.quiz-option.is-selected {
  border-color: rgba(33, 76, 72, 0.78);
  background:
    linear-gradient(180deg, #eef5f1 0%, #e6f0ea 100%);
}

.quiz-input {
  min-height: 58px;
  border-color: rgba(33, 76, 72, 0.24);
  background: #ffffff;
}

.quiz-actions {
  margin-top: 4px;
}

.quiz-result {
  display: grid;
  gap: 16px;
  margin-top: 4px;
  border-left: 0;
  border: 1px solid rgba(207, 115, 93, 0.28);
  background:
    linear-gradient(180deg, #fff8f1 0%, #fffdf9 100%);
  box-shadow: var(--shadow-soft);
}

.quiz-result[hidden] {
  display: none;
}

.quiz-result-head {
  display: grid;
  gap: 6px;
}

.quiz-result-head span {
  color: var(--clay-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.quiz-result-head strong {
  color: var(--deep-2);
  font-size: 26px;
  line-height: 1.15;
}

.quiz-result-grid {
  display: grid;
  gap: 10px;
}

.quiz-result-grid div {
  display: grid;
  gap: 3px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 11px 12px;
}

.quiz-result-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.quiz-result-grid b {
  color: var(--ink);
  font-weight: 650;
}

#trust {
  background:
    linear-gradient(180deg, #eef5f1 0%, #f7faf7 100%);
}

#trust .two-column {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 48px;
  align-items: center;
}

.trust-note {
  display: grid;
  gap: 5px;
  max-width: 520px;
  margin-top: 22px;
  border-left: 4px solid var(--deep);
  border-radius: 8px;
  background: #ffffff;
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
}

.trust-note strong {
  color: var(--deep-2);
}

.trust-note span {
  color: var(--muted);
  line-height: 1.55;
}

.trust-grid {
  gap: 16px;
}

.trust-grid div {
  min-height: 176px;
  grid-template-rows: auto auto 1fr;
  gap: 11px;
  border-color: rgba(33, 76, 72, 0.14);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%);
  box-shadow: var(--shadow-soft);
}

.trust-grid div:hover {
  transform: translateY(-2px);
  border-color: rgba(33, 76, 72, 0.28);
  box-shadow: var(--shadow);
}

.trust-step {
  width: 46px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--deep);
  background: #eef5f1;
  font-size: 14px;
  font-weight: 900;
}

.trust-grid strong {
  color: var(--deep-2);
  font-size: 20px;
}

.section-report {
  background:
    linear-gradient(135deg, rgba(22, 57, 54, 0.98), rgba(33, 76, 72, 0.96));
}

.section-report .report-copy .eyebrow,
.section-report .report-copy h2 {
  color: #ffffff;
}

.section-report .report-copy p {
  color: rgba(255, 255, 255, 0.84);
}

.report-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
}

.report-copy h2 {
  max-width: 620px;
}

.report-card {
  padding: 30px;
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fbf8 100%);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.24);
}

.report-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.report-card-top span,
.report-card-top small {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 850;
}

.report-card-top span {
  color: var(--deep);
  background: var(--mist);
}

.report-card-top small {
  color: var(--clay-dark);
  background: #fff3ea;
}

.report-card > strong {
  color: var(--deep-2);
  font-size: 28px;
  line-height: 1.18;
}

.report-lines {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.report-lines div {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid rgba(33, 76, 72, 0.11);
  border-radius: 8px;
  background: #f8faf7;
  padding: 13px 14px;
}

.report-lines span {
  display: block;
  margin: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
  font-size: 14px;
  font-weight: 850;
}

.report-lines b {
  color: var(--ink);
  font-weight: 650;
  line-height: 1.45;
}

.report-card p {
  margin: 18px 0 0;
  border-top: 1px solid rgba(33, 76, 72, 0.1);
  color: var(--muted);
  padding-top: 15px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .quiz-layout,
  #trust .two-column,
  .report-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  #quiz .section-heading,
  .quiz-assurance,
  .quiz-card {
    grid-column: auto;
    grid-row: auto;
  }

  .quiz-assurance {
    max-width: none;
  }

  .quiz-card {
    min-height: 0;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
  }
}

@media (max-width: 680px) {
  .quiz-card {
    padding: 20px;
  }

  .quiz-card-head {
    align-items: start;
    flex-direction: column;
    padding-bottom: 14px;
  }

  .quiz-options {
    grid-template-columns: 1fr;
  }

  .quiz-option {
    min-height: 56px;
  }

  .quiz-question {
    font-size: 22px;
  }

  .quiz-actions .button {
    width: 100%;
  }

  .trust-grid div {
    min-height: 0;
  }

  .report-card {
    padding: 22px;
  }

  .report-card-top {
    align-items: start;
    flex-direction: column;
  }

  .report-card > strong {
    font-size: 24px;
  }

  .report-lines div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Home UX pass 2026-06-23 */
:root {
  --color-primary: #173F35;
  --color-bg-soft: #EEF5F1;
  --color-bg-warm: #FAF8F3;
  --color-text: #1F2A27;
  --color-text-muted: #6B766F;
  --color-accent: #D9825B;
  --color-accent-hover: #C66F4C;
  --color-border: #DDE7E1;
  --paper: var(--color-bg-warm);
  --surface: #ffffff;
  --surface-soft: var(--color-bg-soft);
  --mist: var(--color-bg-soft);
  --deep: var(--color-primary);
  --deep-2: var(--color-primary);
  --ink: var(--color-text);
  --muted: var(--color-text-muted);
  --clay: var(--color-accent);
  --clay-dark: var(--color-accent-hover);
  --line: var(--color-border);
  --line-strong: rgba(23, 63, 53, 0.22);
  --shadow: 0 22px 54px rgba(23, 63, 53, 0.12);
  --shadow-soft: 0 12px 30px rgba(23, 63, 53, 0.07);
}

body {
  color: var(--color-text);
  background:
    linear-gradient(180deg, #ffffff 0, var(--color-bg-warm) 560px),
    var(--color-bg-warm);
  font-size: 18px;
}

.container {
  width: min(1180px, calc(100% - 40px));
}

[id] {
  scroll-margin-top: 92px;
}

.site-header {
  background: rgba(250, 248, 243, 0.94);
  border-bottom-color: rgba(23, 63, 53, 0.12);
}

.brand,
.brand-mark,
.hero h1,
.section-heading h2,
.report-copy h2,
.request-layout h2,
.city-layout h2,
.page-hero h1,
.success-card h1 {
  font-family: var(--font-heading);
}

.main-nav,
.button,
.text-button,
.situation-card,
.price-card,
.trust-grid,
.story-card,
.value-list,
.request-form {
  font-family: var(--font-body);
}

.main-nav {
  gap: 14px;
  font-size: 14px;
}

.brand {
  color: var(--color-primary);
}

.brand-mark {
  background: var(--color-primary);
  box-shadow: none;
}

.main-nav a:hover,
.header-phone:hover {
  color: var(--color-accent-hover);
}

.button {
  min-height: 56px;
  border-color: var(--color-accent);
  background: var(--color-accent);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(217, 130, 91, 0.2);
}

.button:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.button-secondary {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(23, 63, 53, 0.18);
  box-shadow: none;
}

.button-secondary:hover {
  color: #ffffff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.hero {
  min-height: 710px;
  color: var(--color-text);
  background-color: var(--color-bg-warm);
  background-position: center center;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(250, 248, 243, 0.94) 0%, rgba(250, 248, 243, 0.78) 30%, rgba(250, 248, 243, 0.34) 52%, rgba(250, 248, 243, 0.06) 74%, rgba(250, 248, 243, 0) 100%),
    linear-gradient(180deg, rgba(238, 245, 241, 0.06), rgba(250, 248, 243, 0.02));
}

.hero-content {
  padding: 94px 0 76px;
}

.hero .eyebrow {
  color: var(--color-accent-hover);
}

.hero h1 {
  max-width: 850px;
  color: var(--color-primary);
  font-size: 64px;
  line-height: 1.03;
}

.hero-lead {
  max-width: 760px;
  margin-top: 26px;
  color: var(--color-text);
  font-size: 25px;
  line-height: 1.46;
}

.hero-actions {
  gap: 16px;
  margin-top: 34px;
}

.hero .button {
  min-width: 236px;
  min-height: 60px;
  padding: 0 30px;
  font-size: 18px;
}

.trust-row {
  max-width: 820px;
  gap: 12px;
  margin-top: 32px;
}

.trust-row span {
  min-height: 44px;
  border-color: rgba(23, 63, 53, 0.14);
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 24px rgba(23, 63, 53, 0.06);
}

.section {
  padding: 88px 0;
}

.section-light {
  background: var(--color-bg-soft);
}

.section-muted,
#services {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--color-bg-warm) 100%);
}

#situations {
  background:
    linear-gradient(180deg, var(--color-bg-soft) 0%, #f8fbf8 100%);
}

#trust {
  background:
    linear-gradient(180deg, var(--color-bg-soft) 0%, var(--color-bg-warm) 100%);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.section-heading h2,
.report-copy h2,
.request-layout h2,
.city-layout h2 {
  color: var(--color-primary);
  font-size: 42px;
  line-height: 1.12;
}

.section-heading p,
.request-layout p,
.city-layout p,
.report-copy p,
.story-card p,
.value-list div {
  color: var(--color-text-muted);
}

.situation-grid,
.price-grid,
.story-grid,
.trust-grid,
.value-list {
  gap: 20px;
}

.situation-card,
.price-card,
.story-card,
.trust-grid div,
.value-list div,
.quiz-card,
.request-form,
.report-card {
  border-color: var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.situation-card {
  min-height: 245px;
  grid-template-rows: auto auto 1fr;
  gap: 16px;
  padding: 28px;
}

.situation-card::before,
.price-card::before,
.story-card::before {
  height: 3px;
  background: linear-gradient(90deg, rgba(23, 63, 53, 0.42), rgba(217, 130, 91, 0.42));
  opacity: 0.72;
}

.situation-card:hover,
.price-card:hover,
.story-card:hover,
.trust-grid div:hover,
.value-list div:hover {
  border-color: rgba(23, 63, 53, 0.24);
  box-shadow: var(--shadow);
}

.situation-card strong,
.price-card h3,
.plan-card h3,
.story-card h3,
.trust-grid strong,
.value-list strong {
  font-family: var(--font-body);
  color: var(--color-primary);
}

.situation-card strong {
  max-width: 310px;
  font-size: 22px;
}

.situation-card span:last-child {
  max-width: 340px;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.situation-link {
  background: var(--color-primary);
}

.situation-link::before {
  background: rgba(255, 255, 255, 0.26);
}

.situation-link strong,
.situation-link span:last-child {
  color: #ffffff;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  border: 1px solid rgba(23, 63, 53, 0.12);
  border-radius: 8px;
  background: var(--color-bg-soft);
  color: var(--color-primary);
}

.service-icon::before {
  content: "";
  width: 100%;
  height: 100%;
  background: currentColor;
  -webkit-mask: var(--icon) center / 26px 26px no-repeat;
  mask: var(--icon) center / 26px 26px no-repeat;
}

.service-icon-doctor {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.service-icon-home {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 11.5 12 5l8 6.5M6.5 10.5V20h11v-9.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M10 20v-5h4v5' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.service-icon-bag {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9h12l-1.4 10H7.4z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M9 9a3 3 0 0 1 6 0M9.5 13h5' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.service-icon-docs {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h7l4 4v14H7z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M14 3v5h4M9.5 12h5M9.5 16h5' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.service-icon-walk {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='5.5' r='2.2' fill='black'/%3E%3Cpath d='M12 9v4.5M8.5 11.5h7M10.5 13.5 8 20M13.5 13.5l2.5 6.5' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.service-icon-question {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 9a2.8 2.8 0 1 1 4.4 2.3c-1.1.7-1.9 1.3-1.9 2.7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='18' r='1.2' fill='black'/%3E%3C/svg%3E");
}

.situation-link .service-icon {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}

#services .price-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.price-card {
  min-height: 320px;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 14px;
  padding: 28px;
}

.price-card > span:not(.format-badge) {
  color: var(--color-text-muted);
  line-height: 1.5;
}

.price-card p {
  color: var(--color-primary);
  background: var(--color-bg-soft);
}

.price-card h3 {
  max-width: none;
  font-size: 24px;
}

.price-card strong {
  color: var(--color-accent-hover);
  font-size: 18px;
  line-height: 1.35;
}

.price-featured {
  border-color: rgba(217, 130, 91, 0.48);
}

.format-badge {
  width: max-content;
  max-width: 100%;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 10px;
  color: #ffffff;
  background: var(--color-primary);
  font-size: 13px;
  font-weight: 800;
}

.price-card .text-button {
  min-height: 46px;
  margin-top: 4px;
}

#trust .two-column {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
}

.trust-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trust-grid div {
  min-height: 160px;
  padding: 22px;
}

.trust-grid div:last-child {
  grid-column: 1 / -1;
  min-height: 130px;
}

.trust-note {
  border-left-color: var(--color-accent);
}

.trust-step {
  color: var(--color-primary);
  background: var(--color-bg-soft);
}

.story-card {
  min-height: 270px;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 26px;
}

.story-card span {
  width: max-content;
  max-width: 100%;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 10px;
  color: var(--color-primary);
  background: var(--color-bg-soft);
  font-size: 14px;
  font-weight: 800;
}

.story-card p {
  margin: 0;
}

.story-card p strong {
  color: var(--color-primary);
}

.values-layout {
  align-items: center;
}

.value-list {
  display: grid;
  grid-template-columns: 1fr;
}

.value-list div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
}

.value-list .trust-step {
  width: 44px;
  min-height: 34px;
}

.section-report {
  background: var(--color-primary);
}

.site-footer {
  background: var(--color-primary);
}

@media (max-width: 1100px) {
  #services .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1 {
    font-size: 56px;
  }
}

@media (max-width: 1320px) {
  .site-header > .button {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: 680px;
    background-position: 61% center;
  }

  .hero h1 {
    max-width: 680px;
    font-size: 46px;
  }

  .hero-lead {
    max-width: 640px;
    font-size: 21px;
  }

  #trust .two-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  [id] {
    scroll-margin-top: 78px;
  }

  .hero {
    min-height: 710px;
    background-position: 67% center;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(250, 248, 243, 0.95) 0%, rgba(250, 248, 243, 0.86) 48%, rgba(250, 248, 243, 0.36) 100%),
      linear-gradient(90deg, rgba(250, 248, 243, 0.86), rgba(250, 248, 243, 0.12));
  }

  .hero-content {
    padding: 66px 0 46px;
  }

  .hero h1 {
    max-width: 360px;
    font-size: 36px;
    line-height: 1.08;
  }

  .hero-lead {
    max-width: 356px;
    font-size: 18px;
    line-height: 1.48;
  }

  .hero .button {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    font-size: 16px;
  }

  .trust-row span {
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.78);
  }

  .section {
    padding: 64px 0;
  }

  .section-heading h2,
  .report-copy h2,
  .request-layout h2,
  .city-layout h2 {
    font-size: 32px;
  }

  .situation-grid,
  #services .price-grid,
  .story-grid,
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .situation-card,
  .price-card,
  .story-card,
  .trust-grid div,
  .value-list div {
    min-height: 0;
    padding: 22px;
  }

  .trust-grid div:last-child {
    grid-column: auto;
  }

  .situation-card strong {
    max-width: none;
    font-size: 20px;
  }

  .price-card h3 {
    font-size: 22px;
  }

  .value-list div {
    grid-template-columns: 46px 1fr;
  }
}

/* Header recovery and modern polish 2026-07-04 */
:root {
  --header-glass: rgba(255, 255, 255, 0.86);
  --header-glass-strong: rgba(255, 255, 255, 0.96);
  --header-border: rgba(23, 63, 53, 0.14);
  --header-shadow: 0 18px 46px rgba(23, 63, 53, 0.11);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(180px, auto) minmax(0, 1fr) auto auto;
  gap: clamp(10px, 1.3vw, 20px);
  align-items: center;
  padding: 10px clamp(18px, 3vw, 42px);
  background: var(--header-glass);
  border-bottom: 1px solid var(--header-border);
  box-shadow: var(--header-shadow);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

.brand {
  min-width: 0;
  min-height: 52px;
  gap: 11px;
  border-radius: 8px;
  color: var(--color-primary);
  font-size: 18px;
  transition: background 0.18s ease, color 0.18s ease;
}

.brand:hover,
.brand:focus-visible {
  background: rgba(23, 63, 53, 0.06);
}

.brand span:last-child {
  white-space: nowrap;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--color-primary), #2d756a);
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.14);
}

.main-nav {
  min-width: 0;
  max-width: 100%;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(23, 63, 53, 0.1);
  border-radius: 8px;
  color: var(--color-text-muted);
  background: rgba(238, 245, 241, 0.68);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 10px;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(23, 63, 53, 0.08);
}

.header-phone {
  justify-self: end;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(23, 63, 53, 0.12);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  white-space: nowrap;
}

.header-phone:hover,
.header-phone:focus-visible {
  color: var(--color-accent-hover);
  border-color: rgba(217, 130, 91, 0.34);
}

.site-header > .button {
  min-height: 42px;
  padding: 0 16px;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(217, 130, 91, 0.18);
}

.menu-toggle {
  min-width: 44px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-color: rgba(23, 63, 53, 0.14);
  border-radius: 8px;
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(23, 63, 53, 0.08);
}

.menu-toggle::before {
  content: "";
  width: 18px;
  height: 2px;
  display: inline-block;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.menu-toggle[aria-expanded="true"] {
  color: #ffffff;
  border-color: var(--color-primary);
  background: var(--color-primary);
}

.button,
.text-button,
.situation-card,
.price-card,
.story-card,
.trust-grid div,
.request-form,
.contact-mini,
.service-card,
.service-detail-card-rich,
.document-card,
.vacancy-card,
.quiz-card,
.report-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.situation-card:hover,
.price-card:hover,
.story-card:hover,
.document-card:hover,
.vacancy-card:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 63, 53, 0.2);
  box-shadow: 0 18px 42px rgba(23, 63, 53, 0.1);
}

@media (max-width: 1240px) {
  .site-header {
    grid-template-columns: minmax(180px, auto) minmax(0, 1fr) auto;
  }

  .site-header > .button {
    display: none;
  }

  .main-nav {
    gap: 2px;
  }

  .main-nav a {
    padding: 0 8px;
    font-size: 13px;
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 10px;
  }

  .brand {
    width: max-content;
    justify-self: start;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    width: auto;
    justify-self: start;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 18px;
    right: auto;
    z-index: 1001;
    width: calc(100vw - 36px);
    max-width: none;
    justify-self: stretch;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    border-color: var(--header-border);
    background: var(--header-glass-strong);
    box-shadow: 0 22px 48px rgba(23, 63, 53, 0.16);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    min-height: 48px;
    justify-content: flex-start;
    border-radius: 6px;
    padding: 0 14px;
    font-size: 16px;
  }

  .header-phone {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
    grid-template-columns: auto 44px minmax(0, auto);
    gap: 8px;
    padding: 8px 12px;
  }

  .brand {
    min-height: 44px;
    width: 42px;
    padding: 0;
  }

  .brand span:last-child {
    display: none;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .menu-toggle {
    width: 44px;
    min-width: 44px;
    padding: 0;
    font-size: 0;
  }

  .header-phone {
    min-height: 38px;
    padding: 0 10px;
    font-size: 13px;
  }

  .main-nav {
    top: calc(100% + 6px);
    left: 12px;
    right: auto;
    width: calc(100vw - 24px);
  }
}

@media (max-width: 380px) {
  .site-header {
    grid-template-columns: 42px 42px minmax(0, auto);
    padding: 8px 10px;
  }

  .header-phone {
    padding: 0 8px;
    font-size: 12px;
  }
}

/* Scroll-to-top control 2026-07-04 */
.scroll-top-button {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 920;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 63, 53, 0.16);
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), #2d756a);
  box-shadow: 0 18px 38px rgba(23, 63, 53, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.scroll-top-button span {
  display: block;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-1px);
}

.scroll-top-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-top-button:hover,
.scroll-top-button:focus-visible {
  background: linear-gradient(135deg, var(--color-accent-hover), var(--color-accent));
  box-shadow: 0 20px 42px rgba(217, 130, 91, 0.26);
  transform: translateY(-2px) scale(1);
}

.scroll-top-button:focus-visible {
  outline: 3px solid rgba(217, 130, 91, 0.28);
  outline-offset: 3px;
}

.cookie-notice {
  position: fixed;
  left: clamp(14px, 3vw, 34px);
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 980;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  max-width: 860px;
  border: 1px solid rgba(23, 63, 53, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 22px 58px rgba(23, 63, 53, 0.18);
  padding: 16px;
  color: var(--color-text, var(--ink));
}

.cookie-notice strong,
.cookie-notice p {
  margin: 0;
}

.cookie-notice strong {
  display: block;
  color: var(--color-primary, var(--deep));
  font-weight: 900;
}

.cookie-notice p {
  margin-top: 4px;
  color: var(--color-text-muted, var(--muted));
  font-size: 14px;
  line-height: 1.42;
}

.cookie-notice-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-notice-actions a,
.cookie-notice-actions button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 13px;
  font-size: 14px;
  font-weight: 850;
}

.cookie-notice-actions a {
  border: 1px solid rgba(23, 63, 53, 0.14);
  color: var(--color-primary, var(--deep));
  background: var(--color-bg-soft, var(--mist));
  text-decoration: none;
}

.cookie-notice-actions button {
  border: 1px solid var(--color-primary, var(--deep));
  color: #ffffff;
  background: var(--color-primary, var(--deep));
}

@media (max-width: 680px) {
  .scroll-top-button {
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
  }

  .scroll-top-button span {
    font-size: 25px;
  }

  .cookie-notice {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .cookie-notice-actions {
    display: grid;
    justify-content: stretch;
  }
}

/* Header logo update 2026-07-06 */
.site-header .brand {
  width: max-content;
  min-width: 0;
  min-height: 52px;
  padding: 0;
  background: transparent;
}

.site-header .brand:hover,
.site-header .brand:focus-visible {
  background: transparent;
}

.brand-logo {
  display: block;
  width: clamp(188px, 15vw, 226px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.brand-logo-footer {
  width: clamp(170px, 13vw, 210px);
  max-height: 54px;
}

@media (max-width: 1120px) {
  .site-header .brand {
    width: max-content;
  }

  .brand-logo {
    width: clamp(176px, 22vw, 214px);
    max-height: 54px;
  }
}

@media (max-width: 680px) {
  .site-header .brand {
    width: auto;
    min-height: 44px;
  }

  .brand-logo {
    width: clamp(112px, 36vw, 146px);
    max-height: 42px;
  }

  .brand-logo-footer {
    width: clamp(136px, 44vw, 170px);
  }
}

@media (max-width: 380px) {
  .brand-logo {
    width: clamp(104px, 33vw, 126px);
  }
}

/* Force new logo for cached legacy header markup 2026-07-06 */
.site-header .brand {
  gap: 0;
}

.site-header .brand .brand-mark {
  display: block;
  width: clamp(188px, 15vw, 226px);
  height: 58px;
  flex: 0 0 auto;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  background: transparent url("/assets/logo-rodnoe-uchastie.png?v=20260706-force-logo") center / contain no-repeat;
  border-radius: 0;
  box-shadow: none;
}

.site-header .brand .brand-mark + span {
  display: none;
}

.brand-footer .brand-mark {
  display: block;
  width: clamp(170px, 13vw, 210px);
  height: 54px;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  background: transparent url("/assets/logo-rodnoe-uchastie.png?v=20260706-force-logo") center / contain no-repeat;
  border-radius: 0;
  box-shadow: none;
}

.brand-footer .brand-mark + span {
  display: none;
}

@media (max-width: 1120px) {
  .site-header .brand .brand-mark {
    width: clamp(176px, 22vw, 214px);
    height: 54px;
  }
}

@media (max-width: 680px) {
  .site-header .brand .brand-mark {
    width: clamp(112px, 36vw, 146px);
    height: 42px;
  }

  .brand-footer .brand-mark {
    width: clamp(136px, 44vw, 170px);
  }
}

@media (max-width: 380px) {
  .site-header .brand .brand-mark {
    width: clamp(104px, 33vw, 126px);
  }
}

/* Lightweight hero image header 2026-07-06 */
.hero {
  min-height: clamp(640px, 68vh, 730px);
  overflow: hidden;
  color: var(--color-text);
  background-color: #f4f2e9;
  background-image: none;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(250, 248, 243, 0.96) 0%, rgba(250, 248, 243, 0.84) 32%, rgba(250, 248, 243, 0.42) 56%, rgba(250, 248, 243, 0.06) 78%, rgba(250, 248, 243, 0) 100%),
    linear-gradient(180deg, rgba(250, 248, 243, 0.14), rgba(250, 248, 243, 0.02));
}

.hero-content {
  z-index: 2;
  padding: clamp(58px, 8vw, 92px) 0 clamp(46px, 7vw, 76px);
}

.hero .eyebrow {
  color: var(--color-accent-hover);
}

.hero h1 {
  max-width: 820px;
  color: var(--color-primary);
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.06;
}

.hero-lead {
  max-width: 720px;
  color: var(--color-text);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.5;
}

@media (max-width: 980px) {
  .hero {
    min-height: 690px;
  }

  .hero-media img {
    object-position: 67% center;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(250, 248, 243, 0.96) 0%, rgba(250, 248, 243, 0.9) 46%, rgba(250, 248, 243, 0.48) 100%),
      linear-gradient(90deg, rgba(250, 248, 243, 0.9), rgba(250, 248, 243, 0.16));
  }

  .hero h1 {
    max-width: 620px;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 710px;
  }

  .hero-content {
    padding: 58px 0 42px;
  }

  .hero-media img {
    object-position: 70% center;
  }

  .hero h1,
  .hero-lead {
    max-width: 360px;
  }
}

.internal-form-card {
  margin-top: 24px;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: calc(100vh - 140px);
  -webkit-overflow-scrolling: touch;
}

.internal-form-frame {
  display: block;
  width: 100%;
  height: 5200px;
  min-height: 1600px;
  border: 0;
}

@media (max-width: 760px) {
  .internal-form-card {
    max-height: none;
    overflow: visible;
  }

  .internal-form-frame {
    height: 6400px;
  }
}

/* Calm Future Care — public site refresh 2026-07-14 */
:root {
  --background: #f7f8f4;
  --background-soft: #eef3ef;
  --surface-warm: #fbf4ec;
  --text-primary: #1d2924;
  --text-secondary: #5f6f67;
  --brand-primary: #2f7068;
  --brand-primary-hover: #245b55;
  --brand-soft: #dcebe5;
  --accent-warm: #e5a477;
  --accent-warm-soft: #fae8da;
  --border-soft: #dfe7e2;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shadow-soft: 0 20px 60px rgba(29, 41, 36, 0.09);
  --transition-calm: 280ms cubic-bezier(.2, .7, .2, 1);
}

body {
  color: var(--text-primary);
  background: var(--background);
}

.site-header {
  min-height: 76px;
  border-color: rgba(47, 112, 104, 0.13);
  background: rgba(247, 248, 244, 0.88);
  box-shadow: 0 8px 30px rgba(29, 41, 36, 0.04);
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--brand-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-calm);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  min-height: 54px;
  gap: 10px;
  border-color: var(--brand-primary);
  border-radius: 999px;
  background: var(--brand-primary);
  box-shadow: 0 12px 28px rgba(47, 112, 104, 0.18);
  transition: transform var(--transition-calm), background var(--transition-calm), box-shadow var(--transition-calm);
}

.button:hover {
  background: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
  box-shadow: 0 16px 34px rgba(47, 112, 104, 0.24);
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--brand-primary);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(47, 112, 104, 0.28);
  box-shadow: none;
}

.hero-calm {
  min-height: min(860px, calc(100svh - 76px));
  padding: clamp(48px, 7vw, 92px) 0 72px;
  overflow: hidden;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 12% 14%, rgba(229, 164, 119, 0.18), transparent 28%),
    radial-gradient(circle at 88% 70%, rgba(47, 112, 104, 0.14), transparent 30%),
    linear-gradient(145deg, #f9faf6 0%, #eef3ef 55%, #f8f1e9 100%);
}

.hero-calm::after,
.hero-calm .hero-media {
  display: none;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
  padding: 0;
}

.hero-copy {
  position: relative;
  z-index: 3;
  animation: hero-copy-in 760ms cubic-bezier(.2, .7, .2, 1) both;
}

.hero-calm .eyebrow {
  display: inline-flex;
  padding: 8px 13px;
  color: var(--brand-primary);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(47, 112, 104, 0.16);
  border-radius: 999px;
}

.hero-calm h1 {
  max-width: 760px;
  margin-top: 22px;
  color: var(--text-primary);
  font-size: clamp(2.65rem, 5.2vw, 5.35rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.hero-calm .hero-lead {
  max-width: 690px;
  color: var(--text-secondary);
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
}

.hero-calm .trust-row span {
  min-height: 36px;
  padding: 7px 12px;
  color: var(--brand-primary-hover);
  background: rgba(220, 235, 229, 0.7);
  border: 1px solid rgba(47, 112, 104, 0.13);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.care-system {
  position: relative;
  z-index: 2;
  min-height: 560px;
  animation: care-system-in 900ms 120ms cubic-bezier(.2, .7, .2, 1) both;
}

.care-system-photo {
  position: absolute;
  inset: 76px 46px 72px;
  display: block;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.74);
  border-radius: 46% 54% 45% 55% / 51% 42% 58% 49%;
  box-shadow: var(--shadow-soft);
  transform: rotate(-1.5deg);
}

.care-system-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(29, 41, 36, 0.14));
}

.care-system-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
  transform: scale(1.02);
}

.care-system-lines {
  position: absolute;
  inset: 18px 0;
  width: 100%;
  height: calc(100% - 36px);
  fill: none;
  stroke: rgba(47, 112, 104, 0.28);
  stroke-width: 2;
  stroke-dasharray: 8 12;
  pointer-events: none;
}

.care-system-lines path {
  animation: care-line 22s linear infinite;
}

.care-node {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 2px;
  min-width: 150px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(47, 112, 104, 0.14);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(29, 41, 36, 0.12);
  backdrop-filter: blur(12px);
  animation: care-float 5.5s ease-in-out infinite;
}

.care-node b { color: var(--brand-primary-hover); }
.care-node small { color: var(--text-secondary); }
.care-node-family { top: 28px; left: 0; }
.care-node-helper { top: 64px; right: -12px; animation-delay: -1.4s; }
.care-node-report { right: 0; bottom: 34px; animation-delay: -2.8s; }
.care-node-coordinator { bottom: 10px; left: 4px; animation-delay: -4.2s; }

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-orb-one { width: 280px; height: 280px; top: -140px; right: 14%; background: rgba(229, 164, 119, .17); }
.hero-orb-two { width: 180px; height: 180px; bottom: -80px; left: 18%; background: rgba(47, 112, 104, .12); }

.hero-scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-secondary);
  font-size: 13px;
  transform: translateX(-50%);
}

.hero-scroll-cue span {
  width: 20px;
  height: 30px;
  border: 1px solid rgba(47, 112, 104, .35);
  border-radius: 999px;
}

.hero-scroll-cue span::after {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  margin: 6px auto 0;
  background: var(--brand-primary);
  border-radius: 50%;
  animation: scroll-cue 1.8s ease-in-out infinite;
}

.section { padding-block: clamp(72px, 8vw, 120px); }
.section-light { background: rgba(255, 255, 255, .58); }
.section-muted { background: var(--background-soft); }
.section-heading h2 { letter-spacing: -.025em; text-wrap: balance; }

.situation-card,
.price-card,
.story-card,
.trust-grid > div,
.plan-card,
.report-card,
.quiz-card,
.request-form {
  border-color: var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 36px rgba(29, 41, 36, 0.055);
  transition: transform var(--transition-calm), box-shadow var(--transition-calm), border-color var(--transition-calm);
}

.situation-card:hover,
.price-card:hover,
.story-card:hover,
.trust-grid > div:hover {
  border-color: rgba(47, 112, 104, .32);
  box-shadow: var(--shadow-soft);
  transform: translateY(-5px);
}

.price-featured,
.plan-featured { background: linear-gradient(145deg, #fff, var(--brand-soft)); }

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease calc(var(--reveal-order, 0) * 45ms), transform 650ms cubic-bezier(.2, .7, .2, 1) calc(var(--reveal-order, 0) * 45ms);
}

.reveal-on-scroll.is-revealed { opacity: 1; transform: none; }

@keyframes hero-copy-in { from { opacity: 0; transform: translateY(22px); } }
@keyframes care-system-in { from { opacity: 0; transform: scale(.96) translateY(20px); } }
@keyframes care-line { to { stroke-dashoffset: -200; } }
@keyframes care-float { 50% { transform: translateY(-8px); } }
@keyframes scroll-cue { 50% { transform: translateY(9px); opacity: .45; } }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .header-phone { display: none; }
  .hero-split { grid-template-columns: minmax(0, 1fr) minmax(370px, .82fr); gap: 28px; }
  .care-system { min-height: 500px; }
  .care-node { min-width: 132px; padding: 11px 13px; }
}

@media (max-width: 860px) {
  .hero-calm { min-height: auto; padding-top: 52px; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-calm h1 { max-width: 720px; font-size: clamp(2.55rem, 10vw, 4.7rem); }
  .care-system { width: min(100%, 610px); min-height: 460px; margin: 4px auto 0; }
  .care-system-photo { inset: 60px 42px 58px; }
  .hero-scroll-cue { display: none; }
}

@media (max-width: 680px) {
  .site-header { min-height: 64px; padding: 10px 18px; }
  .hero-calm { min-height: auto; padding: 40px 0 46px; }
  .hero-calm h1 { max-width: none; margin-top: 18px; font-size: clamp(2.35rem, 12vw, 3.7rem); line-height: 1.01; }
  .hero-calm .hero-lead { max-width: none; font-size: 1.05rem; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-calm .trust-row { gap: 7px; margin-top: 24px; }
  .hero-calm .trust-row span { font-size: 13px; }
  .care-system { min-height: 350px; margin-top: 12px; }
  .care-system-photo { inset: 56px 24px 52px; border-width: 5px; }
  .care-node { min-width: 0; max-width: 142px; padding: 9px 11px; border-radius: 14px; font-size: 13px; }
  .care-node small { font-size: 10px; }
  .care-node-family { top: 20px; left: 0; }
  .care-node-helper { top: 32px; right: 0; }
  .care-node-report { right: 0; bottom: 18px; }
  .care-node-coordinator { left: 0; bottom: 6px; }
  .section { padding-block: 68px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .care-system,
  .care-system-lines path,
  .care-node,
  .hero-scroll-cue span::after { animation: none !important; }
  .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
  .button,
  .situation-card,
  .price-card,
  .story-card,
  .trust-grid > div { transition: none; }
}

/* Brand wordmark 2026-09-06: trim transparent margins in layout. */
.brand-logo {
  aspect-ratio: 4 / 1;
  height: auto;
  object-fit: cover;
}

@media (max-width: 680px) {
  .site-header .brand-logo { width: clamp(152px, 44vw, 184px); }
}

/* Supplied tree logo, 2026-09-22. SVG only frames the unmodified source PNG. */
.site-header .brand-logo, .brand-logo {
  width: 158px;
  height: 112px;
  max-height: none;
  aspect-ratio: 1092 / 778;
  object-fit: contain;
}
.brand-logo-footer { width: 180px; height: 128px; }
@media (max-width: 680px) {
  .site-header .brand-logo { width: 126px; height: 90px; }
  .brand-logo-footer { width: 158px; height: 112px; }
}
