/* RU-DOC marketing — «спокойная клиника за стеклом» */
@font-face{font-family:'Literata';font-style:normal;font-weight:200 900;font-display:swap;src:url("fonts/literata-cyrillic-n.1a4c1533032e.woff2") format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Literata';font-style:normal;font-weight:200 900;font-display:swap;src:url("fonts/literata-latin-n.c0473b84f21c.woff2") format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Onest';font-style:normal;font-weight:100 900;font-display:swap;src:url("fonts/onest-cyrillic-n.fe2bd26ae82a.woff2") format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Onest';font-style:normal;font-weight:100 900;font-display:swap;src:url("fonts/onest-latin-n.3db826ed1c5d.woff2") format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  --linen:#eef4f2;--paper:#fff;--scrubs:#0f5e4e;--scrubs-2:#0a4639;--scrubs-3:#13241f;--mint:#d7ebe4;--ink:#14302a;--muted:#55695f;--line:#d3e2dc;--pulse:#e0473c;
  --serif:'Literata',Georgia,serif;--sans:'Onest',system-ui,-apple-system,'Segoe UI',sans-serif;
  --wrap:1240px;--gut:clamp(16px,4vw,40px);
  --g-light:linear-gradient(135deg,#ffffffd0,#ffffff80);--g-edge:#ffffffe6;
  --g-shadow:inset 0 1px 0 #fff,inset 0 0 0 1px #ffffff66,0 24px 50px -28px #0f5e4e55
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:100px}
body{margin:0;color:var(--ink);font:400 17px/1.6 var(--sans);background:var(--linen);overflow-x:clip;-webkit-font-smoothing:antialiased}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(45% 55% at 100% 0%,#9fd8c566,transparent 70%),radial-gradient(40% 50% at 0% 100%,#b9d6f055,transparent 70%),var(--linen)}
a{color:inherit;text-decoration:none}
h1,h2,h3,p{margin:0}
h1,h2{font-family:var(--serif);font-weight:500;letter-spacing:-.015em;line-height:1.08;text-wrap:balance}
h1{font-size:clamp(42px,6vw,82px)}
h2{font-size:clamp(30px,3.6vw,50px)}
h3{font:600 20px/1.3 var(--sans)}
p{color:var(--muted);max-width:66ch}
:focus-visible{outline:3px solid #2bb08f;outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:-9999px;top:8px;z-index:200;background:var(--scrubs);color:#fff;padding:10px 16px;border-radius:10px}
.skip:focus{left:16px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gut)}
.lead{font-size:clamp(18px,1.5vw,20px);margin:20px 0 28px}

/* Стекло */
.glass{position:relative;background:var(--g-light);border:1px solid var(--g-edge);-webkit-backdrop-filter:blur(24px) saturate(170%);backdrop-filter:blur(24px) saturate(170%);box-shadow:var(--g-shadow);border-radius:28px}
.glass::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(120% 60% at 10% 0%,#ffffffb0,transparent 50%)}
.glass>*{position:relative}
.glass-card{display:block;background:var(--g-light);border:1px solid var(--g-edge);-webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%);box-shadow:var(--g-shadow);border-radius:24px;padding:24px}
a.glass-card{transition:transform .2s,box-shadow .2s}
a.glass-card:hover{transform:translateY(-3px);box-shadow:inset 0 1px 0 #fff,0 30px 50px -26px #0f5e4e70}

/* Кнопки */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border-radius:16px;background:linear-gradient(180deg,#167a66,var(--scrubs));color:#fff;font:600 16px/1 var(--sans);box-shadow:inset 0 1px 0 #ffffff55,0 10px 22px -10px #0f5e4e99;transition:transform .15s,filter .15s;white-space:nowrap}
.btn:hover{filter:brightness(1.08)}
.btn:active{transform:translateY(1px)}
.btn-small{min-height:42px;padding:0 18px;font-size:15px;border-radius:13px}
.btn-glass{background:#ffffff8c;color:var(--scrubs-2);border:1px solid #ffffffe6;box-shadow:inset 0 1px 0 #fff,0 8px 20px -12px #0f5e4e55;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.actions{display:flex;flex-wrap:wrap;gap:12px}
.more{display:inline-flex;font-weight:600;color:var(--scrubs);border-bottom:2px solid #0f5e4e40;padding-bottom:2px}
.more:hover{border-bottom-color:var(--scrubs)}

/* Шапка — плавающее стекло */
.site-header{position:fixed;z-index:80;top:14px;left:50%;translate:-50% 0;width:min(1240px,calc(100% - 28px));height:64px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 10px 0 20px;border-radius:22px;
  background:linear-gradient(135deg,#ffffffb8,#ffffff73);border:1px solid #ffffffe6;-webkit-backdrop-filter:blur(24px) saturate(180%);backdrop-filter:blur(24px) saturate(180%);box-shadow:inset 0 1px 0 #fff,0 16px 40px -20px #0f5e4e66}
.brand{display:inline-flex;align-items:center;gap:10px;font:700 21px/1 var(--sans);letter-spacing:-.02em;color:var(--ink)}
.brand-mark{width:26px;height:26px;border-radius:8px;background:var(--scrubs);position:relative;box-shadow:inset 0 1px 0 #ffffff55}
.brand-mark::before,.brand-mark::after{content:"";position:absolute;background:#fff;border-radius:2px;left:50%;top:50%;translate:-50% -50%}
.brand-mark::before{width:12px;height:4px}.brand-mark::after{width:4px;height:12px}
.site-header nav{display:flex;gap:2px}
.site-header nav a{padding:9px 14px;border-radius:12px;font-size:15px;font-weight:500;color:#2c4740}
.site-header nav a:hover{background:#ffffffb3;color:var(--ink)}
.site-header .mobile-only{display:none}
.header-actions{display:flex;align-items:center;gap:14px}
.signin{font-weight:600;font-size:15px;color:var(--scrubs)}
.menu-toggle{display:none;width:44px;height:44px;border:0;border-radius:13px;background:#ffffffa6;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:6px}
.menu-toggle span{width:20px;height:2px;background:var(--ink);transition:transform .2s}
.menu-toggle[aria-expanded=true] span:first-child{transform:translateY(4px) rotate(45deg)}
.menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-4px) rotate(-45deg)}

/* Hero */
.hero{position:relative;min-height:100svh;display:flex;flex-direction:column;justify-content:flex-end;isolation:isolate;overflow:hidden}
.hero-photo{position:absolute;inset:0;z-index:-1}
.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:70% 30%}
.hero-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#eef4f2f0 0%,#eef4f2b3 36%,#eef4f200 70%),linear-gradient(0deg,#eef4f2 0%,transparent 22%)}
.hero-inner{width:100%;max-width:calc(var(--wrap) + 2*var(--gut));margin:0 auto;padding:120px var(--gut) 64px;display:flex;align-items:flex-end;justify-content:space-between;gap:40px}
.hero-copy{max-width:640px;padding:clamp(26px,3.4vw,44px)}
.kicker{font-size:15px;font-weight:600;color:var(--scrubs);margin-bottom:14px}
.hero h1{color:var(--scrubs-3)}
.pulse{display:block;width:100%;height:44px;margin:14px 0 6px;overflow:visible}
.pulse path{fill:none;stroke:var(--pulse);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke;stroke-dasharray:1;stroke-dashoffset:1;animation:pulse-draw 1.8s cubic-bezier(.4,0,.2,1) .4s forwards}
@keyframes pulse-draw{to{stroke-dashoffset:0}}
.hero-lead{font-size:clamp(18px,1.5vw,20px);color:#3b5149;margin-bottom:28px}
.ticket{width:280px;flex:none;padding:22px 22px 18px;border-radius:24px}
.ticket::after{content:"";position:absolute;left:14px;right:14px;top:62px;border-top:2px dashed #0f5e4e33}
.ticket-head{display:flex;justify-content:space-between;align-items:baseline;font-size:14px;color:var(--muted);margin-bottom:22px}
.ticket-head span{font-weight:600;color:var(--scrubs)}
.ticket dl{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:0 0 10px;font-size:15px}
.ticket dt{color:var(--muted)}.ticket dd{margin:0;font-weight:600;text-align:right}
.ticket-time{font:500 54px/1 var(--serif);color:var(--scrubs-3);letter-spacing:-.02em;margin:6px 0 8px}
.ticket p{font-size:13px}
.photo-note{position:absolute;right:var(--gut);bottom:18px;font-size:12px;color:#14302acc;margin:0;padding:4px 10px;border-radius:999px;background:#ffffff99;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}

/* Секции */
.section{padding:clamp(64px,8vw,112px) 0;position:relative}
.section-mint{background:transparent}
.section-deep{background:radial-gradient(70% 90% at 80% 0%,#1b7a65,transparent 70%),radial-gradient(60% 80% at 0% 100%,#0d4a3f,transparent 70%),var(--scrubs-3);color:#fff}
.section-deep h2,.section-deep h3{color:#fff}
.section-deep p{color:#b9d3ca}
.section-deep .more{color:#9fe3cd;border-bottom-color:#9fe3cd55}
.section-deep .glass{background:linear-gradient(135deg,#ffffff24,#ffffff0d);border-color:#ffffff33;box-shadow:inset 0 1px 0 #ffffff55,0 24px 50px -24px #0008}
.section-deep .glass::before{background:radial-gradient(120% 60% at 10% 0%,#ffffff2a,transparent 55%)}
.head-split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px 64px;align-items:end;margin-bottom:clamp(32px,4vw,56px)}
.head-split h2{max-width:17ch}
.head-split p{font-size:18px}

/* Бенто */
.bento{display:grid;grid-template-columns:1.5fr 1fr;grid-template-rows:auto auto;gap:16px}
.tile{display:flex;flex-direction:column;gap:12px;padding:28px;border-radius:28px;background:var(--g-light);border:1px solid var(--g-edge);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:var(--g-shadow)}
.tile h3{font:500 26px/1.15 var(--serif)}
.tile p{font-size:16px}
.tile .more{margin-top:auto;align-self:flex-start}
.tile-chart{grid-row:span 2;display:grid;grid-template-rows:auto 1fr;gap:24px}
.tile-copy{display:flex;flex-direction:column;gap:12px}
.chart-card{background:#fff;border-radius:20px;padding:20px;box-shadow:inset 0 0 0 1px #e3eeea,0 20px 40px -26px #0f5e4e66}
.chart-top{display:flex;align-items:center;gap:12px;padding-bottom:16px;border-bottom:1px solid #e3eeea}
.chart-top div{flex:1}.chart-top strong{display:block}.chart-top small{color:var(--muted);font-size:13px}
.avatar{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:var(--mint);color:var(--scrubs);font-weight:700}
.badge{font-size:12px;font-weight:600;color:var(--scrubs);background:#e6f3ee;padding:5px 10px;border-radius:999px}
.chart-tabs{display:flex;gap:6px;margin:14px 0}
.chart-tabs>*{font-size:13px;padding:6px 12px;border-radius:10px;color:var(--muted)}
.chart-tabs b{background:var(--scrubs);color:#fff;font-weight:600}
.timeline{list-style:none;margin:0;padding:0 0 0 22px;position:relative}
.timeline::before{content:"";position:absolute;left:6px;top:8px;bottom:8px;width:2px;background:#d3e2dc}
.timeline li{position:relative;padding:8px 0}
.timeline li::before{content:"";position:absolute;left:-21px;top:14px;width:10px;height:10px;border-radius:50%;background:#fff;border:2px solid var(--scrubs)}
.timeline li:last-child::before{background:var(--scrubs)}
.timeline strong{display:block;font-size:15px}.timeline small{color:var(--muted);font-size:13px}
.slots{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:4px 0}
.slots span{text-align:center;padding:9px 0;border-radius:12px;font-size:14px;font-weight:600;background:#ffffffb3;border:1px dashed #0f5e4e55;color:var(--scrubs)}
.slots .busy{background:var(--scrubs);border-color:var(--scrubs);color:#fff;border-style:solid}
.invoice{display:grid;grid-template-columns:1fr auto;gap:8px;margin:4px 0;padding:14px 16px;background:#ffffffb3;border-radius:16px;font-size:15px}
.invoice dt{color:var(--muted)}.invoice dd{margin:0;font-weight:600;text-align:right;font-variant-numeric:tabular-nums}
.invoice .due{color:var(--pulse);font-weight:700}

/* Шаги */
.steps{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.steps li{padding:26px}
.steps span{display:block;font:500 46px/1 var(--serif);color:#9fe3cd;margin-bottom:18px}
.steps h3{margin-bottom:8px}
.steps p{font-size:15px}

/* Кабинет пациента */
.portal{display:grid;grid-template-columns:minmax(0,400px) minmax(0,1fr);gap:clamp(32px,6vw,96px);align-items:center}
.phone{width:min(340px,100%);margin:0 auto;padding:46px 20px 24px;border-radius:44px;background:linear-gradient(160deg,#ffffffd9,#ffffff8c);box-shadow:inset 0 0 0 8px #ffffff80,var(--g-shadow)}
.phone-notch{position:absolute;top:16px;left:50%;translate:-50% 0;width:90px;height:22px;border-radius:12px;background:#13241f}
.phone-brand{display:flex;align-items:center;gap:8px;font-weight:700;margin-bottom:18px}
.phone-brand .brand-mark{width:20px;height:20px;border-radius:6px}
.phone-brand .brand-mark::before{width:9px;height:3px}.phone-brand .brand-mark::after{width:3px;height:9px}
.phone h3{font:500 26px/1.15 var(--serif);margin-bottom:18px}
.phone-card{background:#fff;border-radius:18px;padding:14px 16px;margin-top:10px;box-shadow:0 8px 20px -14px #0f5e4e66}
.phone-card strong{display:block;font-size:15px}.phone-card small{color:var(--muted);font-size:13px}

/* Возможности, решения */
.features{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.features h3{margin-bottom:6px;font-size:18px}
.features p{font-size:15px}
.security{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(32px,6vw,80px);align-items:center}
.shield{list-style:none;margin:0;padding:12px 26px}
.shield li{padding:16px 0;border-bottom:1px solid #ffffff1f;color:#cfe3dc;font-size:15px}
.shield li:last-child{border-bottom:0}
.shield b{display:block;color:#fff;font-size:17px;margin-bottom:2px}
.solutions{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.solutions h3{font:500 26px/1.15 var(--serif);margin-bottom:10px}
.chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.chips a{padding:10px 16px;border-radius:999px;background:#ffffffa6;border:1px solid #ffffffe6;box-shadow:inset 0 1px 0 #fff,0 6px 16px -12px #0f5e4e66;font-size:15px;font-weight:500;color:var(--scrubs-2);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.chips a:hover{background:#fff}

/* FAQ */
.faq{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:48px;align-items:start}
.faq-list{padding:4px 26px}
.faq-list details{border-bottom:1px solid var(--line)}
.faq-list details:last-child{border-bottom:0}
.faq-list summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:16px;padding:22px 0;font-weight:600;font-size:18px}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"";flex:none;width:11px;height:11px;margin-top:6px;border-right:2.5px solid var(--scrubs);border-bottom:2.5px solid var(--scrubs);rotate:45deg;transition:rotate .2s}
.faq-list details[open] summary::after{rotate:225deg}
.faq-list details p{padding-bottom:22px}

/* CTA */
.cta{padding:clamp(48px,6vw,88px) 0 clamp(64px,8vw,112px)}
.cta-panel{padding:clamp(32px,5vw,64px);text-align:left;background:radial-gradient(60% 120% at 100% 0%,#9fd8c580,transparent 60%),var(--g-light)}
.cta-panel h2{max-width:16ch;margin-bottom:14px}
.cta-panel p{font-size:18px;margin-bottom:28px}

/* Внутренние страницы */
.page-hero{padding:calc(clamp(56px,7vw,104px) + 80px) 0 clamp(40px,5vw,64px)}
.crumbs{display:flex;gap:8px;font-size:14px;color:var(--muted);margin-bottom:24px}
.crumbs a:hover{color:var(--scrubs)}
.page-hero h1{font-size:clamp(36px,5vw,68px);max-width:18ch}
.page-blocks{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}
.page-blocks h2{font-size:26px;margin-bottom:12px}
.page-blocks p{font-size:16px}
.related-title{font-size:30px}

/* Футер */
.site-footer{background:var(--scrubs-3);color:#b9d3ca;padding:56px var(--gut) 28px;font-size:15px}
.footer-top{max-width:var(--wrap);margin:0 auto;display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:32px;padding-bottom:40px;border-bottom:1px solid #ffffff1a}
.footer-top>div{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.footer-top h2{font:600 14px var(--sans);color:#fff;margin-bottom:6px}
.footer-top a:hover{color:#fff}
.footer-brand .brand{color:#fff}
.footer-brand p{color:#b9d3ca;margin:6px 0}
.footer-brand>a:last-child{color:#fff;border-bottom:1px solid #ffffff55}
.footer-bottom{max-width:var(--wrap);margin:0 auto;padding-top:24px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13px}

/* Адаптив */
@media (max-width:1080px){
  .site-header nav{position:fixed;inset:86px 14px auto;flex-direction:column;gap:0;padding:8px 18px 14px;border-radius:22px;background:linear-gradient(135deg,#fffffff2,#ffffffd9);border:1px solid #fff;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);box-shadow:0 20px 40px -20px #0f5e4e66;transform:translateY(-12px);opacity:0;visibility:hidden;transition:.2s}
  .site-header nav.open{transform:none;opacity:1;visibility:visible}
  .site-header nav a{padding:14px 0;border-bottom:1px solid var(--line);border-radius:0;font-size:17px}
  .site-header nav a:last-child{border-bottom:0}
  .site-header .mobile-only{display:block}
  .menu-toggle{display:flex}
  .signin{display:none}
  .hero-inner{flex-direction:column;align-items:flex-start}
  .hero-photo::after{background:linear-gradient(0deg,#eef4f2 0%,#eef4f2d9 50%,#eef4f240 100%)}
  .bento,.portal,.security,.faq,.head-split{grid-template-columns:1fr}
  .tile-chart{grid-row:auto}
  .steps,.features{grid-template-columns:repeat(2,1fr)}
  .footer-top{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  body{font-size:16px}
  .site-header{height:58px;top:10px;width:calc(100% - 20px)}
  .header-actions .btn-small{display:none}
  .hero-inner{padding-top:96px;padding-bottom:32px}
  .hero-copy{padding:22px;border-radius:24px}
  .actions .btn{width:100%}
  .ticket{width:100%}
  .steps,.features,.solutions,.footer-top{grid-template-columns:1fr}
  .photo-note{display:none}
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.pulse path{stroke-dashoffset:0}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.glass,.glass-card,.tile,.site-header{background:#fffffff2}}
