html {
  scroll-behavior: smooth;
}

#top h1 em {
  color: var(--token-e8fa1613-82a9-409b-9cff-88b0878b3379, rgb(111, 52, 50));
}

#approach [data-framer-name="Joint Photo Placeholder"] img {
  object-position: center 42% !important;
}

@media (min-width: 600px) and (max-width: 899.98px) {
  #approach [data-framer-name="Joint Photo Placeholder"] img {
    object-position: center 10% !important;
  }
}

@media (max-width: 599.98px) {
  #approach [data-framer-name="Joint Photo Placeholder"] img {
    object-position: center 35% !important;
  }
}

#situations,
#approach,
#about,
#process,
#reviews,
#pricing,
#faq,
#contact {
  scroll-margin-top: 96px;
}

#contact-form {
  scroll-margin-top: 111px;
}

#situations [data-framer-name="Повторювані конфлікти"],
#situations [data-framer-name="Емоційна дистанція"],
#situations [data-framer-name="Зрада або криза довіри"],
#situations [data-framer-name="Мовчання та уникнення"],
#situations [data-framer-name="Зникнення сексуальності"],
#situations [data-framer-name="Накопичені образи"],
#situations [data-framer-name="Роздуми про розлучення"],
#situations [data-framer-name="Сумнів у терапії"] {
  transition: background-color 250ms cubic-bezier(.44, 0, .56, 1);
}

#situations [data-framer-name="Повторювані конфлікти"]:hover,
#situations [data-framer-name="Емоційна дистанція"]:hover,
#situations [data-framer-name="Зрада або криза довіри"]:hover,
#situations [data-framer-name="Мовчання та уникнення"]:hover,
#situations [data-framer-name="Зникнення сексуальності"]:hover,
#situations [data-framer-name="Накопичені образи"]:hover,
#situations [data-framer-name="Роздуми про розлучення"]:hover,
#situations [data-framer-name="Сумнів у терапії"]:hover {
  background-color: #f2e7d8 !important;
}

#faq .framer-okv3ty {
  cursor: pointer;
  outline: none;
}

#faq .framer-okv3ty:focus-visible {
  border-radius: 14px;
  box-shadow: 0 0 0 3px rgba(180, 147, 87, .35);
}

