/* ================================================
   Татьяна Яцута — Психолог
   Чистые стили, без Tilda
   ================================================ */
@font-face {
    font-family: "nbrb";
    src: url("/assets/fonts/nbrb.woff2") format("woff2"), /* Укажите путь к файлу nbrb.woff2 */
         url("/assets/fonts/nbrb.ttf") format("truetype"), /* Укажите путь к файлу nbrb.ttf */
         url("/assets/fonts/nbrb.woff") format("woff");    /* Укажите путь к файлу nbrb.woff */
    unicode-range: U+E901, U+42, U+59, U+4E;
}

.nbrb-icon {
    font-family: "nbrb" !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: normal;
    -webkit-font-feature-settings: "liga";
    -moz-font-feature-settings: "liga=1";
    -moz-font-feature-settings: "liga";
    -ms-font-feature-settings: "liga" 1;
    font-feature-settings: "liga";
    -webkit-font-variant-ligatures: discretionary-ligatures;
    font-variant-ligatures: discretionary-ligatures;
}

.nbrb-icon-byn:before {
    content: "\e901"; /* Юникод для знака */
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #ede9e8;
  --bg-dark:   #615847;
  --taupe:     #aba693;
  --taupe-d:   #8f9281;
  --rust:      #9a5c4b;
  --text:      #424242;
  --text-lt:   #888;
  --white:     #fff;
  --border:    rgba(255,255,255,0.15);
  --max-w:     1160px;
  --r:         24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito Sans', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── CONTAINER ── */
main.page-info{
  padding: 100px 0;
}
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0 32px;
  height: 52px;
  line-height: 52px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-taupe { background: var(--taupe); color: var(--white);text-align: center; }
.btn-taupe:hover { background: var(--taupe-d); }
.btn-outline { background: transparent; border: 1.5px solid var(--taupe); color: var(--taupe); }
.btn-outline:hover { background: var(--taupe); color: var(--white); }

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: 80px;
  background: var(--bg);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.09); }
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--taupe-d);
  flex-shrink: 0;
}
.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav a {
  font-size: 15px;
  color: var(--text);
  position: relative;
  transition: color .2s;
}
.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s;
}
.nav a:not(.btn):hover { color: var(--rust); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }

/* burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 910;
}
.burger span {
  display: block; width: 24px; height: 2px;
  background: var(--text);
  transition: .25s;
}

/* mobile nav */
.mobile-nav {
  display: none;
  position: fixed; inset: 0; z-index: 901;
  background: var(--bg-dark);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 22px; font-weight: 600;
  color: var(--white);
  letter-spacing: .06em;
  transition: opacity .2s;
}
.mobile-nav a:hover { opacity: .7; }
.mobile-nav-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; cursor: pointer;
  color: var(--white); font-size: 36px; line-height: 1;
}

/* ── HERO ── */
#hero {
  padding-top: 80px;
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}
.hero-photo {
  position: relative;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--r);
}
.hero-text { padding-left: 20px; }
.hero-name {
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 28px;
}
.hero-roles {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 44px;
}
.hero-role {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  color: var(--rust);
}
.hero-role::before {
  content: '';
  display: inline-block;
  width: 9px; height: 9px;
  background: var(--rust);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  flex-shrink: 0;
}

/* [removed — replaced below] */

/* ── PRICING ── */
#pricing {
  background: var(--bg);
  padding: 100px 0;
}
.pricing-label {
  font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--taupe); margin-bottom: 16px;
}
.pricing-title {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 60px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.pricing-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pricing-card-img {
  width: 100%; height: 260px;
  object-fit: cover;
}
.pricing-card-body {
  padding: 32px 36px 36px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pricing-type {
  font-size: 16px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--rust);
  opacity: .55;
  margin-bottom: 8px;
}
.pricing-price {
  font-size: 44px; font-weight: 300;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1;
}
.pricing-price sup { font-size: 20px; vertical-align: super; }
.pricing-desc {
  font-size: 15px; line-height: 1.65;
  color: var(--text-lt);
  margin-bottom: 28px;
  flex: 1;
}
.pricing-note {
  background: var(--white);
  border: 1px solid #e0dbd5;
  border-radius: 12px;
  padding: 32px 40px;
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  max-width: 720px;
  margin: 0 auto;
}
.pricing-note a { color: var(--rust); text-decoration: underline; text-underline-offset: 3px; }
.pricing-note a:hover { text-decoration: none; }

/* ── CERTIFICATES ── */
#certs {
  background: var(--bg);
  padding: 0 0 100px;
}
.certs-label {
  font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--taupe); margin-bottom: 16px;
}
.certs-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300; text-transform: uppercase;
  color: var(--text);
  margin-bottom: 40px;
}

/* Slider */
.slider-wrap { position: relative; overflow: hidden; }
.slider-track {
  display: flex;
  gap: 20px;
  transition: transform .4s cubic-bezier(.25,.46,.45,.94);
}
.slide {
  flex: 0 0 calc(25% - 15px);
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
}
.slide img {
  width: 100%; height: 380px;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.slide:hover img { transform: scale(1.03); }

.slider-controls {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  justify-content: flex-end;
}
.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--taupe);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  color: var(--white);
}
.slider-btn:hover { background: var(--taupe-d); }
.slider-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.slider-btn.prev svg { transform: scaleX(-1); }

