/* ===========================================================
   ОБЩИЙ ДИЗАЙН-СИСТЕМА САЙТА — site-styles.css
   Подключается на всех страницах после site-nav.css.
   Содержит общие переменные, типографику, кнопки, секции,
   карточки и компоненты, повторяющиеся на разных страницах.
   Уникальные для конкретной страницы стили остаются в <style> самой страницы.
   =========================================================== */


@font-face {
  font-family: 'ofont.ru_Faberge';
  src: url('fonts/ofont.ru_Faberge.ttf') format('truetype');
  font-weight: normal; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'ofont.ru_TextBookC';
  src: url('fonts/ofont.ru_TextBookC.ttf') format('truetype');
  font-weight: normal; font-style: normal; font-display: swap;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

:root {
  --cream:       #F7F4EF;
  --cream-deep:  #EDE8DF;
  --white:       #FFFFFF;
  --ink:         #1C1A17;
  --ink-mid:     #3a3835;
  --ink-soft:    #A09B95;
  --brown:       #B8682A;
  --brown-light: #ECD9C4;
  --brown-pale:  #F5EDE2;
  --powder:      #F0E8E4;
  --teal:        #008d97;
  --teal-dark:   #006e78;
  --teal-light:  #E0F3F5;
  --border:      rgba(28,26,23,0.10);
  --border-mid:  rgba(28,26,23,0.16);

  --radius-sm: 18px;
  --radius-md: 28px;
  --radius-lg: 40px;
  --shadow-sm: 0 2px 12px rgba(28,26,23,0.06);
  --shadow-md: 0 6px 24px rgba(28,26,23,0.09);
  --shadow-teal: 0 6px 22px rgba(0,141,151,0.22);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Instrument Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.anim-1 { animation: fadeUp .65s ease both; }
.anim-2 { animation: fadeUp .65s .12s ease both; }
.anim-3 { animation: fadeUp .65s .24s ease both; }
.anim-4 { animation: fadeUp .65s .36s ease both; }
.anim-5 { animation: fadeUp .65s .48s ease both; }
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 5vw;
  background: rgba(247,244,239,.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  font-family: 'ofont.ru_Faberge', 'Playfair Display', serif;
  font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -.01em;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 14px; color: var(--ink-mid); text-decoration: none; font-weight: 400; transition: color .2s; }
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  font-size: 14px; font-weight: 600; color: var(--teal); text-decoration: none;
  border: 1.5px solid var(--teal); padding: 8px 18px; border-radius: var(--radius-sm);
  transition: background .2s, color .2s;
}
.nav-cta:hover { background: var(--teal); color: var(--white); }
.full-divider { border: none; border-top: 1px solid var(--border); }
.sec-white { background: var(--white); }
.sec-cream { background: var(--cream); }
.sec-deep { background: var(--cream-deep); }
.sec-powder { background: var(--powder); }
.inner { max-width: 1280px; margin: 0 auto; }
.inner-narrow { max-width: 860px; }
.eyebrow {
  font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1rem;
}
.sec-title {
  font-family: 'ofont.ru_Faberge', 'Playfair Display', serif;
  font-size: clamp(26px, 3vw, 44px); font-weight: 400; letter-spacing: -.015em; line-height: 1.2;
  color: var(--ink); margin-bottom: 1.5rem;
}
.sec-body { font-size: 16px; color: var(--ink-mid); line-height: 1.85; max-width: 640px; }
.hero {
  display: grid; grid-template-columns: 320px 1fr; gap: 4rem; align-items: end;
  padding: 4.5rem 6vw 4rem; max-width: 1280px; margin: 0 auto;
}
.hero-photo {
  width: 100%; aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md);
  perspective: 800px; transform-style: preserve-3d;
  transition: box-shadow .3s ease;
  will-change: transform;
}
.hero-photo:hover { box-shadow: 0 24px 48px -14px rgba(28,26,23,.28); }
.hero-photo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero h1 em { font-family: 'ofont.ru_TextBookC', sans-serif; font-style: italic; color: var(--brown); }
.hero-hooks { margin-bottom: 2rem; max-width: 560px; }
.hook-item {
  padding: .85rem 0; border-bottom: 1px solid var(--border);
  font-family: 'ofont.ru_TextBookC', 'Instrument Sans', sans-serif;
  font-size: 15px; font-style: italic; color: var(--ink-mid); line-height: 1.55;
  display: flex; gap: .75rem; align-items: flex-start;
}
.hook-item:first-child { border-top: 1px solid var(--border); }
.hook-dash { color: var(--teal); flex-shrink: 0; font-style: normal; font-size: 18px; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  background: var(--teal); color: var(--white);
  font-size: 14px; font-weight: 600;
  padding: 16px 28px; text-decoration: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-teal);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,141,151,.28); }
