/* ============================================================
   HomeCare — редизайн. Mobile-first. Две темы:
   html[data-theme="olive"]  — премиальная, тёплая (по умолчанию)
   html[data-theme="aegean"] — морская, конверсионная
   ============================================================ */

:root {
  --bg: #f7f4ee;
  --surface: #fffdf8;
  --surface-2: #f0ece1;
  --ink: #20271e;
  --muted: #5d6456;
  --line: #e5dfd0;
  --primary: #244434;
  --primary-ink: #f5f3ec;
  --primary-hover: #1b3528;
  --accent: #b08c4f;
  --accent-soft: #f3ead9;
  --ok: #2e7d4f;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(42, 48, 38, 0.08);
  --shadow-lg: 0 24px 60px rgba(42, 48, 38, 0.14);
  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --display-weight: 600;
  --display-spacing: -0.01em;
  --header-bg: rgba(247, 244, 238, 0.86);
}

html[data-theme="aegean"] {
  --bg: #f3f7f9;
  --surface: #ffffff;
  --surface-2: #e7eef3;
  --ink: #0f2230;
  --muted: #4f6271;
  --line: #dbe5ec;
  --primary: #0e3a5c;
  --primary-ink: #f2f7fa;
  --primary-hover: #0a2c47;
  --accent: #c2703d;
  --accent-soft: #f6e7db;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(14, 42, 64, 0.09);
  --shadow-lg: 0 24px 60px rgba(14, 42, 64, 0.16);
  --font-display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --display-weight: 800;
  --display-spacing: -0.02em;
  --header-bg: rgba(255, 255, 255, 0.88);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-spacing);
  line-height: 1.12;
  margin: 0 0 0.4em;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
@media (max-width: 640px) { .container { width: calc(100% - 32px); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  font-family: var(--font-body);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }

.section { padding: clamp(56px, 9vw, 110px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(28px, 5vw, 52px); }
.section-head h2 { font-size: clamp(28px, 4.6vw, 44px); }
.section-head p { color: var(--ink); font-size: clamp(15.5px, 2vw, 17.5px); margin: 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 26px;
  border-radius: 999px; border: 1px solid transparent;
  font: 700 15.5px/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
html[data-theme="aegean"] .btn { border-radius: var(--radius-sm); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--primary-hover); box-shadow: var(--shadow-lg); }
html[data-theme="aegean"] .btn-primary { background: var(--accent); }
html[data-theme="aegean"] .btn-primary:hover { background: color-mix(in oklab, var(--accent) 82%, black); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.btn-light:hover { box-shadow: var(--shadow-lg); }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--header-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.logo strong { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: 0.01em; }
.logo span { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.main-nav { display: none; align-items: center; gap: 4px; margin-inline: auto; }
.main-nav a {
  text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--muted);
  padding: 9px 13px; border-radius: 999px; transition: color 0.15s, background 0.15s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-switch {
  appearance: none; border: 1px solid var(--line); background: var(--surface);
  border-radius: 999px; padding: 8px 28px 8px 14px; font: 600 13.5px var(--font-body);
  color: var(--ink); cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23777' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.header-cta { display: none; }
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 12px;
  background: transparent; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
}
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 980px) {
  .main-nav { display: flex; }
  .header-cta { display: inline-flex; min-height: 42px; padding: 9px 20px; }
  .burger { display: none; }
}

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 64px 0 0 0; z-index: 55;
  background: var(--bg);
  padding: 28px 24px 40px;
  display: none; flex-direction: column; gap: 4px;
  overflow-y: auto;
}
.nav-open .mobile-menu { display: flex; }
.mobile-menu a {
  text-decoration: none; font: 700 22px/1.3 var(--font-body);
  padding: 14px 6px; border-bottom: 1px solid var(--line); color: var(--ink);
}
.mobile-menu .menu-cta { margin-top: 24px; border-bottom: none; }
.mobile-menu .menu-contact { border-bottom: none; font-size: 16px; color: var(--muted); font-weight: 600; padding: 8px 6px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; display: none; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; }
.hero-grid {
  position: relative; z-index: 1; display: grid; gap: 36px;
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 9vw, 110px);
}
.hero h1 { font-size: clamp(34px, 7.2vw, 60px); max-width: 14ch; }
.hero-sub { font-size: clamp(16px, 2.4vw, 19px); color: var(--ink); max-width: 50ch; }
.hero-points { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 11px; }
.hero-points li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; font-weight: 600; }
.hero-points li::before {
  content: "✓"; flex: 0 0 22px; height: 22px; margin-top: 1px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 50%; font-size: 12px; font-weight: 800;
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }

