/* Шрифты хранятся локально (без Google Fonts — так проще с DSGVO) */
@font-face{font-family:"Lora";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/lora-cyrillic-400-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Lora";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/lora-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Lora";font-style:italic;font-weight:400;font-display:swap;src:url(fonts/lora-cyrillic-400-italic.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Lora";font-style:italic;font-weight:400;font-display:swap;src:url(fonts/lora-latin-400-italic.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Lora";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/lora-cyrillic-600-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Lora";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/lora-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Manrope";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/manrope-cyrillic-400-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Manrope";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/manrope-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Manrope";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/manrope-cyrillic-600-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Manrope";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/manrope-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  --paper:#FBF6F3;      /* тёплая бумага с розовым оттенком */
  --ink:#231C1F;        /* основной текст */
  --muted:#6E6266;      /* второстепенный текст */
  --pink:#F48FB1;       /* розовый со старого сайта */
  --blush:#FBE3EB;      /* светло-розовый фон */
  --rose:#A8325C;       /* ссылки — темнее, чтобы читались */
  --line:#E6D9DC;       /* тонкие линии */
  --serif:"Lora",Georgia,"Times New Roman",serif;
  --sans:"Manrope","Segoe UI",system-ui,-apple-system,sans-serif;
  --wrap:1180px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:1.0625rem;line-height:1.6}
img{max-width:100%;height:auto;display:block}
a{color:var(--rose);text-underline-offset:.18em;text-decoration-thickness:1px}
a:hover{color:var(--ink)}
:focus-visible{outline:2px solid var(--rose);outline-offset:3px;border-radius:4px}
h1,h2,h3{font-family:var(--serif);font-weight:600;line-height:1.12;margin:0;letter-spacing:-.01em}
p{margin:0}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.skip{position:absolute;left:-999px}.skip:focus{left:16px;top:16px;background:#fff;padding:8px 12px;z-index:10}

/* Шапка */
.top{border-bottom:1px solid var(--line)}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-top:18px;padding-bottom:18px}
.brand{font-family:var(--serif);font-size:1.25rem;font-weight:600;color:var(--ink);text-decoration:none}
.nav{display:flex;flex-wrap:wrap;gap:6px 26px;align-items:center;font-size:.95rem}
.nav a{color:var(--ink);text-decoration:none}
.nav a:hover{color:var(--rose)}
.nav .lang{color:var(--muted)}

/* Кнопки */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:12px 26px;border-radius:999px;font-family:var(--sans);font-weight:600;font-size:1rem;text-decoration:none;border:1.5px solid var(--ink);color:var(--ink);background:transparent;transition:background-color .2s,color .2s}
.btn:hover{background:var(--ink);color:var(--paper)}
.btn-pink{background:var(--pink);border-color:var(--pink)}
.btn-pink:hover{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.btns{display:flex;flex-wrap:wrap;gap:12px}

/* Розовая волна — главный мотив со старого сайта */
.wave{display:block;width:100%;height:28px;color:var(--pink)}
.wave path{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round}

/* Первый экран */
.hero .wrap{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:56px;align-items:center;padding-top:64px;padding-bottom:72px}
.hero h1{font-size:clamp(2.6rem,5.6vw,4.6rem);line-height:1.02;letter-spacing:-.02em}
.hero h1 span{display:block;font-style:italic;font-weight:400;font-size:.52em;letter-spacing:0;color:var(--muted);margin-top:.5em}
.facts{display:grid;grid-template-columns:max-content 1fr;gap:10px 22px;margin:36px 0 34px;font-size:1rem}
.facts dt{color:var(--muted)}
.facts dd{margin:0}
.photo{position:relative}
.photo img,.photo .ph{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:4px;background:var(--blush)}
.photo .ph{display:flex;align-items:center;justify-content:center;text-align:center;color:var(--muted);padding:24px;font-size:.95rem}
.doodle{position:absolute;width:150px;left:-62px;bottom:-34px;color:var(--ink)}
.doodle path{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.doodle .p{stroke:var(--pink);stroke-width:2.2}

/* Цитата в скобках */
.quote{padding:40px 0 96px}
.quote figure{margin:0 auto;max-width:640px;position:relative;padding:34px 56px;text-align:center}
.quote figure::before,.quote figure::after{content:"";position:absolute;top:0;bottom:0;width:16px;border:1.5px solid var(--ink)}
.quote figure::before{left:0;border-right:0}
.quote figure::after{right:0;border-left:0}
.quote blockquote{margin:0 0 16px;font-family:var(--serif);font-style:italic;font-size:clamp(1.4rem,2.6vw,1.85rem);line-height:1.3}
.quote p{color:var(--muted)}

/* Секции */
.sec{padding:88px 0}
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;padding-bottom:18px;margin-bottom:40px;border-bottom:1px dotted #CDBDC2}
.sec h2{font-size:clamp(1.9rem,3.6vw,2.75rem)}
.lead{max-width:560px;color:var(--muted)}

/* Запросы — «чипсы» */
.tags{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:0;padding:0;max-width:880px}
.tags li{background:var(--blush);padding:10px 16px;border-radius:6px;font-size:1rem}
.note{margin-top:28px;max-width:560px;color:var(--muted)}

/* Услуги */
.services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.card{border:1px solid var(--line);background:#fff;border-radius:6px;padding:30px;display:flex;flex-direction:column;gap:14px}
.card h3{font-size:1.5rem}
.card p{color:#4A3F43}
.card .meta{margin-top:auto;padding-top:16px;border-top:1px dotted #CDBDC2;font-size:.95rem;color:var(--muted)}
.card .meta strong{display:block;color:var(--ink);font-weight:600;font-size:1.05rem}
.card .btn{align-self:flex-start;margin-top:6px}

/* Как я работаю */
.how{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:44px 64px;max-width:960px}
.how h3{font-size:1.45rem;margin-bottom:10px}
.how h3::after{content:"";display:block;width:56px;height:10px;margin-top:10px;background:no-repeat left center/56px 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 10'%3E%3Cpath d='M2 5c4.5-4 9-4 13 0s8.5 4 13 0 8.5-4 13 0 8.5 4 13 0' fill='none' stroke='%23F48FB1' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E")}
.how p{color:#4A3F43;max-width:420px}

/* Обо мне */
.about{background:var(--blush)}
.about .wrap{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:64px;align-items:start}
.about .photo img,.about .photo .ph{aspect-ratio:1/1;background:#F6D3DF}
.about h2{margin-bottom:22px}
.about p+p{margin-top:16px}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:40px;padding-top:28px;border-top:1px solid #EBC3D1}
.stats b{display:block;font-family:var(--serif);font-weight:600;font-size:2.3rem;line-height:1;color:var(--rose);margin-bottom:8px}
.stats span{font-size:.95rem;color:#5A4B51}

/* Telegram */
.tg .wrap{display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap}
.tg h2{font-size:clamp(1.7rem,3vw,2.3rem);margin-bottom:10px}
.tg p{color:var(--muted);max-width:520px}

/* Контакты */
.contact{text-align:center;padding:96px 0 104px}
.contact h2{font-size:clamp(2.2rem,4.6vw,3.6rem);margin-bottom:16px}
.contact p{color:var(--muted);max-width:520px;margin:0 auto 30px}
.contact .btns{justify-content:center}

/* Футер */
.foot{border-top:1px solid var(--line);font-size:.92rem;color:var(--muted)}
.foot .wrap{display:flex;flex-direction:column;gap:12px;padding-top:32px;padding-bottom:40px}
.foot .links{display:flex;flex-wrap:wrap;gap:6px 22px}
.foot a{color:var(--ink)}

/* Простые страницы (Impressum, Datenschutz) */
.doc{max-width:720px;padding:64px 24px 96px;margin:0 auto}
.doc h1{font-size:clamp(1.8rem,8vw,2.4rem);margin-bottom:28px;hyphens:auto;overflow-wrap:break-word}
.doc h2{font-size:1.4rem;margin:32px 0 10px}
.doc p,.doc li{max-width:68ch}
.doc .todo{background:var(--blush);padding:2px 6px;border-radius:4px}

/* Адаптив */
@media (max-width:900px){
  .hero .wrap,.about .wrap{grid-template-columns:1fr;gap:40px}
  .hero .photo{max-width:440px}
  .doodle{left:auto;right:-8px;width:120px;bottom:-28px}
  .services{grid-template-columns:1fr}
  .how{grid-template-columns:1fr;gap:36px}
  .about .photo{max-width:360px}
  /* фото «Обо мне» не сразу после фото в hero: ставим его между рассказом и цифрами */
  .about .wrap{gap:0}
  .about .wrap>div:last-child{display:contents}
  .about .photo{order:1;margin:32px 0 8px}
  .about .stats,.about .edu,.about .courses,.about .extra{order:2}
}
@media (max-width:560px){
  .sec{padding:64px 0}
  .hero .wrap{padding-top:40px}
  .facts{grid-template-columns:1fr;gap:2px}
  .facts dd{margin-bottom:10px}
  .quote figure{padding:28px 30px}
  .stats{grid-template-columns:1fr;gap:18px}
  .btns .btn{width:100%}
}

/* ===== v2: новые блоки ===== */

/* Миссия */
.mission{padding:96px 0}
.mission .wrap{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:56px;align-items:start}
.mission h2{font-size:clamp(1.9rem,3.6vw,2.75rem)}
.mission .big{font-family:var(--serif);font-style:italic;font-size:clamp(1.45rem,2.6vw,2rem);line-height:1.35}
.mission .big+p{margin-top:20px;color:var(--muted);max-width:560px}

/* «Вам может подойти, если вы…» — список с волнами */
.fit{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 56px;max-width:1040px}
.fit li{padding:18px 0 18px 44px;border-bottom:1px dotted #CDBDC2;position:relative;font-size:1.06rem}
.fit li::before{content:"";position:absolute;left:0;top:27px;width:28px;height:8px;background:no-repeat center/28px 8px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 8'%3E%3Cpath d='M2 4c3-3 5-3 8 0s5 3 8 0 5-3 8 0' fill='none' stroke='%23F48FB1' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E")}
.aside{margin-top:36px;max-width:760px;padding:22px 26px;border-left:3px solid var(--pink);background:#fff;border-radius:0 6px 6px 0;color:#4A3F43}

/* История про коммуникацию */
.story .wrap{max-width:860px}
.story h2{font-size:clamp(1.9rem,3.6vw,2.75rem);margin-bottom:24px}
.story p{font-size:1.1rem;color:#3E3438}
.story p+p{margin-top:16px}
.skills{list-style:none;padding:0;margin:28px 0 0;display:flex;flex-wrap:wrap;gap:10px}
.skills li{border:1px solid #E7C4D1;background:var(--blush);padding:8px 14px;border-radius:999px;font-size:.98rem}

/* Услуги v2 */
.svc{display:grid;gap:22px}
.svc .card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 48px;padding:36px}
.svc .card h3{font-size:clamp(1.5rem,2.4vw,1.9rem)}
.svc .card .intro p+p{margin-top:12px}
.svc .card .tag{display:inline-block;font-size:.88rem;color:var(--rose);margin-bottom:10px}
.prices{display:flex;flex-direction:column;gap:12px}
.price{display:flex;justify-content:space-between;gap:16px;align-items:baseline;padding:14px 0;border-bottom:1px dotted #CDBDC2}
.price span{color:#4A3F43}
.price small{display:block;color:var(--muted);font-size:.9rem}
.price b{font-family:var(--serif);font-weight:600;font-size:1.35rem;white-space:nowrap}
.price s{color:var(--muted);font-size:.95rem;margin-right:6px;font-family:var(--sans)}
.svc .btns{margin-top:10px}
details.more{border-bottom:1px dotted #CDBDC2}
details.more summary{cursor:pointer;list-style:none;padding:14px 28px 14px 0;font-weight:600;position:relative}
details.more summary::-webkit-details-marker{display:none}
details.more summary::after{content:"+";position:absolute;right:4px;top:10px;font-size:1.4rem;font-weight:400;color:var(--rose)}
details.more[open] summary::after{content:"−"}
details.more p{padding:0 0 16px;color:#4A3F43}
.topics-label{color:#4A3F43;margin-bottom:-4px}
.topics{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.topics li{background:var(--blush);padding:7px 12px;border-radius:6px;font-size:.95rem}

/* Образование */
.edu{list-style:none;margin:36px 0 0;padding:0;border-top:1px solid #EBC3D1}
.edu li{display:grid;grid-template-columns:110px 1fr;gap:16px;padding:14px 0;border-bottom:1px solid #EBC3D1}
.edu b{font-family:var(--serif);font-weight:600;color:var(--rose)}
.edu span small{display:block;color:#5A4B51;font-size:.93rem}
.stats.four{grid-template-columns:repeat(4,minmax(0,1fr))}

/* FAQ */
.faq{max-width:860px}
.faq details{border-bottom:1px dotted #CDBDC2}
.faq summary{cursor:pointer;list-style:none;padding:20px 40px 20px 0;font-family:var(--serif);font-size:1.25rem;font-weight:600;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:6px;top:14px;font-family:var(--sans);font-weight:400;font-size:1.6rem;color:var(--rose)}
.faq details[open] summary::after{content:"−"}
.faq details p{padding:0 0 22px;color:#4A3F43;max-width:68ch}

@media (max-width:900px){
  .mission .wrap{grid-template-columns:1fr;gap:20px}
  .fit{grid-template-columns:1fr}
  .svc .card{grid-template-columns:1fr;padding:28px 24px}
  .stats.four{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:560px){
  .edu li{grid-template-columns:1fr;gap:2px}
  .stats.four{grid-template-columns:repeat(2,minmax(0,1fr))}
  .price{flex-direction:column;gap:4px}
}
.svc .card h3{margin-bottom:14px}
.doc ul{padding-left:1.2em}.doc li{margin:6px 0}
.courses{margin-top:18px;border-top:1px solid #EBC3D1}
.courses summary{cursor:pointer;list-style:none;padding:14px 28px 14px 0;font-weight:600;position:relative}
.courses summary::-webkit-details-marker{display:none}
.courses summary::after{content:"+";position:absolute;right:4px;top:10px;font-size:1.4rem;font-weight:400;color:var(--rose)}
.courses[open] summary::after{content:"−"}
.courses ul{margin:0;padding:0 0 10px 1.1em;columns:2;column-gap:32px;font-size:.95rem;color:#4A3F43}
.courses li{break-inside:avoid;margin:0 0 8px}
.courses li small{color:#7A6A70}
.extra{margin-top:28px;padding-top:22px;border-top:1px solid #EBC3D1}
.extra h3{font-size:1.25rem;margin-bottom:10px}
.extra p+p{margin-top:10px}
@media (max-width:700px){.courses ul{columns:1}}
.contact .clinks{margin-top:24px;display:flex;flex-wrap:wrap;justify-content:center;gap:6px 22px}
.about .photo{position:sticky;top:24px}
.doc p+p,.doc ul+p,.doc p+ul{margin-top:12px}
.probs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:1040px}
.prob{background:#fff;border:1px solid var(--line);border-radius:6px;padding:26px 28px}
.prob h3{font-size:1.4rem}
.prob h3::after{content:"";display:block;width:56px;height:10px;margin-top:10px;background:no-repeat left center/56px 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 10'%3E%3Cpath d='M2 5c4.5-4 9-4 13 0s8.5 4 13 0 8.5-4 13 0 8.5 4 13 0' fill='none' stroke='%23F48FB1' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E")}
.prob p{margin-top:12px;color:#4A3F43}
.prob:first-child{grid-row:auto}
@media (max-width:700px){.probs{grid-template-columns:1fr}.prob:first-child{grid-row:auto}}
/* История про коммуникацию — v3 */
.story .wrap{max-width:var(--wrap)}
.story-box{background:var(--blush);border-radius:10px;padding:56px;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:56px;align-items:start;position:relative;overflow:hidden}
.story-box::after{content:"";position:absolute;left:0;right:0;bottom:22px;height:16px;background:repeat-x left center/100px 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 16'%3E%3Cpath d='M0 8c12.5-8 25-8 37.5 0S62.5 16 75 8s25-8 25 0' fill='none' stroke='%23F48FB1' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");opacity:.7}
.story h2{font-size:clamp(1.8rem,3.2vw,2.5rem);margin-bottom:28px}
.story figure{margin:0;position:relative;padding:22px 28px}
.story figure::before,.story figure::after{content:"";position:absolute;top:0;bottom:0;width:14px;border:1.5px solid var(--ink)}
.story figure::before{left:0;border-right:0}
.story figure::after{right:0;border-left:0}
.story blockquote{margin:0;font-family:var(--serif);font-style:italic;font-size:clamp(1.3rem,2.2vw,1.6rem);line-height:1.35}
.story-text{padding-bottom:28px}
.story-text p{font-size:1.08rem;color:#3E3438}
.story-text p+p{margin-top:16px}
.story .skills li{background:#fff;border-color:#EBC3D1}
@media (max-width:900px){.story-box{grid-template-columns:1fr;gap:32px;padding:36px 24px 56px}}
.contact-grid{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:64px;align-items:center;text-align:left}
.contact-photo{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:4px}
.contact .contact-text p{margin-left:0;margin-right:0}
.contact .contact-text .btns,.contact .contact-text .clinks{justify-content:flex-start}
@media (max-width:900px){.contact-grid{grid-template-columns:1fr;gap:32px}.contact-photo{max-width:360px}}
.story-photo{width:100%;max-width:340px;aspect-ratio:4/5;object-fit:cover;border-radius:4px;margin-top:32px}
.story-quote h2{margin-bottom:24px}
.story-photo{max-width:none;height:100%;min-height:420px;margin-top:0;aspect-ratio:auto;margin-bottom:36px}
@media (max-width:900px){.story-photo{height:auto;aspect-ratio:4/5;min-height:0;max-width:360px;margin-bottom:24px}}
@media (max-width:900px){.story-box{grid-template-columns:1fr}}
@media (max-width:900px){.about .photo{position:static}}
.stats b{white-space:nowrap}
@media (max-width:1100px){.stats.four{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Акценты в рассказе «Привет, я Аня» */
.about-lead{display:block;font-family:var(--serif);font-style:italic;font-size:1.35em;line-height:1.3;color:var(--rose);margin-bottom:10px}
.about mark{color:inherit;font-weight:600;background:linear-gradient(transparent 58%,rgba(244,143,177,.5) 58%,rgba(244,143,177,.5) 92%,transparent 92%);-webkit-box-decoration-break:clone;box-decoration-break:clone}
