:root {
  --bg: #f3f6f5;
  --bg2: #ffffff;
  --ink: #1c2b28;
  --muted: #5d6e69;
  --accent: #3f6f62;
  --accent-soft: #d7e6e0;
  --line: rgba(63, 111, 98, 0.18);
  --shadow: 0 18px 40px rgba(28, 43, 40, 0.08);
  --radius: 18px;
  --font: "Century Gothic", "Trebuchet MS", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 90% -5%, rgba(63, 111, 98, 0.12), transparent 55%),
    radial-gradient(700px 380px at 0% 30%, rgba(168, 196, 184, 0.22), transparent 50%),
    var(--bg);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }

.demo-banner {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.03em;
  padding: 8px 12px;
  background: #e8f1ed;
  color: #35574e;
  border-bottom: 1px solid var(--line);
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.logo-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}
.nav { display: flex; gap: 18px; color: var(--muted); font-size: 14px; }
.nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  font: inherit;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: #335a50; transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--bg2); }

.hero {
  position: relative;
  padding: 64px 0 48px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(243,246,245,0.94) 0%, rgba(243,246,245,0.78) 48%, rgba(243,246,245,0.45) 100%),
    url("assets/psycho-hero.jpg") center / cover no-repeat;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 40px; }
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5.5vw, 52px);
  line-height: 1.12;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 18px);
  max-width: 34em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-meta li {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--bg2);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.hero-panel {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
  animation: floatIn 0.8s ease both;
}
.hero-panel h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.hero-panel p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}
.slot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f0f5f3;
  margin-bottom: 8px;
  font-size: 14px;
}
.slot strong { color: var(--accent); font-weight: 700; }
.slot.open {
  background: var(--accent-soft);
  border: 1px dashed color-mix(in srgb, var(--accent) 35%, transparent);
}

.section { padding: 56px 0; }
.section.alt { background: color-mix(in srgb, var(--bg2) 70%, transparent); }
.section h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.5vw, 34px);
}
.section-lead {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 40em;
}

.about-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 800px) {
  .about-grid { grid-template-columns: 0.9fr 1.1fr; align-items: center; }
}
.portrait {
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #e7efeb;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.detail-band {
  display: grid;
  gap: 20px;
  align-items: center;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
@media (min-width: 800px) {
  .detail-band { grid-template-columns: 1.1fr 0.9fr; }
}
.detail-band img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}
.detail-band > div { padding: 24px 28px; }
.detail-band h2 { margin: 0 0 10px; }
.detail-band p { margin: 0; color: var(--muted); }
.about-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.about-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
}
.about-list svg { margin-top: 3px; color: var(--accent); }

.cards {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-2px); }
.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  color: var(--accent);
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.price {
  margin-top: 14px;
  font-weight: 750;
  font-size: 18px;
  color: var(--ink);
}
.price span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--bg2);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 12px;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
.step {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.step-num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}
.step h3 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.faq details {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 8px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.cta-box {
  display: grid;
  gap: 24px;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}
@media (min-width: 860px) {
  .cta-box { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}
.form {
  display: grid;
  gap: 12px;
}
.form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fbfcfc;
  font: inherit;
  color: var(--ink);
}
.form textarea { min-height: 88px; resize: vertical; }
.consent {
  display: grid !important;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13px !important;
  color: var(--muted);
}
.consent input { width: auto; margin-top: 3px; }
.consent a { color: var(--accent); text-decoration: underline; }
.form-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.form-note.ok { color: var(--accent); font-weight: 700; }

.contacts {
  display: grid;
  gap: 18px;
}
@media (min-width: 800px) {
  .contacts { grid-template-columns: 1fr 1fr; }
}
.map-fake {
  min-height: 180px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #eef3f1;
  overflow: hidden;
}
.map-fake img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  display: block;
}

.footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
.footer a { color: var(--accent); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal[hidden] { display: none !important; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 43, 40, 0.35);
}
.modal-card {
  position: relative;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 22px;
  box-shadow: var(--shadow);
}
.modal-card h3 { margin: 0 0 8px; }
.modal-card p { margin: 0 0 16px; color: var(--muted); }

@keyframes floatIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-panel, .btn { animation: none; transition: none; }
}