/* photo frame — olive */
.hero-visual { position: relative; }
.hero-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.hero-frame::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: inherit; pointer-events: none;
}
.hero-badge {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  background: var(--surface); border-radius: var(--radius-sm);
  padding: 12px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px;
  font-size: 13.5px; font-weight: 700;
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(46, 125, 79, 0.15); }
.hero-badge small { display: block; font-weight: 600; color: var(--muted); }

/* lead card — aegean */
.hero-card {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 26px 24px 24px;
  border: 1px solid var(--line);
}
.hero-card h3 { font-size: 21px; margin-bottom: 4px; }
.hero-card .form-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }

html[data-theme="olive"] .hero-card { display: none; }
html[data-theme="aegean"] .hero-visual { display: none; }
html[data-theme="aegean"] .hero-bg { display: block; }
html[data-theme="aegean"] .hero-bg img { filter: brightness(0.82); }
html[data-theme="aegean"] .hero-bg::after {
  background: linear-gradient(102deg, rgba(7, 26, 40, 0.92) 0%, rgba(7, 26, 40, 0.66) 48%, rgba(7, 26, 40, 0.3) 100%);
}
html[data-theme="aegean"] .hero { color: #fff; }
html[data-theme="aegean"] .hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(7, 26, 40, 0.45); }
html[data-theme="aegean"] .hero .hero-sub { color: rgba(255, 255, 255, 0.86); }
html[data-theme="aegean"] .hero .hero-points li::before { background: rgba(255, 255, 255, 0.16); color: #f0b285; }
html[data-theme="aegean"] .hero .hero-note { color: rgba(255, 255, 255, 0.65); }
html[data-theme="aegean"] .hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
html[data-theme="aegean"] .hero .btn-ghost:hover { border-color: #fff; }
html[data-theme="aegean"] .hero-card { color: var(--ink); }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(40px, 6vw, 80px); }
  html[data-theme="aegean"] .hero-grid { grid-template-columns: 1.2fr 0.8fr; }
}