/* ── CONTACTS ── */
#contacts {
  background: var(--bg-dark);
  padding: 100px 0;
  color: var(--white);
}
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contacts-label {
  font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--taupe); margin-bottom: 16px;
}
.contacts-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300; text-transform: uppercase;
  color: var(--white);
  margin-bottom: 36px;
}
.contact-line {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px;
  color: rgba(255,255,255,.85);
  margin-bottom: 12px;
}
.contact-line a:hover { color: var(--taupe); }
.messengers {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 28px;
}
.messenger-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 100px;
  font-size: 14px; font-weight: 600;
  color: var(--white);
  transition: all .2s;
}
.messenger-btn:hover {
  border-color: var(--taupe);
  background: var(--taupe);
}
.contacts-legal {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255,255,255,.45);
}
.contacts-legal strong {
  display: block;
  color: rgba(255,255,255,.65);
  font-weight: 600;
  margin-bottom: 8px;
}
.legal-links {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.legal-links a {
  color: rgba(255,255,255,.45);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 13px;
  transition: color .2s;
}
.legal-links a:hover { color: var(--taupe); }

/* ── FOOTER ── */
footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto; padding: 20px 0 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,.35); }
.footer-inner .block-team-lead {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, .35);
}
.footer-inner .block-team-lead img {
    width: 100px;
    position: relative;
    margin-right: 40px;
}
/* ── LIGHTBOX ── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.88);
  align-items: center; justify-content: center;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain; border-radius: 8px;
}
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; cursor: pointer;
  color: var(--white); font-size: 38px; line-height: 1;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-grid, .contacts-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-text { padding-left: 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .slide { flex: 0 0 calc(33.33% - 14px); }
}

@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  .header-inner { padding: 0 20px; }
  .nav { display: none; }
  .burger { display: flex; }
  #hero { min-height: auto; }
  .hero-grid { padding: 40px 0; }
  .slide { flex: 0 0 calc(50% - 10px); }
  .footer-inner { padding: 0 20px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .slide { flex: 0 0 80%; }
}


/* ══════════════════════════════════
   ЭКРАН 2 — КТО Я (тёмный)
   ══════════════════════════════════ */
#about {
  background: var(--bg-dark);
  padding: 100px 0 0;
  color: var(--white);
}
.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding-bottom: 80px;
}
.about-col-left .about-lead {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
}
.about-body-text {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,.72);
}
.about-banner {
  width: 100%;
  border-radius: var(--r) var(--r) 0 0;
  overflow: hidden;
  margin: 0 -40px;
  width: calc(100% + 80px);
}
.about-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ══════════════════════════════════
   ЭКРАН 3 — О РАБОТЕ (светлый)
   ══════════════════════════════════ */
#why {
  background: var(--bg);
  padding: 100px 0;
}

/* верхняя часть: большой вопрос слева + вертикальное фото справа */
.why-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
}
.why-big-q {
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.why-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-lt);
}
.why-vert-photo {
  width: 100%;
  aspect-ratio: 9/14;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--r);
  display: block;
}

/* нижняя часть: горизонтальное фото слева + текст+кнопка справа */
.why-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-bottom-photo {
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.why-bottom-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.why-bottom-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.btn-dark-outline {
  display: inline-block;
  padding: 0 32px; height: 52px; line-height: 52px;
  border-radius: 100px;
  font-size: 14px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid var(--taupe);
  color: var(--taupe);
  background: transparent;
  transition: background .2s, color .2s;
}
.btn-dark-outline:hover { background: var(--taupe); color: var(--white); }

/* ══════════════════════════════════
   ЭКРАН 4 — С ЧЕМ Я РАБОТАЮ (тёмный)
   ══════════════════════════════════ */
#services {
  background: var(--bg-dark);
  padding: 100px 0;
  color: var(--white);
}
.services-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.services-big-title {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: .02em;
  position: sticky;
  top: 100px;
}
.services-topics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.topic {
  padding: 32px 28px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.topic:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); }
.topic-name {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: rgba(255,255,255,.38);
  margin-bottom: 10px;
}
.topic-desc {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,.85);
}

.payment-logos {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 15px 0px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.payment-logos img {
    display: block;
    height: 32px;
    width: auto;
    object-fit: contain;
}

/* Responsive overrides for screens 2-4 */
@media (max-width: 1024px) {
  .about-cols { grid-template-columns: 1fr; gap: 32px; }
  .about-banner { margin: 0 -20px; width: calc(100% + 40px); }
  .why-top { grid-template-columns: 1fr; }
  .why-vert-photo { max-height: 380px; aspect-ratio: auto; }
  .why-bottom { grid-template-columns: 1fr; gap: 40px; }
  .services-layout { grid-template-columns: 1fr; gap: 48px; }
  .services-big-title { position: static; }
}
@media (max-width: 640px) {
  .services-topics { grid-template-columns: 1fr; }
  .topic:nth-child(odd) { border-right: none; }
  .topic { border-top: 1px solid rgba(255,255,255,.12); }
}
