:root {
  --bg: #f6efe6;
  --surface: #fffaf4;
  --surface-strong: #efe2d2;
  --text: #18201f;
  --muted: #566462;
  --primary: #3a655d;
  --primary-soft: #6b8d85;
  --accent: #b86a3c;
  --accent-soft: #e6c0ae;
  --gold: #d3b07a;
  --line: rgba(58, 101, 93, 0.12);
  --shadow: 0 24px 60px rgba(58, 101, 93, 0.09);
  --radius: 24px;
  --heading-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "URW Palladio L", serif;
  --body-font: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(184, 106, 60, 0.18), transparent 26%),
    radial-gradient(circle at right 15%, rgba(58, 101, 93, 0.08), transparent 22%),
    linear-gradient(180deg, #fcf8f2 0%, var(--bg) 100%);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(252, 248, 242, 0.84);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(58, 101, 93, 0.05);
}

.header-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 82px;
  padding-top: 0.7rem;
  padding-bottom: 0.45rem;
}

.header-locale-row {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.35rem 0.45rem 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(58, 101, 93, 0.1);
  box-shadow: 0 12px 28px rgba(58, 101, 93, 0.08);
}

.header-locale-label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-height: 68px;
  padding-top: 0.2rem;
  padding-bottom: 0.9rem;
  border-top: 1px solid rgba(58, 101, 93, 0.08);
}

.brand {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  column-gap: 1.15rem;
}

.brand-logo {
  width: 84px;
  height: auto;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(58, 101, 93, 0.12));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.22rem;
  min-width: 0;
  min-height: 74px;
  align-items: flex-end;
  text-align: right;
  padding-right: 1rem;
  border-right: 1px solid rgba(58, 101, 93, 0.12);
}

.brand-copy strong {
  font-family: var(--heading-font);
  font-size: 1.22rem;
  letter-spacing: 0.015em;
  line-height: 1.12;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.22;
}

.brand-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.22rem;
  min-width: 0;
  min-height: 74px;
  padding-left: 1rem;
  border-left: 1px solid rgba(58, 101, 93, 0.12);
  text-align: left;
}

.brand-secondary {
  color: var(--text);
  font-family: var(--heading-font);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.12;
  max-width: 240px;
}

.brand-founded {
  color: rgba(58, 101, 93, 0.82);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.site-nav {
  margin-left: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 1 1 auto;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(255, 255, 255, 0.68);
}

.language-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  min-height: 36px;
  padding: 0 0.78rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.language-flag {
  font-size: 0.95rem;
  line-height: 1;
}

.language-pill.is-active {
  background: rgba(58, 101, 93, 0.12);
  color: var(--primary);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.15rem 1.08rem;
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.94rem;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 239, 230, 0.92));
  border: 1px solid rgba(58, 101, 93, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 22px rgba(58, 101, 93, 0.06);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.site-nav a:hover,
.mini-link:hover,
.footer-links a:hover {
  color: var(--primary);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(239, 226, 210, 0.96));
  border-color: rgba(58, 101, 93, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 14px 30px rgba(58, 101, 93, 0.1);
  transform: translateY(-1px);
}

.site-nav a.is-active {
  background: linear-gradient(135deg, rgba(107, 141, 133, 0.18), rgba(58, 101, 93, 0.14));
  border-color: rgba(58, 101, 93, 0.26);
  color: var(--primary);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 12px 26px rgba(58, 101, 93, 0.11);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
  border: 0;
  cursor: pointer;
}

.header-cta,
.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 100%);
  color: white;
  box-shadow: 0 12px 28px rgba(58, 101, 93, 0.18);
}

.button-secondary {
  background: white;
  color: var(--primary);
  border: 1px solid rgba(58, 101, 93, 0.18);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
}

.hero,
.page-hero {
  padding: 5.75rem 0 4rem;
  position: relative;
  overflow: clip;
}