/* ---------- audience strip ---------- */
.audience { display: grid; gap: 12px; grid-template-columns: 1fr; }
.audience-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 16px 18px;
}
.audience-item .num {
  flex: 0 0 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent);
  font: 800 14px var(--font-body);
}
.audience-item strong { display: block; font-size: 15.5px; }
.audience-item span { font-size: 13.5px; color: var(--muted); }
@media (min-width: 640px) { .audience { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .audience { grid-template-columns: repeat(4, 1fr); } }

/* ---------- services ---------- */
.services-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.service-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card .media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .media img { transform: scale(1.04); }
.service-card .price-tag {
  position: absolute; left: 12px; bottom: 12px;
  background: var(--surface); border-radius: 999px;
  padding: 6px 14px; font: 700 13.5px var(--font-body);
  box-shadow: var(--shadow);
}
html[data-theme="aegean"] .service-card .price-tag { border-radius: 8px; background: var(--primary); color: var(--primary-ink); }
.service-card .body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-card h3 { font-size: 21px; margin: 0; }
.service-card p { font-size: 14.5px; color: var(--muted); margin: 0; flex: 1; }
.service-card .link {
  margin-top: 8px; font: 700 14px var(--font-body); color: var(--accent);
  display: inline-flex; align-items: center; gap: 7px;
}
.service-card .link::after { content: "→"; transition: transform 0.2s; }
.service-card:hover .link::after { transform: translateX(4px); }

/* ---------- steps ---------- */
.steps { display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px 24px;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font: 800 13px var(--font-body); letter-spacing: 0.12em;
  color: var(--accent); margin-bottom: 14px;
}
.step h3 { font-size: 19px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- why / report ---------- */
.why-grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 920px) { .why-grid { grid-template-columns: 1fr 1fr; } }
.why-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.why-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.why-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.why-list li:last-child { border-bottom: none; }
.why-list .ico {
  flex: 0 0 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
}
.why-list strong { display: block; font-size: 16px; margin-bottom: 2px; }
.why-list p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- price table ---------- */
.price-table { display: grid; gap: 10px; }
.price-row {
  display: grid; gap: 4px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 16px 18px;
}
.price-row .p-name { font-weight: 700; font-size: 15.5px; }
.price-row .p-price { font: 700 16px var(--font-body); color: var(--accent); white-space: nowrap; }
.price-row .p-factors { font-size: 13px; color: var(--muted); }
@media (min-width: 760px) {
  .price-row { grid-template-columns: 1.4fr auto 1.2fr; align-items: center; gap: 20px; }
  .price-row .p-factors { text-align: right; }
}
.price-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

/* ---------- blog ---------- */
.blog-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; text-decoration: none; display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.2s, box-shadow 0.25s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card .tag { font: 700 11.5px var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.blog-card h3 { font-size: 20px; margin: 0; }
.blog-card p { font-size: 14px; color: var(--muted); margin: 0; flex: 1; }
.blog-card .link { font: 700 14px var(--font-body); color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; max-width: 760px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px;
  font: 700 15.5px/1.4 var(--font-body); position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%;
  width: 26px; height: 26px; margin-top: -13px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  font-size: 17px; font-weight: 700; transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 20px 18px; font-size: 14.5px; color: var(--muted); }

/* ---------- lead form ---------- */
.form { display: grid; gap: 12px; }
.form label { font: 700 13px var(--font-body); display: grid; gap: 6px; }
.form input, .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--ink);
  font: 500 15.5px var(--font-body);
  transition: border-color 0.15s, box-shadow 0.15s;
}
html[data-theme="aegean"] .form input, html[data-theme="aegean"] .form select, html[data-theme="aegean"] .form textarea { background: #f7fafc; }
.form textarea { min-height: 90px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.form .form-foot { font-size: 12px; color: var(--muted); margin: 2px 0 0; }
.form-success {
  display: none; text-align: center; padding: 34px 10px;
}
.form-success .check {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--accent-soft); color: var(--ok);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.form-success h3 { font-size: 22px; }
.form-success p { color: var(--muted); font-size: 14.5px; margin: 0; }
.form-wrap.sent .form { display: none; }
.form-wrap.sent .form-success { display: block; }

/* ---------- CTA section ---------- */
.cta-section { position: relative; overflow: hidden; background: var(--primary); color: var(--primary-ink); }
.cta-grid { display: grid; gap: 36px; padding: clamp(56px, 8vw, 96px) 0; }
@media (min-width: 920px) { .cta-grid { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; } }
.cta-section h2 { font-size: clamp(28px, 4.6vw, 44px); color: var(--primary-ink); }
.cta-section .cta-sub { color: color-mix(in oklab, var(--primary-ink) 75%, transparent); font-size: 16px; }
.cta-contacts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.cta-contacts a { color: var(--primary-ink); font-weight: 700; text-decoration: none; font-size: 16.5px; }
.cta-contacts span { display: block; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; }
.cta-card {
  background: var(--surface); color: var(--ink);
  border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow-lg);
}
.cta-card h3 { font-size: 22px; margin-bottom: 4px; }
.cta-card .form-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }

