/* Selge Care — ежемесячная забота о сайте и данных.
   Тот же стиль, что у selgedata.ee и selgesite.ee, основной цвет — нежно-розовый.
   Шрифт Onest лежит в папке fonts (лицензия OFL) и не загружается с серверов Google. */
@font-face{font-family:'Onest';font-style:normal;font-display:swap;font-weight:400 800;src:url(fonts/onest-cyrillic-wght-normal.woff2) format('woff2-variations');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Onest';font-style:normal;font-display:swap;font-weight:400 800;src:url(fonts/onest-latin-ext-wght-normal.woff2) format('woff2-variations');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Onest';font-style:normal;font-display:swap;font-weight:400 800;src:url(fonts/onest-latin-wght-normal.woff2) format('woff2-variations');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{
  --ink:#432a31;      /* текст: тёплый тёмно-ягодный */
  --muted:#6e5058;    /* второстепенный текст */
  --rose:#9a4a5f;     /* надписи-«ярлыки» и ссылки */
  --pink:#eeaab8;     /* основной нежно-розовый */
  --blush:#fbe3e8;
  --paper:#fff8f8;
  --card:#fffcfc;
  --line:#f5dde2;
  --btn:linear-gradient(140deg,#f8cdd5,#eca5b4);
  --panel:radial-gradient(120% 140% at 0% 50%,#fbe0e6 0%,#fdeef1 45%,#fff7f8 100%);
  --lift:inset 0 1px 0 #ffffffd9,inset 0 0 0 1px #f6dde3,0 1px 2px #7a3a4a0a,0 26px 52px -30px #7a3a4a3d,0 10px 22px -16px #7a3a4a1c;
  --leaf-big:76px;--leaf-small:26px;
  --data:#4f7a5c;--site:#9a5a24;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Onest,Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img,svg{display:block;max-width:100%}
a:focus-visible{outline:3px solid var(--rose);outline-offset:4px;border-radius:8px}
.wrap{max-width:1280px;margin:auto;padding-left:40px;padding-right:40px}
h1,h2,h3{text-wrap:balance}
p{text-wrap:pretty}

/* Шапка */
.masthead{background:#fdf0f2}
header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:104px}
.logo{position:relative;display:flex;align-items:center;font-size:26px;font-weight:800;letter-spacing:-1.5px;color:var(--ink)}
.logo>span:not(.mark){font-weight:500}
.mark{display:inline-block;background:linear-gradient(140deg,#f6c3cd,#e596a8);color:#fffcfc;padding:1px 8px 5px;border-radius:13px;margin-right:10px;font-size:20px;letter-spacing:1px;box-shadow:0 8px 18px -10px #b4566e99}
.logo small{position:absolute;left:48px;bottom:-14px;font-size:8px;font-weight:700;letter-spacing:2.5px;color:var(--ink);white-space:nowrap}
nav{display:flex;align-items:center;gap:28px;font-size:20px;font-weight:600}
nav a{position:relative;padding:6px 0;transition:color .2s}
nav a:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:2px;background:var(--pink);transform:scaleX(0);transform-origin:0 50%;transition:transform .3s cubic-bezier(.2,.7,.2,1)}
nav a:hover:after,nav a:focus-visible:after{transform:scaleX(1)}
nav a.to-data{color:var(--data)}nav a.to-data:after{background:#9cd5a5}
nav a.to-site{color:var(--site)}nav a.to-site:after{background:#f2a052}
.languages{display:flex;gap:2px;padding:4px;border:1px solid #f1d2d9;border-radius:30px}
.languages a{padding:8px 11px;font-size:14px;border-radius:22px;line-height:normal}
.languages a[aria-current=page]{background:var(--ink);color:#fffcfc}

/* Первый экран */
.hero-shell{position:relative;overflow:hidden;background:linear-gradient(125deg,#fdf0f2 15%,#fae1e7 65%,#fdf1f3);border-radius:0 0 180px 100px;padding-bottom:40px}
.hero{position:relative;z-index:1;display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:48px;padding-top:34px;padding-bottom:56px}
.eyebrow{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:800;letter-spacing:1.5px;color:var(--rose);text-transform:uppercase}
.hero .eyebrow:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--pink)}
h1{font-size:clamp(42px,4.6vw,62px);line-height:1.08;letter-spacing:-2.4px;margin:22px 0 14px}
.subline{font-size:clamp(22px,2.1vw,28px);line-height:1.3;letter-spacing:-.6px;font-weight:600;margin:0 0 20px;max-width:600px}
.intro{font-size:18px;line-height:1.7;color:var(--muted);max-width:560px;margin:0}
.hero-cta{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;margin-top:30px}
.button{display:inline-flex;align-items:center;gap:22px;background:var(--btn);color:var(--ink);padding:17px 24px;border-radius:999px;font-size:16px;font-weight:700;box-shadow:0 14px 28px -16px #b4566e99;transition:transform .25s cubic-bezier(.2,.7,.2,1),box-shadow .25s}
.button:hover{transform:translateY(-2px);box-shadow:0 18px 32px -16px #b4566ebf}
.text-link{font-size:16px;font-weight:700;color:var(--rose);border-bottom:2px solid #f3c3cd;padding-bottom:3px;transition:border-color .2s}
.text-link:hover{border-color:var(--pink)}

/* Справа: «отчёт заботы» — пример ежемесячного отчёта */
.hero-media{position:relative;height:460px;display:grid;place-items:center}
.halo{position:absolute;width:86%;aspect-ratio:1;max-height:110%;border-radius:58% 42% 52% 48%/48% 56% 44% 52%;background:radial-gradient(circle at 40% 35%,#fff6f7 0%,#fbdde4 55%,#f7cfd8 100%);box-shadow:0 40px 80px -40px #b4566e66}
.report{position:relative;z-index:2;width:min(400px,88%);background:#fffcfc;border-radius:28px;padding:24px 24px 18px;box-shadow:0 30px 60px -28px #7a3a4a59,0 0 0 1px #f6dde3}
.report-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.report-head strong{font-size:17px;letter-spacing:-.3px}
.report-head span{font-size:12px;color:var(--muted);background:#fdeef1;border-radius:99px;padding:4px 10px;white-space:nowrap}
.report ul{list-style:none;margin:16px 0 0;padding:0}
.report li{display:flex;align-items:center;gap:12px;padding:12px 2px;border-top:1px solid #f8e6ea;font-size:15px;line-height:1.35}
.report li:first-child{border-top:0}
.chk{flex:0 0 auto;width:24px;height:24px;border-radius:50%;background:#fdeef1;display:grid;place-items:center}
.chk svg{width:14px;height:14px}
.chk path{fill:none;stroke:var(--rose);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:20;stroke-dashoffset:0}
.report-foot{margin:12px 2px 0;font-size:12px;color:var(--muted)}
.pill{position:absolute;z-index:3;display:flex;align-items:center;gap:8px;background:#fffcfc;border-radius:999px;padding:9px 15px;font-size:13px;font-weight:700;box-shadow:0 14px 30px -16px #7a3a4a66;white-space:nowrap}
.pill b{width:9px;height:9px;border-radius:50%;background:#7cc68b;box-shadow:0 0 0 4px #7cc68b33}
.pill-1{top:30px;right:2%}
.pill-2{bottom:26px;left:0}
.pill-2 b{background:var(--pink);box-shadow:0 0 0 4px #eeaab84d}

/* Общие секции */
.section{padding-top:84px}
.section-heading{max-width:780px;margin-bottom:34px}
h2{font-size:40px;line-height:1.15;letter-spacing:-1.2px;margin:16px 0 0}
.section-heading p{font-size:18px;line-height:1.65;color:var(--muted);margin:16px 0 0}

/* Семья Selge: Site + Data → Care */
.family{padding:40px 40px 34px}
.fam-row{display:grid;grid-template-columns:1fr auto 1fr auto 1.1fr;align-items:stretch;gap:18px}
.fam{position:relative;display:flex;flex-direction:column;gap:10px;background:#fffcfcd9;border-radius:24px;padding:22px 22px 20px;box-shadow:0 18px 40px -28px #7a3a4a40,0 0 0 1px #f6dde3;transition:transform .45s cubic-bezier(.2,.7,.2,1),box-shadow .45s}
a.fam:hover{transform:translateY(-4px);box-shadow:0 24px 46px -26px #7a3a4a55,0 0 0 1px #f6dde3}
.fam .tag{align-self:flex-start;font-size:12px;font-weight:700;letter-spacing:.3px;border-radius:99px;padding:4px 10px}
.fam h3{margin:4px 0 0;font-size:21px;letter-spacing:-.4px}
.fam p{margin:0;font-size:15px;line-height:1.6;color:var(--muted)}
.fam .go{margin-top:auto;padding-top:6px;font-size:14px;font-weight:700}
.fam-site .tag{background:#fdeedd;color:var(--site)}.fam-site .go{color:var(--site)}
.fam-data .tag{background:#e6f3e8;color:var(--data)}.fam-data .go{color:var(--data)}
.fam-care{background:linear-gradient(150deg,#fff6f7,#fbe1e7);box-shadow:0 22px 46px -26px #b4566e66,0 0 0 1px #f3cfd7}
.fam-care .tag{background:#fffcfc;color:var(--rose)}.fam-care .go{color:var(--rose)}
.fam-op{align-self:center;font-size:26px;font-weight:300;color:#d98a9c}
.fam-note{margin:20px 4px 0;font-size:14px;color:var(--muted)}

/* Что входит */
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.cards article{position:relative;background:var(--card);border:1px solid var(--line);border-radius:24px;padding:26px 24px 28px;box-shadow:0 18px 44px -30px #7a3a4a33;transition:transform .45s cubic-bezier(.2,.7,.2,1),box-shadow .45s}
.cards article:hover{transform:translateY(-4px);box-shadow:0 24px 50px -30px #7a3a4a4d}
.cards .number{display:inline-block;background:#fdeef1;color:var(--rose);border-radius:12px;padding:8px 11px;font-size:14px;font-weight:700}
.cards h3{font-size:20px;line-height:1.3;letter-spacing:-.3px;margin:22px 0 10px}
.cards p{margin:0;font-size:16px;line-height:1.6;color:var(--muted)}
.ico{position:absolute;top:22px;right:22px;width:52px;height:40px;overflow:visible}
.ico .a{fill:#f8d5dc}.ico .b{fill:var(--pink)}.ico .s{fill:none;stroke:#e595a7;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.promise{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:22px 0 0;padding:0}
.promise li{display:flex;align-items:center;gap:9px;background:#fffcfc;border:1px solid var(--line);border-radius:999px;padding:10px 16px;font-size:15px;font-weight:600}
.promise li:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--pink);box-shadow:0 0 0 4px #eeaab833}

/* Честные границы */
.bounds{display:grid;grid-template-columns:1fr 1fr 1fr;gap:44px;padding:46px}
.bounds h2{font-size:34px}
.bounds .lead{font-size:16px;line-height:1.7;color:var(--muted);margin:16px 0 0}
.bounds h3{font-size:19px;margin:0 0 6px}
.bounds ul{list-style:none;margin:0;padding:0}
.bounds li{position:relative;padding-left:28px;margin:14px 0;font-size:16px;line-height:1.6}
.bounds .yes li:before{content:"✓";position:absolute;left:2px;color:var(--rose);font-weight:700}
.bounds .no li:before{content:"";position:absolute;left:3px;top:.8em;width:12px;height:2px;border-radius:2px;background:#d7a3af}
.bounds .no a{font-weight:600;border-bottom:1.5px solid currentColor}
.bounds .no a.s{color:var(--site)}.bounds .no a.d{color:var(--data)}

/* Бережно с данными */
.care-data{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;align-items:center}
.shield{position:relative;display:grid;place-items:center;aspect-ratio:1.12;max-width:400px;width:100%;justify-self:center;border-radius:44% 56% 50% 50%/52% 46% 54% 48%;background:radial-gradient(circle at 45% 40%,#fff6f7,#fbe1e7 60%,#f8d3db)}
.shield svg{width:44%;height:auto;overflow:visible}
.shield .sh{fill:#fffcfc;stroke:#e595a7;stroke-width:3}
.shield .lk{fill:none;stroke:var(--rose);stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round}
.shield .dot{fill:var(--rose)}
.shield .tag-x{position:absolute;background:#fffcfc;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:700;box-shadow:0 12px 26px -14px #7a3a4a59;white-space:nowrap}
.shield .t1{left:2%;top:18%}.shield .t2{right:0;top:44%}.shield .t3{left:10%;bottom:12%}
.shield .tag-x s{color:var(--muted);font-weight:500}
.lead-p{margin:16px 0 0;font-size:18px;line-height:1.65;color:var(--muted);max-width:620px}
.data-list{list-style:none;margin:22px 0 0;padding:0}
.data-list li{display:flex;gap:14px;align-items:flex-start;margin:0 0 16px;font-size:17px;line-height:1.6}
.data-list li i{flex:0 0 auto;margin-top:3px;width:26px;height:26px;border-radius:50%;background:#fdeef1;display:grid;place-items:center;font-style:normal;font-size:13px;font-weight:800;color:var(--rose)}

/* Как начать */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;counter-reset:s;list-style:none;margin:0;padding:0}
.steps li{position:relative;background:var(--card);border:1px solid var(--line);border-radius:24px;padding:26px 24px 26px}
.steps li:before{counter-increment:s;content:counter(s);display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--btn);font-weight:800;font-size:16px;margin-bottom:18px}
.steps li+li:after{content:"";position:absolute;left:-20px;top:46px;width:20px;height:2px;background:repeating-linear-gradient(90deg,#e8a8b6 0 4px,transparent 4px 8px)}
.steps h3{margin:0 0 8px;font-size:20px;letter-spacing:-.3px}
.steps p{margin:0;font-size:16px;line-height:1.6;color:var(--muted)}
.price-note{margin:22px 0 0;font-size:16px;line-height:1.7;color:var(--muted);max-width:820px}
.price-note b{color:var(--ink)}

/* Контакты */
.contact{display:grid;grid-template-columns:1.3fr 1fr;gap:56px;padding:48px;margin-top:84px;margin-bottom:40px}
.contact h2{font-size:38px}
.contact p{font-size:16px;line-height:1.65;color:var(--muted);max-width:470px}
.email{display:inline-flex;margin-top:12px}
.reply{font-size:14px!important;font-weight:600;color:var(--ink)!important;margin-top:18px}
.contact-links{padding-top:10px}
.contact-links a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 4px;border-bottom:1px solid #f0d3da;font-size:16px;transition:padding .25s}
.contact-links a:hover{padding-left:10px;padding-right:0}
.contact-links strong{font-weight:600;color:var(--rose)}

/* Подвал: часть семьи Selge */
footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px 24px;padding-bottom:28px;font-size:13px;color:var(--muted)}
footer .logo{font-size:20px}
.family-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px}
.family-line a{font-weight:600}
.family-line .d{color:var(--data)}.family-line .s{color:var(--site)}.family-line .c{color:var(--rose)}

.sticky-cta{display:none}

/* Волны (их рисует care.js) */
.panel{position:relative;isolation:isolate;overflow:hidden;background:var(--panel);box-shadow:var(--lift);border-radius:var(--leaf-big) var(--leaf-small) var(--leaf-big) var(--leaf-small)}
.panel.mirror{border-radius:var(--leaf-small) var(--leaf-big) var(--leaf-small) var(--leaf-big)}
.flow{position:absolute;left:0;bottom:0;width:200%;max-width:none;height:46%;z-index:-1;pointer-events:none;opacity:0;transition:opacity 1.2s ease}
.flow.on{opacity:1}
.hero-shell>.flow{z-index:0;height:52%}
.flow path:not(.fill){fill:none;stroke:#d98a9c;stroke-width:1.5;vector-effect:non-scaling-stroke;stroke-linecap:round}
.flow .l1 path:not(.fill){opacity:.34}.flow .l2 path{opacity:.2}.flow .l3 path{opacity:.13}
.flow path.fill{stroke:none}

@media(prefers-reduced-motion:no-preference){
  .flow g{animation:drift 52s linear infinite;animation-play-state:paused}
  .flow g:nth-of-type(2){animation-duration:36s}.flow g:nth-of-type(3){animation-duration:27s}
  .flow.rev g{animation-direction:reverse}
  .run .flow g{animation-play-state:running}
  @keyframes drift{to{transform:translateX(-50%)}}
  .halo{animation:breathe 10s ease-in-out infinite}
  @keyframes breathe{0%,100%{border-radius:58% 42% 52% 48%/48% 56% 44% 52%;scale:1}50%{border-radius:46% 54% 42% 58%/56% 44% 56% 44%;scale:1.03}}
  .report{animation:float 9s ease-in-out infinite}
  @keyframes float{0%,100%{translate:0 0}50%{translate:0 -7px}}
  .run .chk path{animation:tick .7s cubic-bezier(.3,.7,.2,1) .4s both}
  .run li:nth-child(2) .chk path{animation-delay:.9s}.run li:nth-child(3) .chk path{animation-delay:1.4s}.run li:nth-child(4) .chk path{animation-delay:1.9s}
  @keyframes tick{from{stroke-dashoffset:20}to{stroke-dashoffset:0}}
  .pill-1 b{animation:pulse 2.6s ease-in-out infinite}
  @keyframes pulse{0%,100%{box-shadow:0 0 0 4px #7cc68b33}50%{box-shadow:0 0 0 8px #7cc68b14}}
  .ico .p1{animation:fade 4s ease-in-out infinite}.ico .p2{animation:fade 4s ease-in-out -1.3s infinite}.ico .p3{animation:fade 4s ease-in-out -2.6s infinite}
  @keyframes fade{0%,100%{opacity:1}50%{opacity:.35}}
  .ico .spin{transform-box:fill-box;transform-origin:50% 50%;animation:spin 9s linear infinite}
  @keyframes spin{to{transform:rotate(360deg)}}
  .shield .dot{animation:fade 3s ease-in-out infinite}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.cards article,.fam,.button{transition:none}}

/* Планшет */
@media(max-width:1100px){
  nav{gap:20px;font-size:18px}
  .cards{grid-template-columns:1fr 1fr}
  .fam-row{grid-template-columns:1fr auto 1fr;row-gap:14px}
  .fam-row .fam-op:nth-of-type(2){display:none}
  .fam-care{grid-column:1/-1}
  .bounds{grid-template-columns:1fr 1fr;gap:30px}
  .bounds>div:first-child{grid-column:1/-1}
}
@media(max-width:900px){
  :root{--leaf-big:54px;--leaf-small:22px}
  .wrap{padding-left:24px;padding-right:24px}
  header{flex-wrap:wrap;padding-top:22px;padding-bottom:14px;gap:18px}
  nav{order:3;width:100%;justify-content:space-between;gap:10px 18px;font-size:18px}
  .hero{grid-template-columns:1fr;gap:30px;padding-top:24px;padding-bottom:40px}
  .hero-shell{border-radius:0 0 100px 70px}
  .hero-media{height:420px;max-width:560px;width:100%;margin:0 auto}
  .family{padding:28px 24px 24px}
  .care-data{grid-template-columns:1fr;gap:26px}
  .shield{max-width:360px;width:100%;margin:0 auto}
  .steps{grid-template-columns:1fr}
  .steps li+li:after{display:none}
  .contact{grid-template-columns:1fr;gap:28px;padding:34px 28px}
}
/* Телефон */
@media(max-width:640px){
  :root{--leaf-big:44px;--leaf-small:18px}
  .wrap{padding-left:18px;padding-right:18px}
  .logo{font-size:23px}
  nav{font-size:15px;gap:6px 14px;justify-content:flex-start;flex-wrap:wrap}
  nav a{white-space:nowrap}
  .languages a{font-size:13px;padding:7px 10px}
  h1{font-size:clamp(36px,10vw,46px);letter-spacing:-1.5px}
  .subline{font-size:21px}
  .intro{font-size:17px}
  .hero-shell{border-radius:0 0 70px 44px;padding-bottom:24px}
  .hero-media{height:400px}
  .report{padding:20px 18px 14px;border-radius:24px}
  .report li{font-size:14px;padding:10px 0}
  .pill{font-size:12px;padding:8px 12px}
  .pill-1{top:4px;right:0}.pill-2{bottom:6px}
  .section{padding-top:60px}
  h2{font-size:31px}
  .section-heading p{font-size:17px}
  .fam-row{grid-template-columns:1fr;gap:10px}
  .fam-op{justify-self:center;font-size:22px;line-height:1}
  .fam-row .fam-op:nth-of-type(2){display:block}
  .family{padding:22px 18px}
  .cards{grid-template-columns:1fr;gap:14px}
  .bounds{grid-template-columns:1fr;padding:28px 22px;gap:22px}
  .bounds h2{font-size:29px}
  .data-list li{font-size:16px}
  .contact{padding:28px 22px;margin-top:60px}
  .contact h2{font-size:30px}
  .email{font-size:15px}
  footer{justify-content:center;text-align:center;padding-bottom:90px}
  .family-line{justify-content:center}
  .flow{height:40%;width:400%}
  .sticky-cta{display:flex;position:fixed;right:16px;bottom:16px;z-index:60;align-items:center;gap:10px;padding:14px 20px;opacity:0;transform:translateY(16px);pointer-events:none;transition:opacity .3s,transform .3s}
  .sticky-cta.show{opacity:1;transform:none;pointer-events:auto}
}
