/*
Theme Name: Kislenko Therapy
Theme URI: https://nettrevogi.online
Author: Setup Assistant
Description: Premium minimalist theme for psychologist website.
Version: 1.0.0
Text Domain: kislenko-therapy
*/

:root {
  --bg-main: #FBF7F2;
  --bg-alt: #F4EEE6;
  --text-main: #2C2C2C;
  --wine: #3E1620;
  --wine-soft: #6A2534;
  --gold: #B08A52;
  --card: #fffdf9;
  --radius: 14px;
  --shadow: 0 12px 36px rgba(62, 22, 32, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.65;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(62,22,32,.03) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: .22;
  z-index: -1;
}
a { color: var(--wine); text-decoration: none; }
a:hover { color: var(--wine-soft); }

.container { width: min(1160px, 92vw); margin: 0 auto; }
.section { padding: 84px 0; }
.alt { background: var(--bg-alt); }

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--wine);
  line-height: 1.2;
  margin: 0 0 18px;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
p { margin: 0 0 14px; }

.btn {
  display: inline-block;
  background: var(--wine);
  color: #fff;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  transition: .25s ease;
  border: 1px solid transparent;
}
.btn:hover { background: var(--gold); color: #fff; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--wine);
  border-color: var(--wine);
}
.btn-outline:hover { border-color: var(--gold); color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(251,247,242,.92);
  border-bottom: 1px solid rgba(62,22,32,.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}
.logo { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--wine); }
.nav ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { font-weight: 500; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 34px;
  padding: 76px 0;
}
.hero-image {
  min-height: 420px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(62,22,32,.2), rgba(176,138,82,.12)), url('https://images.unsplash.com/photo-1556157382-97eda2d62296?auto=format&fit=crop&w=1200&q=80') center/cover;
  box-shadow: var(--shadow);
  border: 1px solid rgba(62,22,32,.16);
}

.grid-3, .grid-2 {
  display: grid;
  gap: 18px;
}
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card {
  background: var(--card);
  border: 1px solid rgba(62,22,32,.1);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 22px;
}
.list-clean { margin: 0; padding: 0; list-style: none; }
.list-clean li { padding: 8px 0 8px 18px; position: relative; }
.list-clean li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 8px; height: 8px;
  border-radius: 99px;
  background: var(--gold);
}

.test-box {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(62,22,32,.12);
  padding: 26px;
  box-shadow: var(--shadow);
}
.test-question { margin-bottom: 18px; }
.test-question label { display: block; margin: 6px 0; }
.range-row { display: flex; align-items: center; gap: 14px; }
.range-row input[type="range"] { width: 100%; accent-color: var(--wine); }
.result-box {
  margin-top: 18px;
  background: var(--bg-alt);
  border-left: 4px solid var(--gold);
  padding: 14px;
  border-radius: 10px;
}

.site-footer {
  background: var(--wine);
  color: #f3ede5;
  padding: 48px 0;
}
.site-footer a { color: #f3ede5; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 22px; }

.floating {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  box-shadow: var(--shadow);
}
.float-tg { background: #2aabee; }
.float-max { background: var(--wine); }
.float-ph { background: #2f8f4e; }

.fade-in { animation: fadeIn .6s ease both; }
@keyframes fadeIn { from {opacity: 0; transform: translateY(12px);} to {opacity: 1; transform: translateY(0);} }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { align-items: flex-start; }
  .nav ul { gap: 10px 14px; }
}