.hero-grid,
.page-hero-grid,
.two-column {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.75rem;
  align-items: center;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2 {
  margin: 0;
  font-family: var(--heading-font);
  line-height: 1.04;
  font-size: clamp(2.35rem, 5.4vw, 4.35rem);
  letter-spacing: -0.03em;
}

.locale-ro .hero-copy h1,
.locale-en .hero-copy h1 {
  font-size: clamp(2.1rem, 4.9vw, 4rem);
  max-width: 11ch;
}

.page-hero h1,
.section-heading h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-lead,
.page-summary,
.section-heading p,
.lead-panel > div p,
.info-card p,
.link-card p,
.stacked-panel p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.hero-trustline {
  margin: 1.1rem 0 0;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions,
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.hero-helper {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-helper a {
  color: var(--primary);
  font-weight: 700;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(58, 101, 93, 0.1);
  color: var(--primary);
  font-size: 0.92rem;
}

.hero-meta span {
  background: rgba(58, 101, 93, 0.08);
  font-weight: 700;
}

.hero-side,
.page-hero::before,
.home-page .hero::before,
.home-page .hero::after {
  position: relative;
}

.page-hero::before,
.home-page .hero::before,
.home-page .hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.home-page .hero::before {
  width: 340px;
  height: 340px;
  left: -110px;
  top: 55px;
  background: radial-gradient(circle, rgba(184, 106, 60, 0.18), transparent 72%);
}

.home-page .hero::after {
  width: 520px;
  height: 520px;
  right: -220px;
  top: -80px;
  background: radial-gradient(circle, rgba(58, 101, 93, 0.1), transparent 68%);
}

.hero-visual-card,
.page-hero-visual {
  position: relative;
  overflow: hidden;
  padding: 0.9rem;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(239, 226, 210, 0.88));
}

.hero-visual-card > img:last-child,
.page-hero-visual > img:last-child {
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
}

.hero-portrait-card {
  max-width: 560px;
  margin-left: auto;
}

.hero-mark {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  width: 84px;
  opacity: 0.08;
  mix-blend-mode: multiply;
}

.hero-facts-card {
  max-width: 430px;
  margin: 1rem 0 0 auto;
  padding: 1.2rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(58, 101, 93, 0.08);
  box-shadow: var(--shadow);
}

.hero-facts-card .eyebrow {
  margin-bottom: 0.85rem;
}

.hero-panel-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.section {
  padding: 4.5rem 0;
}

.section.muted {
  background: rgba(255, 255, 255, 0.45);
}

.section.accent {
  background: linear-gradient(180deg, rgba(58, 101, 93, 0.03), rgba(58, 101, 93, 0.08));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.card-grid,
.link-grid,
.mini-grid,
.audience-grid,
.curriculum-grid,
.proof-grid {
  display: grid;
  gap: 1rem;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.audience-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.curriculum-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefits-panel {
  max-width: 760px;
  padding: 1.5rem 1.7rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(58, 101, 93, 0.09);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.benefit-list {
  margin: 0;
  padding-left: 1.3rem;
}

.benefit-list li {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.75;
}

.facts-grid .fact-card p {
  color: var(--primary);
  font-family: var(--heading-font);
  font-size: 1.35rem;
  line-height: 1.3;
}

.info-card,
.link-card,
.stacked-panel article,
.audience-card,
.curriculum-card,
.proof-card,
.lead-panel,
.rich-content > div[style*="background"],
.embedded-playlist,
.video-frame,
.admin-sidebar,
.admin-main {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(58, 101, 93, 0.09);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.info-card,
.link-card,
.stacked-panel article,
.audience-card,
.curriculum-card,
.proof-card {
  padding: 1.35rem;
}

.info-card,
.audience-card,
.curriculum-card,
.proof-card,
.link-card {
  position: relative;
  overflow: hidden;
}

.info-card::before,
.audience-card::before,
.curriculum-card::before,
.proof-card::before,
.link-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), rgba(184, 106, 60, 0));
}

.info-card strong,
.link-card h3,
.stacked-panel strong,
.audience-card h3,
.curriculum-card strong,
.proof-card strong {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.audience-card h3 {
  margin-top: 0;
}

.link-card a {
  color: var(--primary);
  font-weight: 700;
}

.proof-card a {
  margin-top: 0.8rem;
  color: var(--primary);
  font-weight: 700;
}

.proof-meta {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-link-row {
  margin: 1.25rem 0 0;
}

.stacked-panel {
  display: grid;
  gap: 1rem;
}

.lead-panel {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.lead-panel::before {
  content: "";
  position: absolute;
  inset: auto -80px -90px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(184, 106, 60, 0.16), transparent 68%);
  pointer-events: none;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.lead-form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--primary);
  font-size: 0.9rem;
}

.lead-form label.full {
  grid-column: 1 / -1;
}

.lead-form .full {
  grid-column: 1 / -1;
}

.lead-form-consent {
  grid-column: 1 / -1;
}

.lead-form input,
.lead-form select,
.lead-form textarea,
.admin-main input,
.admin-main textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(58, 101, 93, 0.18);
  background: white;
  font: inherit;
  color: var(--text);
}

.lead-form textarea,
.admin-main textarea {
  resize: vertical;
}

.rich-editor {
  display: grid;
  gap: 0.55rem;
}

.rich-editor-source {
  display: none !important;
}

.rich-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.45rem;
  border-radius: 16px;
  border: 1px solid rgba(58, 101, 93, 0.14);
  background: rgba(58, 101, 93, 0.05);
}

.rich-editor-button {
  min-width: 36px;
  height: 36px;
  padding: 0 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(58, 101, 93, 0.16);
  background: white;
  color: var(--primary);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.rich-editor-button.is-active,
.rich-editor-button:hover {
  background: rgba(58, 101, 93, 0.12);
}

.rich-editor-surface {
  min-height: 160px;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(58, 101, 93, 0.18);
  background: white;
  color: var(--text);
  line-height: 1.7;
  outline: none;
}

.rich-editor-surface:focus {
  border-color: rgba(58, 101, 93, 0.32);
  box-shadow: 0 0 0 4px rgba(58, 101, 93, 0.08);
}

.rich-editor-surface h2,
.rich-editor-surface h3,
.rich-editor-surface p,
.rich-editor-surface ul,
.rich-editor-surface ol {
  margin: 0 0 0.9rem;
}

.rich-editor-surface ul,
.rich-editor-surface ol {
  padding-left: 1.2rem;
}

.rich-editor-surface p:last-child,
.rich-editor-surface h2:last-child,
.rich-editor-surface h3:last-child,
.rich-editor-surface ul:last-child,
.rich-editor-surface ol:last-child {
  margin-bottom: 0;
}

.checkbox-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.75rem !important;
  font-size: 0.92rem !important;
  line-height: 1.55;
  color: var(--muted) !important;
}

.checkbox-row input[type="checkbox"] {
  width: 1rem;
  min-width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  padding: 0;
}

.trap-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-feedback {
  grid-column: 1 / -1;
  min-height: 1.2rem;
  color: var(--primary);
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.mini-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(58, 101, 93, 0.1);
  color: var(--muted);
}

.social-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
}

.page-shell {
  max-width: 980px;
}

.rich-content {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(58, 101, 93, 0.08);
  border-radius: 32px;
  padding: 1.8rem;
  overflow: hidden;
}

.content-page .rich-content {
  padding: 2.25rem;
}

.rich-content .content-rich {
  display: grid;
  gap: 1.2rem;
}

.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4,
.rich-content h5,
.rich-content h6 {
  color: var(--primary);
}

.rich-content h2 {
  margin-top: 2.2rem;
}

.rich-content .content-rich > h2:first-child {
  margin-top: 0;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(58, 101, 93, 0.1);
}

.rich-content h3 {
  margin: 1.1rem 0 0.15rem;
  font-size: 1.35rem;
}

.rich-content p,
.rich-content li {
  line-height: 1.75;
  color: var(--muted);
}

.rich-content .content-rich > p,
.rich-content .content-rich > ul,
.rich-content .content-rich > ol,
.rich-content .content-rich > blockquote,
.rich-content .content-rich > .table-wrap,
.rich-content .content-rich > .video-frame,
.rich-content .content-rich > .embedded-playlist,
.rich-content .content-rich > .testimonial-entry,
.rich-content .content-rich > .faq-item {
  margin: 0;
}

.rich-content .content-rich > ul,
.rich-content .content-rich > ol {
  padding: 1.25rem 1.4rem 1.25rem 2.4rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(58, 101, 93, 0.08);
}

.rich-content .content-rich > ul li + li,
.rich-content .content-rich > ol li + li {
  margin-top: 0.55rem;
}

.rich-content blockquote {
  margin: 0;
  padding: 1.25rem 1.4rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 250, 244, 0.95), rgba(239, 226, 210, 0.72));
  border: 1px solid rgba(58, 101, 93, 0.08);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow);
}