.local-faq-answer {
  overflow: hidden;
  padding: 0 24px 24px;
  color: var(--token-cb63d1d0-158b-4419-a584-2d36df5dd923, #6f665d);
  font-family: "Bespoke Sans", "Bespoke Sans Placeholder", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  animation: local-faq-reveal 350ms cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes local-faq-reveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

body.local-menu-open {
  overflow: hidden;
}

.local-menu-backdrop {
  position: fixed;
  z-index: 3;
  inset: 0;
  padding: 0;
  border: 0;
  background: rgba(36, 33, 30, .18);
  backdrop-filter: none;
}

.local-menu-drawer {
  position: fixed;
  z-index: 4;
  top: 75px;
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px 24px;
  border: 0;
  border-bottom: 1px solid rgba(36, 33, 30, .08);
  border-radius: 0;
  background: #f7f1e8;
  box-shadow: none;
  animation: local-menu-reveal 250ms cubic-bezier(.44, 0, .56, 1) both;
}

.local-menu-drawer a {
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  color: #24211e;
  font: 500 16px/1 "Bespoke Sans", sans-serif;
  text-decoration: none;
  transition: color 200ms cubic-bezier(.44, 0, .56, 1);
}

.local-menu-drawer a:hover,
.local-menu-drawer a:focus-visible {
  color: #6f3432;
}

.local-menu-drawer a:nth-child(5) {
  font-weight: 400;
}

.local-menu-drawer a:last-child {
  justify-content: center;
  height: auto;
  min-height: 48px;
  margin-top: 0;
  padding: 14px 20px;
  border-radius: 999px;
  background: #4c553f;
  color: #f7f1e8;
  font-size: 15px;
  font-weight: 500;
}

.local-menu-trigger {
  position: relative;
  z-index: 9999;
}

@keyframes local-menu-reveal {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.local-cookie-launcher {
  position: fixed;
  z-index: 999999;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 16px;
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 999px;
  background: #111;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22), 0 2px 8px rgba(0, 0, 0, .12);
  cursor: pointer;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-sizing: border-box;
  pointer-events: auto;
}

.local-cookie-launcher[hidden] {
  display: none;
}

.local-cookie-panel {
  position: fixed;
  z-index: 999999;
  right: 16px;
  bottom: 16px;
  left: 16px;
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid rgba(36, 33, 30, .12);
  border-radius: 20px;
  background: #fffbf4;
  color: #24211e;
  box-shadow: 0 24px 90px rgba(36, 33, 30, .24);
  font-family: "Bespoke Sans", sans-serif;
  animation: local-cookie-reveal 300ms cubic-bezier(.44, 0, .56, 1) both;
}

.local-cookie-panel h2 {
  margin: 0;
  font-family: "Cormorant", serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.08;
}

.local-cookie-panel > p {
  margin: 10px 0 0;
  color: #6f665d;
  font-size: 14px;
  line-height: 1.55;
}

.local-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.local-cookie-actions button {
  flex: 1 1 140px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #4c553f;
  border-radius: 999px;
  background: transparent;
  color: #4c553f;
  cursor: pointer;
  font: 500 14px/1 "Bespoke Sans", sans-serif;
}

.local-cookie-actions button[data-primary="true"] {
  background: #4c553f;
  color: #fff8ee;
}

.local-cookie-settings {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.local-cookie-setting {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: #f7f1e8;
}

.local-cookie-setting input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #4c553f;
}

.local-cookie-setting strong,
.local-cookie-setting small {
  display: block;
}

.local-cookie-setting small {
  margin-top: 3px;
  color: #6f665d;
  font-size: 12px;
  line-height: 1.4;
}

@keyframes local-cookie-reveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.local-form-error {
  margin: 12px 0 0;
  color: #6f3432;
  font: 500 13px/1.45 "Bespoke Sans", sans-serif;
}

.local-form-validation-error {
  flex: none;
  width: 100%;
  margin: -8px 0 0;
  color: #7d3f3b;
  font: 500 13px/1.45 "Bespoke Sans", sans-serif;
}

#contact-form .framer-form-input[aria-invalid="true"],
#contact-form .framer-form-boolean-input[aria-invalid="true"] {
  outline: 2px solid rgba(125, 63, 59, .55);
  outline-offset: 2px;
}

/* Approved Step 5: local contrast corrections for the autonomous subdomain. */
#approach [data-framer-name="Approach Copy"] .framer-119xhrt > .framer-text {
  --framer-text-color: #695f57 !important;
}

#pricing .framer-3z0jb8 {
  opacity: .64 !important;
}

.framer-1i9jwgx .framer-102q3sz > .framer-text,
.framer-1i9jwgx .framer-1lh0hdt > .framer-text,
.framer-1i9jwgx .framer-hjmyjv > .framer-text,
.framer-1i9jwgx .framer-1u2c0oo > .framer-text {
  --framer-text-color: rgba(255, 248, 238, .70) !important;
}

@media (max-width: 899.98px) {
  #situations,
  #approach,
  #about,
  #process,
  #reviews,
  #pricing,
  #faq,
  #contact {
    scroll-margin-top: 88px;
  }

  #contact-form { scroll-margin-top: 104px; }
}

@media (max-width: 599.98px) {
  .local-menu-drawer { top: 58px; }
  #contact-form { scroll-margin-top: 90px; }
  #contact-form .framer-form-input::placeholder {
    color: rgba(36, 33, 30, .64) !important;
    opacity: 1;
  }
  .local-faq-answer { padding: 0 20px 22px; font-size: 15px; }
  .local-cookie-panel { padding: 20px; }
  .local-cookie-actions { flex-direction: column; }
  .local-cookie-actions button { flex-basis: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
