/*
Theme Name: Kadence Tanya
Theme URI: https://tanyaopsychology.ru
Description: Дочерняя тема Kadence для сайта психолога Татьяны Тупицыной. Дизайн-токены перенесены с прежнего React-сайта (фон #FAF7F5, акцент #EF4E6E, шрифт Inter, радиус 0.75rem).
Author: migration
Template: kadence
Version: 1.0.0
Text Domain: kadence-tanya
*/

/* ===== Типографика: Inter как на прежнем сайте ===== */
body,
button,
input,
select,
textarea,
.entry-content,
.wp-block-button__link,
.kb-button {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ===== Скругления 0.75rem (как --radius прежнего сайта) ===== */
.wp-block-button__link,
.kb-button,
.button,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
.wpcf7-form input,
.wpcf7-form textarea,
.kb-blocks-bg-img,
.kt-blocks-info-box-link-wrap,
.wp-block-kadence-infobox .kt-info-box-wrap {
  border-radius: 0.75rem;
}

/* Чуть мягче карточки/изображения */
.wp-block-image img,
figure.wp-block-image {
  border-radius: 0.75rem;
}

/* ===== Кнопки: акцентная розовая с лёгким ховером ===== */
.wp-block-button__link:hover,
.kb-button:hover {
  filter: brightness(0.95);
}

/* ===== Мягкий фон страницы ===== */
body {
  background-color: #FAF7F5;
}

/* ===== Бренд в шапке: имя + подпись ===== */
.site-branding .site-title,
.header-titles .site-title {
  font-size: 19px !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
  margin: 0 !important;
}
.site-branding .site-title a,
.header-titles .site-title a {
  font-weight: 700 !important;
}
/* подпись под именем */
.site-branding .site-title::after,
.header-titles .site-title::after {
  content: "психолог для женщин";
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  color: #8A8A8A;
  letter-spacing: 0.03em;
  margin-top: 2px;
  white-space: nowrap;
}
/* выровнять бренд по центру строки шапки */
.site-header-row-container .site-branding,
.site-header-main-section-left { align-items: center; }

/* ===== Стильная форма заявки (Contact Form 7) ===== */
.tanya-form {
  max-width: 560px; margin: 0 auto;
  background: #ffffff; border: 1px solid #EFE7E2; border-radius: 18px;
  padding: 36px; box-shadow: 0 12px 34px rgba(46,46,46,.07);
}
.tanya-form p { margin: 0 0 18px; font-size: 14px; color: #2E2E2E; font-weight: 500; }
.tanya-form input[type="text"],
.tanya-form input[type="email"],
.tanya-form textarea {
  width: 100%; margin-top: 8px; padding: 13px 16px;
  border: 1.5px solid #EAE0DA; border-radius: 12px;
  font-size: 15px; font-family: inherit; background: #FCFAF9; color: #2E2E2E;
  box-sizing: border-box; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.tanya-form input[type="text"]:focus,
.tanya-form input[type="email"]:focus,
.tanya-form textarea:focus {
  outline: none; border-color: #EF4E6E; background: #fff;
  box-shadow: 0 0 0 3px rgba(239,78,110,.12);
}
.tanya-form textarea { min-height: 130px; resize: vertical; }
.tanya-form input::placeholder, .tanya-form textarea::placeholder { color: #B8AEA8; }
.tanya-form .wpcf7-submit {
  width: 100%; margin-top: 8px; padding: 15px 24px;
  background: #EF4E6E; color: #fff; border: none; border-radius: 12px;
  font-size: 16px; font-weight: 600; cursor: pointer;
  transition: filter .15s ease, transform .08s ease;
}
.tanya-form .wpcf7-submit:hover { filter: brightness(.95); }
.tanya-form .wpcf7-submit:active { transform: translateY(1px); }
.tanya-form .wpcf7-spinner { margin: 14px auto 0; display: block; }
.wpcf7-response-output {
  border-radius: 10px !important; margin: 16px 0 0 !important;
  padding: 12px 16px !important; font-size: 14px !important;
}

/* ===== Равная высота карточек в сетках (тарифы и т.п.) ===== */
.entry-content .wp-block-columns { align-items: stretch; }
.entry-content .wp-block-column { display: flex; flex-direction: column; }
.entry-content .wp-block-column > .wp-block-group { width: 100%; height: 100%; }

/* ===== Подвал ===== */
.tanya-footer {
  display: flex; flex-wrap: wrap; gap: 40px;
  max-width: 1140px; margin: 0 auto; padding: 8px 24px 28px;
  text-align: left;
}
.tanya-footer__col { flex: 1 1 180px; min-width: 160px; }
.tanya-footer__brand { flex: 1.6 1 280px; }
.tanya-footer__title { font-size: 20px; font-weight: 700; color: #2E2E2E; margin-bottom: 12px; }
.tanya-footer__brand p { font-size: 14px; color: #6B6B6B; line-height: 1.6; margin: 0; }
.tanya-footer__col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #9A8F88; margin: 0 0 14px; }
.tanya-footer__col a { display: block; color: #3A3A3A; text-decoration: none; font-size: 15px; margin-bottom: 10px; transition: color .15s; }
.tanya-footer__col a:hover { color: #EF4E6E; }
.tanya-footer__bottom {
  max-width: 1140px; margin: 0 auto; padding: 20px 24px;
  border-top: 1px solid #EFE7E2; text-align: center; font-size: 13px; color: #9A8F88;
}
.tanya-footer__bottom a { color: #6B6B6B; text-decoration: none; }
.tanya-footer__bottom a:hover { color: #EF4E6E; }
/* контейнер кредитов Kadence — растягиваем на всю ширину */
.site-footer .site-footer-row-container-inner .footer-html { width: 100%; }
.site-footer .footer-html { text-align: left; }
@media (max-width: 600px) { .tanya-footer { gap: 28px; } .tanya-footer__col { flex-basis: 45%; } }

/* ===== CTA-пункт меню «Записаться» как кнопка ===== */
.menu-cta > a,
.menu-cta > .nav-drop-title-wrap > a {
  background-color: #EF4E6E !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  padding: 9px 20px !important;
  margin-left: 8px;
  transition: filter .15s ease;
}
.menu-cta > a:hover { filter: brightness(0.93); }

/* ===== Плавающие кнопки (свёрнуты, раскрываются по клику) ===== */
.tanya-fab { position: fixed; bottom: 22px; z-index: 9000; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tanya-fab--right { right: 18px; }
.tanya-fab--left  { left: 18px; }
.tanya-fab__items { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tanya-fab__items a {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.18);
  opacity: 0; transform: translateY(14px) scale(.4); pointer-events: none;
  transition: opacity .25s ease, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.tanya-fab__items a svg { width: 22px; height: 22px; fill: currentColor; }
.tanya-fab.is-open .tanya-fab__items a { opacity: 1; transform: none; pointer-events: auto; }
.tanya-fab.is-open .tanya-fab__items a:nth-child(1) { transition-delay: .02s; }
.tanya-fab.is-open .tanya-fab__items a:nth-child(2) { transition-delay: .06s; }
.tanya-fab.is-open .tanya-fab__items a:nth-child(3) { transition-delay: .10s; }
.tanya-fab.is-open .tanya-fab__items a:nth-child(4) { transition-delay: .14s; }

.tanya-fab__toggle {
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.22);
  transition: transform .35s ease, filter .2s ease;
}
.tanya-fab__toggle svg { width: 26px; height: 26px; fill: currentColor; }
.tanya-fab__toggle:hover { filter: brightness(1.07); }
.tanya-fab.is-open .tanya-fab__toggle { transform: rotate(135deg) scale(.94); }
.tanya-fab__toggle--contact { background: #EF4E6E; }
.tanya-fab__toggle--social  { background: #6E56CF; }

.tf-wa  { background: #25D366; }
.tf-tg  { background: #229ED9; }
.tf-call{ background: #EF4E6E; }
.tf-max { background: #6E56CF; font-weight: 700; font-size: 14px; }
.tf-vk  { background: #0077FF; font-weight: 700; font-size: 13px; }
.tf-ig  { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); font-weight: 700; font-size: 12px; }
@media (max-width: 600px) {
  .tanya-fab { bottom: 14px; }
  .tanya-fab__toggle { width: 50px; height: 50px; }
}

/* ===== Фикс футера: отступы между строками и подчёркивание ===== */
.tanya-footer__col p { margin: 0; line-height: 1.4; }
.tanya-footer__col br { display: none; }
.tanya-footer__col a { display: block; margin-bottom: 8px; }
.site-footer .footer-html .tanya-footer a,
.site-footer .footer-html .tanya-footer__bottom a { text-decoration: none; }
.site-footer .footer-html .tanya-footer a:hover,
.site-footer .footer-html .tanya-footer__bottom a:hover { text-decoration: none; color: #EF4E6E; }

/* ===== Текст согласия под формой ===== */
.tanya-form__consent{font-size:13px;color:#6B6B6B;line-height:1.45;margin-top:4px}
.tanya-form__consent a{color:#EF4E6E}
.tanya-form__consent .wpcf7-list-item{margin:0}