/* ---------- footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 64px) 0 110px; }
@media (min-width: 980px) { .site-footer { padding-bottom: 40px; } }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.site-footer .logo { margin-bottom: 12px; }
.site-footer p { font-size: 13.5px; color: var(--muted); max-width: 36ch; }
.footer-col h4 { font: 700 13px var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { text-decoration: none; font-size: 14.5px; font-weight: 600; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 12.5px; color: var(--muted);
}

/* ---------- mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--header-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.action-bar .btn { min-height: 48px; padding: 10px 8px; font-size: 14px; }
@media (min-width: 980px) { .action-bar { display: none; } }

/* ---------- service page ---------- */
.svc-hero { padding: clamp(40px, 7vw, 80px) 0 clamp(36px, 6vw, 64px); }
.svc-hero .hero-sub { color: var(--ink); }
.svc-hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 920px) { .svc-hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 80px); } }
.svc-hero h1 { font-size: clamp(30px, 6vw, 50px); }
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.svc-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.svc-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-price-line { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 22px; flex-wrap: wrap; }
.svc-price-line .from { font: 800 26px var(--font-body); color: var(--accent); }

.check-grid { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .check-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .check-grid { grid-template-columns: 1fr 1fr 1fr; } }
.check-item {
  display: flex; gap: 12px; align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 14px 16px;
  font-size: 14.5px; font-weight: 600;
}
.check-item::before {
  content: "✓"; flex: 0 0 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); border-radius: 50%;
  font-size: 12px; font-weight: 800;
}

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- skip / a11y ---------- */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--primary); color: var(--primary-ink); padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip:focus { left: 0; }

/* ============================================================
   HomeCare — дополнения к дизайн-CSS (наши блоки): результаты,
   модалка заявки, языки в мобильном меню, внутренние страницы.
   Используют те же переменные темы (aegean).
   ============================================================ */

