/* Общие стили лендингов «MedAI Дом» (медсестра, уход, перевозка): вынесены из nurse.html */
html { scroll-padding-top: 76px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
section { padding: 72px 0; position: relative; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
h2 { font-size: clamp(27px, 4.4vw, 40px); font-weight: 700; }
.lead { color: var(--muted); font-size: 18px; max-width: 640px; margin: 14px 0 0; }
.center { text-align: center; } .center .lead { margin-left: auto; margin-right: auto; }
.alt { background: var(--bg2); }
[hidden] { display: none !important; }

nav.top { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid transparent; transition: border-color .2s; padding-top: var(--safe-t); }
nav.top.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 14px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; text-decoration: none; white-space: nowrap; }
.logo i { width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(135deg, var(--g500), var(--g900)); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 16px -6px var(--ring); }
.logo small { font-size: 11px; font-weight: 600; color: var(--clay); background: var(--clay-soft); padding: 2px 8px; border-radius: 99px; letter-spacing: .04em; }
.nav-links { display: flex; gap: 22px; margin-left: 14px; flex: 1; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; white-space: nowrap; transition: color .2s; } .nav-links a:hover { color: var(--ink); }
.grow { flex: 1; }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 480px) { .nav-in { gap: 8px; } .logo small { display: none; } nav.top .btn-wa { display: none; } }

.hero { padding: 40px 0 78px; background: radial-gradient(1100px 520px at 85% -10%, var(--g100), transparent 62%), radial-gradient(700px 420px at 0% 30%, var(--clay-soft), transparent 60%); overflow: hidden; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; } @media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 28px; } }
.hero h1 { font-size: clamp(34px, 5.8vw, 54px); font-weight: 700; margin: 14px 0 0; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--g500), var(--g700) 55%, var(--clay)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.btn-wa { background: #1FA855; color: #fff; box-shadow: 0 8px 22px rgba(31,168,85,.3); } .btn-wa:hover { filter: brightness(1.05); }
.btn svg { flex: none; }
.micro { margin-top: 20px; font-size: 14px; color: var(--muted); display: flex; gap: 8px 18px; flex-wrap: wrap; } .micro span::before { content: "✓"; color: var(--g500); font-weight: 700; margin-right: 6px; }


.trust { padding: 0; margin-top: -32px; z-index: 5; }
.trust-in { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.trust-in div { padding: 18px 20px; display: flex; gap: 12px; align-items: center; border-right: 1px solid var(--line); font-size: 14.5px; font-weight: 600; } .trust-in div:last-child { border-right: 0; } .trust-in svg { flex: none; color: var(--g500); }
@media (max-width: 900px) { .trust-in { grid-template-columns: 1fr 1fr; } .trust-in div:nth-child(2) { border-right: 0; } .trust-in div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 480px) { .trust-in div { padding: 14px; font-size: 13.5px; gap: 9px; } }

.svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; } @media (max-width: 900px) { .svcs { grid-template-columns: 1fr; } }
.svc { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 24px; display: flex; flex-direction: column; gap: 6px; position: relative; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--g300); }
.svc .ic { width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(135deg, var(--g100), color-mix(in srgb, var(--g100) 40%, var(--card))); color: var(--accent-text); display: grid; place-items: center; margin-bottom: 8px; }
.svc h3 { font-size: 20px; } .svc p { margin: 0; color: var(--muted); font-size: 14.5px; flex: 1; }
.svc .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.svc .price { font-size: 36px; font-weight: 700; letter-spacing: -.02em; margin-top: 10px; } .svc .price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.svc .btn { margin-top: 12px; width: 100%; }
.fine { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 20px; }

.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; } @media (max-width: 800px) { .journey { grid-template-columns: 1fr; gap: 26px; } }
.stp { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 28px 22px 22px; box-shadow: var(--shadow-sm); position: relative; }
.stp .n { position: absolute; top: -17px; left: 22px; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--g500), var(--g700)); color: #fff; font-weight: 700; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(30,140,100,.4); }
.stp h3 { font-size: 19px; margin: 0 0 8px; } .stp p { margin: 0; color: var(--muted); font-size: 15px; }

/* форма заявки */
.order { display: grid; grid-template-columns: 1fr 340px; gap: 24px; margin-top: 40px; align-items: start; } @media (max-width: 900px) { .order { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 26px; box-shadow: var(--shadow-sm); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts .chip-btn { display: inline-flex; align-items: center; gap: 8px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } @media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
select.fld { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23889' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; line-height: 1.45; } .check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--g500); flex: none; }
.rx-note { display: none; background: var(--info-soft); color: var(--info); border-radius: 14px; padding: 12px 14px; font-size: 14px; margin-bottom: 14px; line-height: 1.5; } .rx-note.on { display: block; }
.rx-note a { color: inherit; font-weight: 600; }
.side { display: grid; gap: 14px; }
.side .card { padding: 22px; } .side h3 { font-size: 18px; margin-bottom: 6px; } .side p { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; }
.side .btn + .btn { margin-top: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.done { text-align: center; padding: 18px 6px; } .done .big { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(135deg, var(--g500), var(--g700)); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -12px var(--ring); }
.done h3 { font-size: 24px; margin-bottom: 8px; } .done p { color: var(--muted); margin: 0 auto 18px; max-width: 420px; }

.safe { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; } @media (max-width: 800px) { .safe { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 26px; box-shadow: var(--shadow-sm); } .panel h3 { font-size: 19px; margin-bottom: 12px; }
.panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.panel.no li::before { content: "✕"; color: var(--danger); font-weight: 700; margin-right: 10px; } .panel.yes li::before { content: "✓"; color: var(--g500); font-weight: 700; margin-right: 10px; }
.callout { margin: 22px auto 0; max-width: 760px; text-align: center; font-size: 15px; color: var(--info); background: var(--info-soft); border-radius: 18px; padding: 14px 18px; } .callout a { color: inherit; font-weight: 600; }
.callout.warn { color: var(--danger); background: var(--danger-soft); }

.faq { max-width: 780px; margin: 36px auto 0; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 4px 20px; margin-bottom: 10px; transition: border-color .2s, box-shadow .2s; } details[open] { border-color: var(--g300); box-shadow: var(--shadow-sm); }
summary { cursor: pointer; font-weight: 600; font-size: 16.5px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; } summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; color: var(--g500); line-height: 1; transition: transform .25s; } details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 16px; color: var(--muted); font-size: 15.5px; }

.final { padding: 40px 0 30px; text-align: center; }
.final .box { background: linear-gradient(135deg, var(--g500), var(--g900)); color: #fff; border-radius: 36px; padding: 54px 24px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.final .box::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); top: -140px; right: -100px; }
.final h2 { color: #fff; position: relative; } .final p { position: relative; opacity: .9; font-size: 18px; margin: 14px auto 26px; max-width: 540px; }
.final .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; } .final .btn { background: #fff; color: var(--g900); } .final .btn.o { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
footer { padding: 34px 0 calc(110px + var(--safe-b)); color: var(--muted); font-size: 13.5px; text-align: center; } footer a { color: var(--muted); }

.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b)); z-index: 60; display: none; gap: 8px; transform: translateY(140%); transition: transform .4s var(--ease); }
.dock.on { transform: none; } .dock .btn { box-shadow: 0 12px 34px rgba(15,61,46,.4); } .dock .btn-primary { flex: 1; } .dock .btn-wa { width: 56px; padding: 0; }
@media (max-width: 760px) { .dock { display: flex; } }
  .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow); background: var(--g100); }