.session-block {
  background: var(--teal-light); border: 1.5px solid rgba(0,141,151,.35); border-radius: var(--radius-lg);
  padding: 2.25rem; margin-top: 1.5rem;
  display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: center;
  box-shadow: var(--shadow-teal);
  transition: transform .25s ease, box-shadow .25s ease;
}
.session-block:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -6px rgba(0,141,151,.38); }
.session-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 1rem; }
.session-rows .aside-val { font-size: 14px; color: var(--ink-mid); line-height: 1.5; text-align: left; }
.session-cta {
  text-align: center; flex-shrink: 0; min-width: 220px;
  background: var(--white); border-radius: var(--radius-md); padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.session-cta-note { font-size: 14px; color: var(--ink-soft); margin-top: .65rem; line-height: 1.5; font-style: italic; }
.aside-btn:hover { background: var(--teal-dark); transform: translateY(-2px); }
.reviews-placeholder {
  border: 1px dashed var(--border-mid); border-radius: var(--radius-md);
  padding: 3rem 2rem; text-align: center; color: var(--ink-soft);
  font-size: 14px; letter-spacing: .04em; margin-top: 2.5rem;
}
.seo-text { padding-top: 1rem; }
.seo-text h2 {
  font-family: 'ofont.ru_Faberge', 'Playfair Display', serif;
  font-size: 26px; font-weight: 400; color: var(--ink); margin-bottom: .85rem; line-height: 1.3;
}
.seo-text h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin-top: 1.75rem; margin-bottom: .5rem; }
.seo-text p { font-size: 16px; color: var(--ink-mid); line-height: 1.85; margin-bottom: .85rem; max-width: 720px; }
.final-cta { background: var(--ink); padding: 6rem 6vw; }
.final-inner { max-width: 860px; margin: 0 auto; }
.final-label { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 1.25rem; }
.final-title {
  font-family: 'ofont.ru_Faberge', 'Playfair Display', serif;
  font-size: clamp(28px,3.2vw,44px); font-weight: 400; letter-spacing: -.02em; line-height: 1.2; color: var(--cream); margin-bottom: 1.25rem;
}
.final-body { font-size: 15px; color: rgba(247,244,239,.5); line-height: 1.85; margin-bottom: 2rem; max-width: 540px; }
.final-btns { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.btn-light {
  display: inline-block; background: var(--teal); color: var(--white);
  font-size: 14px; font-weight: 700; padding: 13px 24px; text-decoration: none;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-teal);
  transition: all .2s;
}
.btn-light:hover { background: var(--teal-dark); }
.final-note { font-size: 14px; color: rgba(247,244,239,.3); margin-top: 1.5rem; }
footer {
  background: #14120D;
  border-top: 1px solid rgba(247,244,239,.06);
  padding: 1.5rem 5vw;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem;
}
.footer-brand { font-family: 'ofont.ru_Faberge', 'Playfair Display', serif; font-size: 15px; color: rgba(247,244,239,.3); }
.footer-note { font-size: 14px; color: rgba(247,244,239,.35); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: rgba(247,244,239,.35); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--teal); }