.rich-content blockquote p {
  margin: 0;
  color: var(--text);
  font-style: italic;
}

.testimonial-entry,
.faq-item {
  padding: 1.45rem 1.5rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(58, 101, 93, 0.1);
  box-shadow: var(--shadow);
}

.testimonial-entry h3,
.faq-item h3 {
  margin-top: 0;
}

.testimonial-entry p:last-child,
.faq-item p:last-child {
  margin-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(58, 101, 93, 0.09);
  box-shadow: var(--shadow);
}

.content-list {
  margin: 1rem 0 1.5rem 1.2rem;
  padding: 0 0 0 1rem;
}

.content-list li + li {
  margin-top: 0.55rem;
}

.rich-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  margin: 0;
  min-width: 780px;
}

.rich-content th,
.rich-content td {
  border: 1px solid rgba(58, 101, 93, 0.12);
  padding: 0.8rem;
  text-align: left;
}

.rich-content th {
  background: rgba(58, 101, 93, 0.08);
  color: var(--primary);
}

.rich-content tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.55);
}

.page-tanuloink-mondjak .rich-content,
.page-paciensek-a-seishin-terapiarol .rich-content,
.page-videok .rich-content {
  padding: 2.35rem;
}

.page-tanuloink-mondjak .rich-content > h2:first-child,
.page-paciensek-a-seishin-terapiarol .rich-content > p:first-child + p,
.page-videok .embedded-playlist h2 {
  font-family: var(--heading-font);
}