/* mobile-menu: переключатель языков + WhatsApp */
.mobile-menu .menu-langs { display:flex; gap:8px; margin:14px 0 4px; border-bottom:none; }
.mobile-menu .menu-langs button { flex:1; border:1px solid var(--line); background:var(--surface); border-radius:10px; padding:10px; font:700 14px var(--font-body); color:var(--muted); cursor:pointer; }
.mobile-menu .menu-langs button.active { background:var(--accent); color:#fff; border-color:var(--accent); }

/* results — было / стало */
.results-grid { display:grid; gap:18px; grid-template-columns:1fr; }
@media (min-width:760px){ .results-grid { grid-template-columns:1fr 1fr; } }
.result { margin:0; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.result .ba { display:grid; grid-template-columns:1fr 1fr; }
.result .ba-col { position:relative; }
.result .ba-col img { display:block; width:100%; height:220px; object-fit:cover; }
.result .ba-tag { position:absolute; top:10px; left:10px; background:rgba(15,34,48,.78); color:#fff; font:700 12px var(--font-body); padding:4px 10px; border-radius:999px; }
.result .ba-tag.after { background:var(--accent); }
.result figcaption { padding:14px 18px; font-weight:600; color:var(--ink); line-height:1.5; font-size:14.5px; }

/* generic inner page hero */
.page-hero { padding: clamp(40px,7vw,80px) 0 0; }
.page-hero h1 { font-size: clamp(30px,6vw,52px); max-width:18ch; }
.page-hero .hero-sub { color:var(--ink); max-width:60ch; }
.page-hero .hero-cta-row { margin-top:24px; }

/* two-col / list / mini-cta */
.two-col { display:grid; gap:32px; }
@media (min-width:900px){ .two-col { grid-template-columns:1fr 1fr; align-items:start; } }
.list { list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.list li { display:flex; gap:10px; font-weight:600; color:var(--ink); line-height:1.5; }
.list li::before { content:"✓"; color:var(--accent); font-weight:800; flex:0 0 auto; }
.mini-cta { background:var(--accent-soft); border:1px solid color-mix(in oklab, var(--accent) 25%, var(--line)); border-radius:var(--radius); padding:26px 24px; }
.mini-cta h3 { font-size:22px; margin:0 0 6px; }
.mini-cta p { color:var(--muted); margin:0 0 16px; font-size:14.5px; }

/* report card (trust) */
.report-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:24px; box-shadow:var(--shadow); }
.report-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; border-bottom:1px solid var(--line); padding-bottom:16px; margin-bottom:16px; }
.report-head .pill { background:var(--accent); color:#fff; border-radius:999px; padding:5px 12px; font:700 12px var(--font-body); }
.report-list { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.report-item { background:var(--bg); border:1px solid var(--line); border-radius:var(--radius-sm); padding:12px 14px; font-weight:600; font-size:13.5px; }
.report-warn { background:var(--accent-soft); border:1px solid color-mix(in oklab, var(--accent) 25%, var(--line)); border-radius:var(--radius-sm); padding:14px 16px; color:var(--ink); font-weight:600; margin-top:14px; line-height:1.5; }
@media (max-width:560px){ .report-list { grid-template-columns:1fr; } }

/* areas chips */
.areas { display:flex; flex-wrap:wrap; gap:10px; }
.area-chip { background:var(--surface); border:1px solid var(--line); border-radius:999px; padding:10px 16px; font-weight:600; color:var(--ink); text-decoration:none; font-size:14.5px; }
.area-chip:hover { border-color:var(--accent); color:var(--accent); }

/* packages */
.pkg-grid { display:grid; gap:18px; grid-template-columns:1fr; }
@media (min-width:700px){ .pkg-grid { grid-template-columns:1fr 1fr; } }
@media (min-width:1080px){ .pkg-grid { grid-template-columns:repeat(4,1fr); } }
.pkg { display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:24px 22px; }
.pkg.hl { border-color:var(--accent); box-shadow:var(--shadow-lg); }
.pkg .label { display:inline-block; align-self:flex-start; background:var(--accent-soft); color:var(--accent); border-radius:999px; padding:5px 12px; font:700 12px var(--font-body); }
.pkg h3 { font-size:21px; margin:14px 0 6px; }
.pkg .big { font:800 24px var(--font-body); color:var(--accent); margin:0 0 10px; }
.pkg p { font-size:14px; color:var(--muted); margin:0 0 14px; }
.pkg ul { list-style:none; margin:0 0 18px; padding:0; display:grid; gap:9px; flex:1; }
.pkg li { display:flex; gap:9px; font-size:14px; font-weight:600; }
.pkg li::before { content:"✓"; color:var(--accent); font-weight:800; }

/* svc hero note + price line */
.svc-price-line .note { color:var(--muted); font-size:14px; }

/* quote modal */
.modal-backdrop { position:fixed; inset:0; background:rgba(15,34,48,.55); display:grid; place-items:center; z-index:100; padding:18px; }
.modal { background:var(--surface); border-radius:var(--radius); max-width:520px; width:100%; padding:26px; box-shadow:var(--shadow-lg); position:relative; max-height:92vh; overflow:auto; }
.modal-close { position:absolute; right:16px; top:16px; border:1px solid var(--line); background:var(--bg); border-radius:10px; width:36px; height:36px; font-size:18px; cursor:pointer; color:var(--ink); }
.modal h3 { font-size:24px; margin:0 8px 4px 0; }
.modal .form-sub { color:var(--muted); font-size:13.5px; margin-bottom:16px; }

/* error message in forms */
.form .error-msg { color:#b91c1c; font-size:13px; }

/* logo emblem square (navy) */
.logo { flex-direction: row; align-items: center; gap: 11px; }
.logo-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--primary); display: grid; place-items: center; flex: 0 0 auto; box-shadow: 0 8px 20px rgba(14,42,64,.28); }
.logo-mark svg { width: 62%; height: 62%; display: block; }
.logo-text { display: flex; flex-direction: column; justify-content: center; line-height: 1.1; }
