/* Yana Zeevi Therapy — Standalone Site Styles */
:root {
  --bg-cream: #FDFAF7;
  --bg-warm: #F5EFE9;
  --bg-nav: rgba(247, 244, 240, 0.92);
  --text-dark: #3D3530;
  --text-body: #6B5E58;
  --text-muted: #A09090;
  --text-italic: #7A6B78;
  --accent-purple: #9B8BB4;
  --accent-sage: #8FA898;
  --accent-warm: #C4836E;
  --border-soft: #E0D8D0;
  --border-mid: #D8D0E4;
  --image-bg: #F0E8E2;
  --bar-purple: #D4C8E0;
  --bar-sage: #C5D4C0;
  --shadow-soft: 0 4px 18px rgba(155, 139, 180, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.lang-ru {
  font-family: 'Inter', 'Heebo', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* LTR adjustments for Russian */
html[dir="ltr"] .hero-grid { flex-direction: row; }
html[dir="ltr"] .whatsapp-float { left: auto; right: 1.5rem; }
@media (max-width: 768px) {
  html[dir="ltr"] .whatsapp-float { left: auto; right: 1rem; }
}
html[dir="ltr"] .about-grid { flex-direction: row-reverse; }
html[dir="ltr"] .service-card { flex-direction: row-reverse; }

a { color: inherit; text-decoration: none; transition: all 0.3s ease; }

img { max-width: 100%; display: block; }

.font-serif {
  font-family: 'Frank Ruhl Libre', 'David Libre', Georgia, serif;
  font-weight: 300;
}

.eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 1.25rem;
}

.divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0;
}
.divider .line {
  height: 1px;
  flex: 1;
  max-width: 36px;
  background: #D8C8C0;
}
.divider .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #C5A8A0;
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--bg-nav);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-mid);
}

.nav-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 96px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-body);
}
.nav-links a.active,
.nav-links a:hover {
  color: var(--accent-purple);
}

.lang-btn {
  padding: 4px 14px;
  border-radius: 9999px;
  border: 1px solid var(--bar-sage);
  background: transparent;
  color: var(--accent-sage);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}
.lang-btn:hover {
  background: var(--bar-sage);
  color: #fff;
}

.menu-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--text-dark); }

/* ========== MAIN ========== */
main {
  flex: 1;
  padding-top: 72px;
  background: var(--bg-cream);
  color: var(--text-dark);
}

section { padding: 4rem 1.5rem; }

.container {
  max-width: 1152px;
  margin: 0 auto;
}
.container-narrow { max-width: 640px; margin: 0 auto; }
.container-mid { max-width: 720px; margin: 0 auto; }

/* ========== HERO ========== */
.hero {
  padding: 8rem 1.5rem 6rem;
}
.hero-grid {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 4rem;
}
.hero-text { flex: 1; min-width: 0; }
.hero-image-wrap {
  flex: none;
  width: 42%;
}
.hero-image {
  border-radius: 2rem;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--image-bg);
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

h1 {
  font-family: 'Frank Ruhl Libre', Georgia, serif;
  font-size: 2.9rem;
  line-height: 1.35;
  font-weight: 300;
  color: var(--text-dark);
  text-wrap: balance;
}

body.lang-ru h1 { font-size: 2.4rem; }
body.lang-ru h2 { font-size: 1.7rem; }

/* Services page Russian title — keep on one line on desktop */
@media (min-width: 769px) {
  body.lang-ru .page-title h1 {
    white-space: nowrap;
    font-size: clamp(1rem, 2vw, 1.55rem);
  }
}

@media (max-width: 768px) {
  body.lang-ru h1 { font-size: 1.85rem; }
  body.lang-ru h2 { font-size: 1.4rem; }
}

h2 {
  font-family: 'Frank Ruhl Libre', Georgia, serif;
  font-size: 1.9rem;
  line-height: 1.5;
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 2.5rem;
}