.page-tanuloink-mondjak .rich-content > h2:first-child {
  margin-top: 0;
  margin-bottom: 2rem;
  text-align: center;
  color: #1976d2;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
}

.page-tanuloink-mondjak .rich-content h3 {
  margin-top: 2rem;
  color: var(--primary);
  font-size: 1.22rem;
}

.page-tanuloink-mondjak .rich-content pre {
  margin: 0.55rem 0 0;
  padding: 1.45rem 1.55rem;
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(58, 101, 93, 0.09);
  border-left: 4px solid var(--accent);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.page-paciensek-a-seishin-terapiarol .rich-content {
  display: grid;
  gap: 1.2rem;
}

.page-paciensek-a-seishin-terapiarol .rich-content > p {
  margin: 0;
}

.page-paciensek-a-seishin-terapiarol .rich-content > p:empty,
.page-paciensek-a-seishin-terapiarol .rich-content > div:empty {
  display: none;
}

.page-paciensek-a-seishin-terapiarol .rich-content > p:nth-of-type(2),
.page-paciensek-a-seishin-terapiarol .rich-content > p:nth-of-type(9) {
  margin-top: 0.2rem;
  color: var(--primary);
  font-family: var(--heading-font);
  font-size: clamp(1.5rem, 2.8vw, 1.95rem);
  line-height: 1.18;
}

.page-paciensek-a-seishin-terapiarol .rich-content .video-frame,
.page-paciensek-a-seishin-terapiarol .rich-content iframe {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.page-videok .embedded-playlist {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 1.8rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(58, 101, 93, 0.1);
  box-shadow: var(--shadow);
}

.page-videok .embedded-playlist h2 {
  margin-top: 0.35rem;
  text-align: center;
  color: var(--primary);
}

.page-videok .embedded-playlist .eyebrow,
.page-videok .embedded-playlist p {
  text-align: center;
}

.embedded-playlist {
  padding: 1.5rem;
}

.legacy-course-wrap {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 1.8rem;
}

.legacy-course-countdown,
.legacy-course-card,
.legacy-course-testimonials,
.legacy-course-footer {
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(255, 214, 210, 0.7);
}

.legacy-course-countdown {
  padding: 1.4rem 1.6rem;
  text-align: center;
  border: 3px solid #ff8f7d;
  background: #ffe2dc;
  color: #d94b27;
}

.legacy-course-countdown strong {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--heading-font);
  font-size: 1.15rem;
  color: inherit;
}

.legacy-course-countdown span {
  display: block;
  font-family: var(--heading-font);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.2;
}

.legacy-course-card,
.legacy-course-testimonials,
.legacy-course-footer {
  padding: 2rem 1.7rem;
  background: linear-gradient(180deg, #fff8f6, #fff1ee);
  border: 1px solid rgba(255, 143, 125, 0.24);
}

.legacy-course-card h2,
.legacy-course-testimonials h3,
.legacy-course-footer h3 {
  margin-top: 0;
  text-align: center;
  color: #d94b27;
}

.legacy-course-card > p,
.legacy-course-footer > p {
  text-align: center;
}

.legacy-course-card > p strong,
.legacy-course-footer > p strong {
  color: var(--text);
}

.legacy-course-highlight {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: #ffe2dc;
  color: #8f4026;
}

.legacy-course-card ul,
.legacy-course-footer ul {
  margin: 1.2rem 0 0;
  padding-left: 1.35rem;
}

.legacy-course-card li,
.legacy-course-footer li {
  color: var(--text);
}

.legacy-course-card li + li,
.legacy-course-footer li + li {
  margin-top: 0.7rem;
}

.legacy-course-cta {
  margin-top: 1.5rem;
  text-align: center;
}

.legacy-course-cta .button {
  min-height: 56px;
  padding: 0 1.8rem;
  font-size: 1.05rem;
}

.legacy-course-testimonials blockquote {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 143, 125, 0.18);
  box-shadow: none;
}

.legacy-course-testimonials .quote-grid {
  display: grid;
  gap: 0.85rem;
}

.legacy-course-more {
  margin-top: 1rem;
  text-align: center;
}

.legacy-course-more a {
  color: #d94b27;
  font-weight: 700;
}

.video-frame {
  overflow: hidden;
  padding: 0;
}

.video-frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.site-footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(58, 101, 93, 0.02), rgba(58, 101, 93, 0.08)),
    rgba(255, 250, 244, 0.7);
}

