/* Кабинет Веры — стили лендинга */
:root{
  --bg:#0f0c0a; --bg2:#171210; --card:#1e1714; --line:#2c221d;
  --text:#ece3d9; --muted:#a8998b; --gold:#c9a15a; --gold2:#e2bf7a; --accent:#c9a15a; --accent-soft:#8a6a3a;
  --read:#e6dccf; --wine:#7a2436; --serif:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  --sans:"Manrope",-apple-system,"Segoe UI",Roboto,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--gold2);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3{font-family:var(--serif);font-weight:600;line-height:1.15;margin:0 0 .5em;letter-spacing:.005em}
h1{font-size:clamp(2.3rem,5.5vw,4rem)}
h2{font-size:clamp(1.9rem,4vw,2.8rem)}
h3{font-size:1.45rem}
p{margin:0 0 1em}
.muted{color:var(--muted)}
.wrap{max-width:1120px;margin:0 auto;padding:0 22px}
.eyebrow{font-family:var(--serif);font-style:italic;font-size:1.05rem;letter-spacing:0;text-transform:none;color:var(--gold2);margin-bottom:.6em}
section{padding:84px 0}
section + section{border-top:1px solid var(--line)}

/* header */
.top{position:sticky;top:0;z-index:20;background:rgba(15,12,10,.86);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.top .wrap{display:flex;align-items:center;justify-content:space-between;height:64px}
.logo{font-family:var(--serif);font-size:1.45rem;letter-spacing:.06em;color:var(--text)}
.logo b{color:var(--gold)}
.nav{display:flex;gap:22px;font-size:.92rem}
.lang{position:relative;margin-left:auto;margin-right:14px;flex:none}
.lang-btn{background:none;border:0;color:var(--muted);font-size:1.05rem;cursor:pointer;padding:6px;line-height:1;border-radius:8px}
.lang-btn:hover{color:var(--text)}
.lang-list{display:none;position:absolute;right:0;top:100%;margin-top:6px;background:var(--card);border:1px solid var(--line);border-radius:10px;min-width:130px;padding:6px;z-index:30;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.lang.open .lang-list{display:block}
.lang-list a{display:block;padding:8px 12px;border-radius:7px;color:var(--text);font-size:.92rem;text-decoration:none}
.lang-list a:hover{background:rgba(255,255,255,.05)}
.lang-list a.on{color:var(--gold2)}
.nav a{color:var(--muted)}
.nav a:hover{color:var(--text);text-decoration:none}
@media(max-width:760px){.top .wrap{height:auto;flex-wrap:wrap;padding:10px 16px;gap:6px}.lang{margin-right:0;order:1}.nav{order:2}.nav{width:100%;gap:14px;font-size:.85rem;overflow-x:auto;white-space:nowrap;padding-bottom:4px;scrollbar-width:none}.nav::-webkit-scrollbar{display:none}}

/* buttons */
.btn{display:inline-block;padding:14px 26px;border-radius:10px;font-weight:600;font-size:1rem;border:1px solid var(--gold);color:var(--bg);background:linear-gradient(180deg,var(--gold2),var(--gold));transition:transform .15s,box-shadow .15s}
.btn:hover{text-decoration:none;transform:translateY(-1px);box-shadow:0 10px 30px rgba(201,161,90,.25)}
.btn.ghost{background:transparent;color:var(--gold2)}
.btn.ghost:hover{background:rgba(201,161,90,.08)}
.btn-row{display:flex;gap:14px;flex-wrap:wrap;margin-top:1.6em}

/* hero */
.hero{padding:70px 0 90px;background:radial-gradient(1200px 600px at 80% 0%,rgba(122,36,54,.22),transparent 60%)}
.hero .wrap{display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:center}
.hero p.lead{font-size:1.25rem;color:var(--muted);max-width:34em}
.hero figure{margin:0;position:relative}
.hero img{border-radius:18px;aspect-ratio:2/3;height:auto;object-fit:cover;object-position:center top;box-shadow:0 40px 80px rgba(0,0,0,.6)}
.hero figcaption{position:absolute;left:18px;bottom:18px;font-family:var(--serif);font-size:1.2rem;color:#fff;background:rgba(31,26,23,.72);padding:10px 16px;border-radius:12px;border:1px solid var(--line)}
@media(max-width:860px){.hero .wrap{grid-template-columns:1fr}.hero figure{max-width:420px}}

/* about */
.about .wrap{display:grid;grid-template-columns:.8fr 1.2fr;gap:56px;align-items:center}
.about img{border-radius:18px;aspect-ratio:2/3;object-fit:cover}
.about p strong,.card p strong,section p strong{font-weight:600;color:var(--gold2)}
.about blockquote{font-family:var(--serif);font-size:1.5rem;line-height:1.35;margin:0 0 1em;color:var(--text)}
.sign{font-family:var(--serif);font-size:1.3rem;color:var(--gold2);margin-top:1.4em}
@media(max-width:860px){.about .wrap{grid-template-columns:1fr}.about img{max-width:380px}}

/* cards */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:2.2em}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:2.2em}
@media(max-width:860px){.grid3,.grid2{grid-template-columns:1fr}}
.card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:28px}
.card h3{margin-bottom:.4em}
.card .num{display:none}
.toc{list-style:none;margin:1em 0 0;padding:0;columns:2;column-gap:28px}
.toc li{break-inside:avoid;padding:6px 0;border-bottom:1px dashed var(--line);font-size:.95rem}
.toc li.more{color:var(--gold2);border:0}
.post-card{display:block}
@media(max-width:760px){.post-card{display:grid}}
@media(max-width:560px){.toc{columns:1}}

/* principles */
.principles{background:var(--bg2)}
.principle{display:block;padding:22px 0;border-bottom:1px solid var(--line)}
.principle:last-child{border:0}
.principle .k{display:none}
.principle h3{margin-bottom:.25em}

/* quote band */
.band{padding:0;position:relative}
.band img{width:100%;height:420px;object-fit:cover;object-position:center 30%;filter:brightness(.5)}
.band blockquote{color:#fff}.band cite{color:var(--accent-soft)!important}
.band .wrap{position:absolute;inset:0;display:flex;align-items:center}
.band blockquote{font-family:var(--serif);font-size:clamp(1.5rem,3.4vw,2.4rem);line-height:1.3;max-width:20em;margin:0}
.band cite{display:block;font-family:var(--sans);font-style:normal;font-size:.95rem;color:var(--gold2);margin-top:1em}

/* pricing */
.price{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:2.2em}
@media(max-width:860px){.price{grid-template-columns:1fr}}
.tier{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:30px;display:flex;flex-direction:column}
.tier.best{border-color:var(--gold);box-shadow:0 0 0 1px var(--gold) inset}
.tier .tag{font-family:var(--serif);font-style:italic;font-size:1.05rem;color:var(--gold2)}
.tier .sum{font-family:var(--serif);font-size:2.6rem;margin:.3em 0}
.tier .sum small{font-size:1rem;color:var(--muted);font-family:var(--sans)}
.tier ul{padding-left:1.1em;margin:.6em 0 1.4em;color:var(--muted)}
.tier ul li{margin:.35em 0}
.tier .btn{margin-top:auto;text-align:center}

/* faq */
details{border-bottom:1px solid var(--line);padding:16px 0}
summary{cursor:pointer;font-family:var(--serif);font-size:1.35rem;list-style:none;display:flex;justify-content:space-between;align-items:center}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";color:var(--gold);font-size:1.6rem}
details[open] summary::after{content:"–"}
details p{margin-top:.8em;color:var(--muted)}

/* footer */
footer{padding:44px 0 60px;border-top:1px solid var(--line);color:var(--muted);font-size:.9rem}
footer .wrap{display:grid;grid-template-columns:1fr 1fr;gap:30px}
@media(max-width:760px){footer .wrap{grid-template-columns:1fr}}

/* age gate */
#age{position:fixed;inset:0;z-index:100;background:rgba(10,8,7,.96);display:flex;align-items:center;justify-content:center;padding:22px}
#age .box{max-width:460px;text-align:center;background:var(--card);border:1px solid var(--line);border-radius:22px;padding:40px 32px}
#age .box h2{font-size:2rem}
#age .box .btn-row{justify-content:center}
#age[hidden]{display:none}

/* article */
.article{max-width:760px;margin:0 auto;padding:50px 22px 80px}
.article h1{margin-bottom:.4em}
.article p{font-size:1.1rem}
.article img{border-radius:14px;margin:1.2em 0;width:auto;max-width:100%;max-height:340px}
.article > img{float:left;max-width:46%;margin:.3em 26px 14px 0}
.article .sign,.article .callout,.article h3{clear:both}
.callout{background:var(--card);border:1px solid var(--gold);border-radius:18px;padding:28px;margin:2.4em 0}
.crumbs{font-size:.9rem;color:var(--muted);margin-bottom:1.6em}

/* выделение ключевых слов — как в Femme: первый жирный термин абзаца акцентным цветом, остальные — тёмно-терракотовые */
.article .body strong,.article p strong,.body strong{font-weight:600;color:var(--gold2)}
.article > p{max-width:680px;font-size:1.16rem;line-height:1.8;color:var(--read)}
.article > p > strong:first-child{font-family:var(--serif);font-size:1.18em}
.body p > strong:first-child,.article p > strong:first-child,.body p > b:first-child{color:var(--accent)}
.body em{color:var(--muted)}
.body blockquote{margin:1.4em 0;padding:14px 20px;border-left:3px solid var(--gold);background:var(--card);border-radius:0 12px 12px 0;font-family:var(--serif);font-size:1.15rem}
.body h2{font-size:1.6rem;margin-top:1.6em}.body h3{font-size:1.3rem;margin-top:1.4em}
input,select,textarea{color:var(--text)}

/* ---- мобильная адаптация ---- */
@media(max-width:760px){
  section{padding:48px 0}
  .hero{padding:26px 0 44px}
  h1{font-size:2.1rem}h2{font-size:1.7rem}
  .hero p.lead{font-size:1.08rem}
  .hero figure{max-width:100%}.hero img{aspect-ratio:auto;max-height:none;width:100%}
  .btn{width:100%;text-align:center;padding:14px 20px}.btn-row{flex-direction:column;gap:10px}
  .about img{max-width:100%;aspect-ratio:auto;max-height:none}
  .about blockquote{font-size:1.25rem}
  .card{padding:20px}.tier{padding:22px}
  .band img{height:320px}.band blockquote{font-size:1.25rem}
  .article{padding:28px 18px 60px}.article p{font-size:1.05rem}
  .article > img,.article .hero-img{float:none;max-width:100%!important;max-height:300px;margin:0 0 1.2em}
  .callout{padding:20px}
  summary{font-size:1.15rem}
  .toc{columns:1}
  #age .box{padding:28px 20px}
}


/* ---- режим чтения: рассказы и главы гида ---- */
.article .body,.main .body{max-width:680px;color:var(--read)}
.article .body p,.main .body p{font-size:1.16rem;line-height:1.8;margin:0 0 1.25em;letter-spacing:.005em}
.article .body p.muted,.main .body p.muted{font-size:1rem}
.article .body h2,.main .body h2{font-size:1.75rem;margin:1.8em 0 .5em;color:var(--text)}
.article .body h3,.main .body h3{font-size:1.35rem;margin:1.5em 0 .4em;color:var(--text)}
.body strong,.body b{font-weight:600;color:var(--gold2)}
.body p > strong:first-child,.body p > b:first-child{color:var(--gold2);font-family:var(--serif);font-size:1.18em;font-weight:600}
.body em{color:var(--muted);font-style:italic}
.body li{line-height:1.7;margin:.45em 0;font-size:1.08rem}
.body blockquote{font-size:1.25rem;line-height:1.5;color:var(--text)}
.article h1,.main h1{line-height:1.12}
.article .eyebrow{margin-bottom:.6em}

/* ---- переключатель темы (☀︎ / ☾) ---- */
.theme-btn{position:fixed;right:16px;bottom:16px;z-index:30;width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:var(--card);color:var(--text);font-size:1.2rem;cursor:pointer;box-shadow:0 6px 20px rgba(0,0,0,.25)}
.theme-btn:hover{border-color:var(--gold)}

/* ---- светлая тема (body.light) — для тех, кому удобнее читать на светлом ---- */
body.light{--bg:#f3efe8;--bg2:#ece5da;--card:rgba(255,255,255,.78);--line:#e2d8ca;--text:#1f1a17;--muted:#6f645a;--gold:#b85c38;--gold2:#9a4a2b;--accent:#b85c38;--accent-soft:#efc4a8;--read:#2a2320;background:var(--bg);color:var(--text)}
body.light .top{background:rgba(243,239,232,.9)}
body.light .btn{color:#fff;background:linear-gradient(180deg,#c76a45,var(--gold))}
body.light .btn:hover{box-shadow:0 10px 30px rgba(184,92,56,.25)}
body.light .btn.ghost{background:transparent;color:var(--gold2)}
body.light .card,body.light .tier,body.light .callout{box-shadow:0 8px 24px rgba(45,34,27,.06)}
body.light .callout,body.light .body blockquote{background:#fff}
body.light input,body.light select,body.light textarea{background:#fff;color:var(--text)}
body.light .theme-btn{box-shadow:0 6px 20px rgba(45,34,27,.15)}

/* ---- мобильная версия: проще, легче, без «карточного» декора ---- */
@media(max-width:760px){
  body{font-size:16.5px}
  .hero{background:none}
  .eyebrow{font-size:1rem}
  h1{font-size:1.95rem;line-height:1.15}h2{font-size:1.55rem}
  .card{background:none;border:0;border-top:1px solid var(--line);border-radius:0;padding:18px 0;box-shadow:none}
  .grid3,.grid2{gap:0;margin-top:.6em}
  .grid3 .card:first-child,.grid2 .card:first-child{border-top:0}
  .tier{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:20px}
  .price{gap:12px}
  .toc li{font-size:.98rem;padding:8px 0}
  .band{display:none}
  .hero figcaption{display:none}
  .hero figure{margin-top:1.2em}

  details{padding:12px 0}summary{font-size:1.1rem}
  footer{font-size:.85rem}
  .chips{gap:8px}.chip{padding:6px 11px;font-size:.88rem}
  /* блог: список вместо плиток */
  #latest-posts .card,.blog-list .card{display:grid;grid-template-columns:96px 1fr;gap:14px;align-items:start}
  #latest-posts .card img,.blog-list .card img{aspect-ratio:3/4;margin:0;border-radius:8px;grid-row:1/span 3;grid-column:1}
  #latest-posts .card > :not(img),.blog-list .card > :not(img){grid-column:2}
  #latest-posts .card,.blog-list .card{grid-template-rows:auto auto 1fr;row-gap:2px}
  #latest-posts .card h3,.blog-list .card h3{font-size:1.15rem;margin:.1em 0 .3em}
  #latest-posts .card .eyebrow,.blog-list .card .eyebrow{font-size:.9rem;margin-bottom:.2em}
  #latest-posts .card p,.blog-list .card p{font-size:.92rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
}

/* липкая кнопка покупки на телефоне */
.sticky-cta{display:none}
@media(max-width:760px){.sticky-cta{display:block;position:fixed;left:14px;right:14px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:25;text-align:center;padding:14px;border-radius:12px;font-weight:600;color:var(--bg);background:linear-gradient(180deg,var(--gold2),var(--gold));box-shadow:0 10px 30px rgba(0,0,0,.45);text-decoration:none}
body.light .sticky-cta{color:#fff;background:linear-gradient(180deg,#c76a45,var(--gold))} footer{padding-bottom:110px}
.price{grid-template-columns:1fr}}
.price{grid-template-columns:repeat(2,1fr);max-width:760px}

/* ---- iPhone-first: короче, плотнее ---- */
@media(max-width:760px){
  section{padding:34px 0}
  .hero{padding:16px 0 30px}
  .hero .wrap{display:flex;flex-direction:column}
  .hero figure{order:-1;margin:0 0 16px;width:100%;max-width:100%}
  .hero img{aspect-ratio:auto;width:100%;height:46vh;max-height:none;object-fit:cover;object-position:center 12%;border-radius:14px}
  h1{font-size:1.8rem}h2{font-size:1.45rem}h3{font-size:1.2rem}
  .hero p.lead{font-size:1rem;margin-bottom:.4em}
  .btn-row{margin-top:1em}
  .toc li:nth-child(n+7):not(.more){display:none}
  .toc li{padding:6px 0;font-size:.95rem}
  .grid3 .card,.grid2 .card{padding:14px 0}
  .card p{font-size:.95rem}
  .about img{max-height:40vh;object-fit:cover;object-position:top}
  .about blockquote{font-size:1.15rem}
  .principle{padding:14px 0}.principle p{font-size:.95rem}
  .tier{padding:16px}.tier .sum{font-size:2rem}.tier ul{margin:.4em 0 1em}
  details{padding:10px 0}summary{font-size:1.05rem}details p{font-size:.95rem}
  #stories .grid3{margin-top:.4em}
  .eyebrow{margin-bottom:.4em}
  .lead-note{font-size:.88rem!important;margin-top:1em!important}
}
@media(max-width:760px){
  .top{position:static}
  .top .wrap{padding:8px 16px 6px}.logo{font-size:1.25rem}.nav{font-size:.82rem;gap:12px}
  .wrap[style*="grid-template-columns:1fr auto"]{grid-template-columns:1fr!important}
}
@media(max-width:760px){
  .nav{flex-wrap:wrap;white-space:normal;overflow:visible;gap:6px 14px;font-size:.86rem;padding-bottom:2px;row-gap:6px}
  .nav a{padding:2px 0}
}

.lang-foot{margin-top:1em;font-size:.88rem;color:var(--muted)}.lang-foot a{color:var(--gold2)}.lang-foot span{color:var(--text)}