h3 {
  font-family: 'Frank Ruhl Libre', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.body-text p {
  font-size: 1rem;
  line-height: 2;
  color: var(--text-body);
  margin-bottom: 1.25rem;
}
.body-text p:last-child { margin-bottom: 0; }

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent-purple);
  color: #fff;
}
.btn-primary:hover {
  opacity: 0.9;
  transform: scale(1.02);
}
.btn-secondary {
  background: transparent;
  border-color: #D0C4BC;
  color: #8A7870;
}
.btn-secondary:hover { background: #F0EBE6; }

.cta-row {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ========== SECTIONS ========== */
.section-warm { background: var(--bg-warm); padding: 6rem 1.5rem; }

.quote-block {
  text-align: center;
  padding: 6rem 1.5rem;
}
.quote-block .quote {
  font-family: 'Frank Ruhl Libre', Georgia, serif;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: var(--accent-purple);
  max-width: 560px;
  margin: 0 auto;
}

/* ========== SERVICE CARDS ========== */
.service-grid {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.service-card {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  padding: 2rem 2.5rem;
  transition: all 0.5s ease;
}
.service-card:hover { box-shadow: var(--shadow-soft); }

.service-card .content { flex: 1; min-width: 0; }
.service-card .accent-bar {
  flex-shrink: 0;
  width: 4px;
  border-radius: 9999px;
  align-self: stretch;
  min-height: 60px;
}
.service-card .accent-bar.purple { background: var(--bar-purple); }
.service-card .accent-bar.sage { background: var(--bar-sage); }

.service-card p {
  font-size: 0.97rem;
  line-height: 1.9;
  color: var(--text-body);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--accent-purple);
  margin-top: 1.75rem;
  transition: opacity 0.3s ease;
}
.service-link:hover { opacity: 0.7; }
.service-link svg { width: 14px; height: 14px; }

/* ========== ABOUT ========== */
.about-grid {
  display: flex;
  align-items: stretch;
  gap: 3rem;
}
.about-image {
  flex: none;
  width: 40%;
}
.about-image img {
  width: 100%;
  object-fit: contain;
  min-height: 500px;
  background: var(--bg-cream);
  object-position: center 20%;
}
.about-text { flex: 1; min-width: 0; }

/* ========== ITALIC QUOTES ========== */
.italic-quote {
  font-style: italic;
  color: var(--text-italic);
}

/* ========== CONTACT FORM ========== */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: #fff;
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border-soft);
}
.form-field { display: flex; flex-direction: column; }
.form-field label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  height: 48px;
  border-radius: 0.5rem;
  border: 1px solid var(--border-soft);
  padding: 0 1rem;
  font-size: 1rem;
  background: var(--bg-cream);
  color: var(--text-dark);
  font-family: inherit;
  transition: border-color 0.3s ease;
}
.form-field textarea {
  height: auto;
  min-height: 140px;
  padding: 0.75rem 1rem;
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
}
.form-submit {
  width: 100%;
  height: 48px;
  border-radius: 9999px;
  background: var(--accent-purple);
  color: #fff;
  border: none;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.3s ease;
}
.form-submit:hover { opacity: 0.9; }

.contact-direct {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-soft);
  text-align: center;
}
.contact-direct p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ========== LISTS ========== */
.dot-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}
.dot-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
  line-height: 2;
  color: var(--text-body);
}
.dot-list li::before {
  content: "";
  flex-shrink: 0;
  width: 4px; height: 4px;
  margin-top: 14px;
  border-radius: 50%;
  background: var(--accent-purple);
}

/* ========== FOOTER ========== */
footer {
  background: var(--bg-cream);
  border-top: 1px solid var(--border-soft);
  padding: 3.5rem 1.5rem;
}
.footer-inner {
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.footer-name {
  font-family: 'Frank Ruhl Libre', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--text-dark);
}
.footer-tag {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-sage);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}
.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-purple);
  transition: opacity 0.3s ease;
}
.footer-links a:hover { opacity: 0.7; }
.footer-copy {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ========== WHATSAPP FLOATING ========== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid #DDD0C8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  color: #7A6560;
}
.whatsapp-float:hover {
  box-shadow: 0 6px 18px rgba(196, 131, 110, 0.18);
  border-color: var(--accent-warm);
  color: var(--accent-warm);
}
.whatsapp-float svg { color: var(--accent-warm); flex-shrink: 0; }
.whatsapp-float span {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ========== ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== PAGE TITLE ========== */
.page-title {
  padding: 8rem 1.5rem 2.5rem;
}
.page-title.with-bottom { padding-bottom: 1.5rem; }

.page-image-block {
  display: flex;
  justify-content: center;
  padding: 0 1.5rem 3rem;
}
.page-image-block img {
  max-width: 512px;
  width: 100%;
  border-radius: 1rem;
  max-height: 460px;
  object-fit: cover;
  opacity: 0.92;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.55rem; }

  .hero { padding: 6rem 1.25rem 4rem; }
  .hero-grid { flex-direction: column; gap: 2rem; }
  .hero-image-wrap { width: 100%; max-width: 380px; }

  .about-grid { flex-direction: column; gap: 2rem; }
  .about-image { width: 100%; max-width: 380px; margin: 0 auto; }
  .about-image img { min-height: 380px; }

  section { padding: 3.5rem 1.25rem; }
  .section-warm { padding: 4rem 1.25rem; }

  .nav-inner { padding: 0.75rem 1.25rem; }
  .nav-logo img { height: 64px; }
  .nav-links { gap: 1rem; }
  .nav-links a:not(.lang-btn) { display: none; }
  .menu-toggle { display: inline-flex; }

  .nav-links.open a:not(.lang-btn) {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem 0;
  }
  .nav-links.open {
    position: absolute;
    top: 100%;
    right: 0; left: 0;
    background: var(--bg-nav);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--border-mid);
  }

  .service-card { padding: 1.5rem 1.5rem; }

  .whatsapp-float {
    bottom: 1rem;
    left: 1rem;
    padding: 0.65rem;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    justify-content: center;
  }
  .whatsapp-float span { display: none; }
  html[dir="ltr"] .whatsapp-float { left: auto; right: 1rem; }
}