.footer-grid,
.footer-bottom {
  display: grid;
  gap: 1.5rem;
}

.footer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-bottom {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.therapist-directory-shell,
.therapist-application-shell,
.therapist-account-shell {
  display: grid;
  gap: 1.3rem;
}

.therapist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.therapist-directory-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.therapist-directory-filter {
  display: grid;
  gap: 0.42rem;
}

.therapist-directory-filter span {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.therapist-directory-filter input,
.therapist-directory-filter select {
  min-height: 50px;
  padding: 0 1rem;
  border-radius: 20px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.therapist-card {
  display: grid;
  grid-template-columns: 186px 1fr;
  gap: 1rem;
  padding: 1.1rem;
  border-radius: 28px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 248, 243, 0.92));
  box-shadow: 0 20px 44px rgba(20, 51, 47, 0.08);
}

.therapist-card[hidden] {
  display: none !important;
}

.therapist-card-media {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.therapist-card-image {
  width: 100%;
  height: 100%;
  min-height: 228px;
  border-radius: 22px;
  object-fit: contain;
  object-position: center center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 246, 0.92));
  box-shadow: inset 0 0 0 1px rgba(58, 101, 93, 0.08);
}

.therapist-card-image-placeholder {
  background:
    linear-gradient(135deg, rgba(58, 101, 93, 0.12), rgba(184, 95, 60, 0.1)),
    rgba(58, 101, 93, 0.06);
}

.therapist-card-body {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.therapist-card-body h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.05;
}

.therapist-card-head {
  display: grid;
  gap: 0.3rem;
}

.therapist-card-title {
  margin: 0;
  color: var(--accent);
  font-weight: 700;
}

.therapist-card-meta {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  border-radius: 20px;
  background: rgba(58, 101, 93, 0.04);
  border: 1px solid rgba(58, 101, 93, 0.08);
}

.therapist-card-meta p {
  margin: 0;
  color: var(--text);
}

.therapist-card-meta strong {
  color: var(--primary);
}

.therapist-card-meta a {
  color: var(--primary);
  font-weight: 700;
}

.therapist-card-phone-link {
  text-decoration: none;
}

.therapist-card-phone-link:hover {
  text-decoration: underline;
}

.therapist-quality-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: rgba(58, 101, 93, 0.12);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
}

.therapist-card-excerpt {
  margin: 0;
  color: rgba(31, 42, 41, 0.92);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.therapist-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.therapist-services span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(58, 101, 93, 0.06);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
}

.therapist-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
}

.therapist-card-phone-button {
  min-width: 0;
}

.therapist-card-profile-button {
  flex: 1 1 220px;
  min-width: 0;
  box-shadow: 0 14px 30px rgba(58, 101, 93, 0.2);
}

.therapist-filter-empty[hidden] {
  display: none !important;
}

.therapist-cta-panel,
.therapist-empty-state,
.therapist-login-note,
.therapist-account-intro,
.therapist-directory-intro,
.therapist-status-panel {
  border-radius: 28px;
}

.therapist-profile-shell {
  display: grid;
  gap: 1.1rem;
}

.therapist-profile-hero,
.therapist-profile-panel {
  border-radius: 34px;
  border: 1px solid rgba(58, 101, 93, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(252, 248, 243, 0.94));
  box-shadow: var(--shadow);
}

.therapist-profile-hero {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: 1.35rem;
  padding: 1.35rem;
}

.therapist-profile-media {
  display: flex;
  align-items: stretch;
}

.therapist-profile-image {
  width: 100%;
  min-height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 28px;
  background: rgba(58, 101, 93, 0.08);
  box-shadow: inset 0 0 0 1px rgba(58, 101, 93, 0.08);
}

.therapist-profile-image-placeholder {
  background:
    linear-gradient(135deg, rgba(58, 101, 93, 0.12), rgba(184, 95, 60, 0.1)),
    rgba(58, 101, 93, 0.06);
}

.therapist-profile-copy {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  padding: 0.45rem 0.2rem;
}

.therapist-profile-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 0.98;
}

.therapist-profile-title {
  margin: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.therapist-profile-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.therapist-profile-fact {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(58, 101, 93, 0.06);
  border: 1px solid rgba(58, 101, 93, 0.1);
  color: var(--text);
}

.therapist-profile-fact strong {
  color: var(--primary);
}

.therapist-profile-fact a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.therapist-profile-fact a:hover {
  text-decoration: underline;
}

.therapist-profile-intro {
  margin: 0;
  max-width: 62ch;
  color: rgba(31, 42, 41, 0.9);
  font-size: 1.04rem;
  line-height: 1.72;
}

.compact-rich-content > * + * {
  margin-top: 0.7rem;
}

.compact-rich-content p,
.compact-rich-content li {
  margin-bottom: 0;
}

.compact-rich-content h2,
.compact-rich-content h3 {
  margin-bottom: 0.4rem;
}

.compact-rich-content ul,
.compact-rich-content ol {
  padding-left: 1.15rem;
}

.therapist-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.therapist-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.72fr);
  gap: 1.1rem;
  align-items: start;
}

.therapist-profile-main,
.therapist-profile-sidebar {
  display: grid;
  gap: 1rem;
}

.therapist-profile-panel {
  padding: 1.45rem 1.5rem;
}

.therapist-profile-panel h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.therapist-profile-text {
  display: grid;
  gap: 1rem;
}

.therapist-profile-text p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(31, 42, 41, 0.92);
}

.therapist-profile-services {
  margin-top: 0.35rem;
}

.therapist-profile-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
}

.therapist-profile-contact-panel {
  position: static;
}

.therapist-profile-map-panel {
  overflow: hidden;
}

.therapist-profile-map-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(58, 101, 93, 0.1);
  background: rgba(58, 101, 93, 0.04);
}

.therapist-profile-map-frame iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.therapist-profile-contact-list {
  display: grid;
  gap: 0.9rem;
}

.therapist-profile-contact-list p {
  display: grid;
  gap: 0.2rem;
  margin: 0;
}

.therapist-profile-contact-list span {
  color: var(--text);
}

.therapist-profile-contact-list strong {
  color: var(--primary);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.therapist-profile-contact-list a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.04rem;
}

.therapist-profile-contact-list a:hover {
  color: var(--primary);
}

.therapist-profile-sidebar-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.therapist-responsibility-note {
  margin-top: 1.1rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(58, 101, 93, 0.12);
  border-radius: 20px;
  background: rgba(244, 248, 246, 0.88);
}

.therapist-responsibility-note strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--primary);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.therapist-responsibility-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.therapist-context-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.therapist-context-contact-section {
  margin-bottom: 1rem;
}

.therapist-context-card-head {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.therapist-context-card-head img {
  width: 116px;
  height: 116px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(244, 248, 246, 0.88);
}

.therapist-context-card-head h2 {
  margin: 0 0 0.35rem;
}

.therapist-context-institution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.1rem;
}

.therapist-context-institution-tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(58, 101, 93, 0.08);
  color: var(--primary);
  font-weight: 600;
}

.therapist-application-grid,
.therapist-account-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.52fr) minmax(0, 1.48fr);
  gap: 1rem;
  align-items: start;
}

.therapist-account-grid {
  grid-template-columns: minmax(280px, 0.74fr) minmax(420px, 1.18fr);
  max-width: 980px;
  margin: 0 auto;
}

.therapist-account-dashboard {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1.58fr);
  gap: 1rem;
  align-items: start;
}

.therapist-account-sidebar,
.therapist-account-content {
  display: grid;
  gap: 1rem;
}

.therapist-account-menu-panel {
  display: grid;
  gap: 1rem;
}

.therapist-account-menu-panel h2 {
  margin: 0;
}

.therapist-account-menu-panel p {
  margin: 0;
  color: var(--muted);
}

.therapist-account-menu {
  display: grid;
  gap: 0.7rem;
}

.therapist-account-menu a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 1rem;
  border-radius: 18px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(255, 255, 255, 0.86);
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.therapist-account-menu a.is-active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 28px rgba(58, 101, 93, 0.18);
}

.therapist-account-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.therapist-account-stats-panel h2,
.therapist-account-stats-panel h3 {
  margin-top: 0;
}

.therapist-account-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.therapist-account-stat-card {
  display: grid;
  gap: 0.45rem;
  padding: 1.1rem 1rem;
  border-radius: 22px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(58, 101, 93, 0.05);
}

.therapist-account-stat-card strong {
  color: var(--primary);
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.therapist-account-stat-card span {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
}

.therapist-account-stats-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.therapist-account-stat-list {
  display: grid;
  gap: 0.75rem;
}

.therapist-account-stat-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.95rem;
  border-radius: 18px;
  background: rgba(58, 101, 93, 0.05);
  border: 1px solid rgba(58, 101, 93, 0.1);
}

.therapist-account-stat-row span {
  color: var(--muted);
}

.therapist-account-stat-row strong {
  color: var(--primary);
}

.therapist-account-countdown {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: rgba(58, 101, 93, 0.08);
  border: 1px solid rgba(58, 101, 93, 0.12);
}

.therapist-account-countdown strong {
  color: var(--primary);
  font-size: 1.05rem;
}

.therapist-account-countdown span {
  color: var(--muted);
}

.therapist-account-editor-panel h2 {
  margin-top: 0;
}

.therapist-login-note,
.therapist-status-panel {
  display: grid;
  gap: 0.85rem;
}

.therapist-login-note {
  height: fit-content;
}

.therapist-login-card {
  max-width: 360px;
}

.therapist-login-card .lead-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.therapist-login-card .lead-form button {
  grid-column: 1 / -1;
}

.therapist-register-card {
  min-height: 296px;
  align-content: center;
  gap: 1rem;
}

.therapist-register-card .button {
  min-width: 220px;
}

.therapist-note {
  margin: 0;
  color: var(--muted);
}

.therapist-login-note h2,
.therapist-status-panel h2 {
  margin: 0;
}

.therapist-status-panel.is-success {
  border: 1px solid rgba(58, 101, 93, 0.18);
  background: rgba(58, 101, 93, 0.08);
}

.therapist-status-panel.is-error {
  border: 1px solid rgba(184, 95, 60, 0.18);
  background: rgba(184, 95, 60, 0.08);
}

.therapist-account-form .button,
.therapist-application-form .button {
  width: fit-content;
}

.therapist-file-note {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.therapist-check-grid,
.therapist-public-flags {
  display: grid;
  gap: 0.7rem;
}

.therapist-check-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: 0.35rem 0;
}

.therapist-checkbox-row {
  min-height: 100%;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(58, 101, 93, 0.04);
}

.therapist-language-panel {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: 24px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.therapist-language-panel-head {
  display: grid;
  gap: 0.35rem;
}

.therapist-language-panel-head strong {
  color: var(--primary);
}

.therapist-language-panel-head p {
  margin: 0;
  color: var(--muted);
}

.therapist-language-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

@media (max-width: 900px) {
  .therapist-account-stats-grid,
  .therapist-account-stats-lists {
    grid-template-columns: 1fr;
  }
}

.therapist-language-fieldset {
  margin: 0;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(255, 250, 244, 0.84);
  display: grid;
  gap: 0.8rem;
}

.therapist-language-fieldset legend {
  padding: 0 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.therapist-char-counter {
  display: block;
  margin-top: 0.35rem;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.therapist-avatar-preview {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(58, 101, 93, 0.04);
}

.therapist-avatar-preview strong {
  color: var(--primary);
}

.therapist-avatar-preview img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  background: rgba(58, 101, 93, 0.08);
}

.image-crop-inline-preview {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.8rem;
  padding: 0.95rem;
  border-radius: 22px;
  border: 1px solid rgba(58, 101, 93, 0.12);
  background: rgba(58, 101, 93, 0.04);
}

.image-crop-inline-preview strong {
  color: var(--primary);
}

.image-crop-inline-preview img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  background: rgba(58, 101, 93, 0.08);
}

.image-crop-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(18, 33, 31, 0.62);
  backdrop-filter: blur(6px);
}

.image-crop-dialog {
  width: min(100%, 760px);
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 248, 243, 0.96));
  box-shadow: 0 28px 70px rgba(18, 33, 31, 0.22);
}

.image-crop-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.image-crop-head strong {
  display: block;
  color: var(--primary);
  font-size: 1.1rem;
}

.image-crop-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.image-crop-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(58, 101, 93, 0.08);
  color: var(--primary);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.image-crop-stage {
  display: grid;
  place-items: center;
}

.image-crop-viewport {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(58, 101, 93, 0.12), rgba(184, 95, 60, 0.08)),
    rgba(58, 101, 93, 0.06);
  cursor: grab;
  touch-action: none;
}

.image-crop-viewport:active {
  cursor: grabbing;
}

.image-crop-viewport img {
  position: absolute;
  inset: 0 auto auto 0;
  max-width: none;
  user-select: none;
  pointer-events: none;
}

.image-crop-frame {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.92), inset 0 0 0 999px rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.image-crop-zoom {
  display: grid;
  gap: 0.45rem;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.image-crop-zoom input {
  width: 100%;
}

.image-crop-actions {
  display: flex;
  justify-content: end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.therapist-gallery-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.8rem;
}

.therapist-gallery-preview img,
.therapist-profile-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(58, 101, 93, 0.1);
  background: rgba(58, 101, 93, 0.06);
}

.signature-section {
  padding-top: 0.5rem;
}

.signature-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 1.4rem;
  padding: 1.4rem;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 250, 244, 0.96), rgba(239, 226, 210, 0.76));
  border: 1px solid rgba(58, 101, 93, 0.09);
  box-shadow: var(--shadow);
}

.signature-copy {
  padding: 1rem;
}

.signature-copy blockquote {
  margin: 1.25rem 0 0;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 18px 18px 0;
  background: rgba(255, 255, 255, 0.6);
  color: var(--primary);
  font-family: var(--heading-font);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.signature-facts {
  display: grid;
  gap: 1rem;
}

.signature-fact {
  padding: 1.2rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(107, 141, 133, 0.96), rgba(58, 101, 93, 0.92));
  color: white;
  box-shadow: 0 18px 40px rgba(58, 101, 93, 0.14);
}

.signature-fact strong {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signature-fact span {
  display: block;
  font-family: var(--heading-font);
  font-size: 1.28rem;
  line-height: 1.3;
}

.page-hero-copy {
  position: relative;
  z-index: 1;
}

.page-hero::before {
  top: 30px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(184, 106, 60, 0.16), transparent 70%);
}

@media (max-width: 960px) {
  .header-topbar {
    min-height: auto;
    padding-top: 0.55rem;
    padding-bottom: 0.4rem;
    flex-wrap: wrap;
  }

  .header-locale-row {
    width: 100%;
    justify-content: flex-end;
  }

  .brand {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
  }

  .brand-logo {
    width: 64px;
    order: 0;
  }

  .brand-copy {
    flex: 1 1 160px;
    padding-right: 0;
    border-right: 0;
    align-items: flex-start;
    text-align: left;
  }

  .brand-side {
    flex: 1 1 100%;
    padding-left: 0;
    border-left: 0;
    margin-left: calc(64px + 0.7rem);
    gap: 0.12rem;
  }

  .brand-secondary {
    max-width: none;
  }

  .hero-grid,
  .page-hero-grid,
  .two-column,
  .lead-panel,
  .signature-panel,
  .therapist-application-grid,
  .therapist-account-dashboard,
  .therapist-account-grid,
  .therapist-profile-layout,
  .therapist-context-contact-grid,
  .footer-grid,
  .footer-bottom,
  .card-grid,
  .link-grid,
  .mini-grid,
  .audience-grid,
  .curriculum-grid,
  .proof-grid,
  .therapist-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    inset: calc(100% + 1px) 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 250, 244, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.86);
  }

  .therapist-directory-filters {
    grid-template-columns: 1fr;
  }

  .therapist-profile-hero {
    grid-template-columns: 1fr;
  }

  .therapist-profile-media {
    max-width: 360px;
  }

  .therapist-profile-contact-panel {
    position: static;
  }

  .therapist-context-card-head {
    grid-template-columns: 1fr;
  }

  .therapist-login-card .lead-form {
    grid-template-columns: 1fr;
  }

  .therapist-card {
    grid-template-columns: 1fr;
  }

  .therapist-card-media {
    max-width: 240px;
  }

  .therapist-language-grid,
  .therapist-account-summary-grid,
  .therapist-gallery-preview,
  .therapist-profile-gallery {
    grid-template-columns: 1fr;
  }

  .site-nav.is-open {
    display: flex;
  }

  .language-switcher {
    margin-left: 0;
  }

  .header-inner {
    min-height: 58px;
  }

  .nav-toggle {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    border-radius: 999px;
    border: 1px solid rgba(58, 101, 93, 0.15);
    background: white;
  }

  .header-cta {
    display: none;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    width: 72px;
  }

  .hero-portrait-card,
  .hero-facts-card {
    max-width: none;
    margin-left: 0;
  }

  .content-page .rich-content {
    padding: 1.35rem;
  }

  .page-tanuloink-mondjak .rich-content,
  .page-paciensek-a-seishin-terapiarol .rich-content,
  .page-videok .rich-content {
    padding: 1.4rem;
  }

  .page-tanuloink-mondjak .rich-content pre {
    padding: 1.15rem 1.05rem;
  }

  .locale-ro .hero-copy h1,
  .locale-en .hero-copy h1 {
    max-width: none;
    font-size: clamp(2rem, 7vw, 3.25rem);
  }

  .legacy-course-card,
  .legacy-course-testimonials,
  .legacy-course-footer {
    padding: 1.45rem 1.15rem;
  }
}

@media (max-width: 640px) {
  .therapist-profile-hero,
  .therapist-profile-panel {
    border-radius: 26px;
  }

  .therapist-profile-hero {
    padding: 1rem;
  }

  .therapist-profile-panel {
    padding: 1.15rem;
  }

  .therapist-profile-copy h1 {
    font-size: 1.95rem;
  }

  .therapist-profile-facts,
  .therapist-profile-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .therapist-profile-fact {
    border-radius: 20px;
  }
}
