/* Yoryos Therapyscape — clean rebuild. Tokens taken from the original builder theme. */
:root {
  --purple: #9f55ed;
  --ink: #0f0a14;
  --slate: #495867;      /* rgb(73,88,103)  headings / buttons */
  --slate-dark: #303f4e;
  --gray: #808a99;       /* rgb(128,138,153) body text on light */
  --light: #b8c0cc;      /* rgb(184,192,204) footer / panels */
  --pale: #f1f1f1;
  --white: #fff;
  --font-head: 'Prompt', 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Lato', 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1224px;
  --radius: 17px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--slate);
  font-family: var(--font-body); font-size: 17px; line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
main a { text-decoration: none; }
main p a:hover, main li a:hover { text-decoration: underline; }
main a.u, main .legal a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(159,85,237,.7); }
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover { color: var(--purple); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head); font-weight: 500; line-height: 1.25; margin: 0 0 .5em; color: var(--slate);
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(2rem, 4.8vw, 3.7rem); }
.light { font-weight: 300; }
.font-open { font-family: 'Open Sans', var(--font-head); letter-spacing: -.01em; }
.textbar { display: table; padding: .3rem 1.5rem; border-radius: 2px; }
.textbar.center { margin-left: auto; margin-right: auto; min-width: min(100%, 760px); }
.textbar > * { margin: 0; }
.title-group { display: table; margin-left: auto; margin-right: auto; }
.block:has(> .wrap > .title-group) { padding-top: 1.5rem; position: relative; }
.bg-image:has(> .wrap > .title-group)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); pointer-events: none; }
.block > .wrap > .title-group + * { margin-top: 3.5rem; }
.title-group > h1, .title-group > h2 { margin-bottom: .15rem; }
.title-group .textbar { display: table; width: auto; margin: 0; text-align: left; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
h4 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: .95rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gray); }
p { margin: 0 0 .9em; }
p:last-child { margin-bottom: 0; }
.body-large { font-size: 1.12rem; }
/* the builder's per-element size overrides */
.fs-14 { font-size: .9rem; line-height: 1.5; }
.fs-18 { font-size: 1.1rem; line-height: 1.3; }
.fs-24 { font-size: 1.4rem; line-height: 1.3; }
.fs-32 { font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.3; }
.fs-48 { font-size: clamp(2rem, 4vw, 3rem); }
h1.fs-18, h2.fs-18, h3.fs-18 { font-weight: 500; letter-spacing: .02em; margin-bottom: .2em; }
.body-small { font-size: .9rem; }
ul, ol { padding-left: 1.4em; margin: 0 0 1em; }
strong { font-weight: 700; }
.center { text-align: center; }
h1.center, h2.center, h3.center { margin-left: auto; margin-right: auto; }

/* the builder's "| Heading" purple bar */
.accent { position: relative; padding-left: .55em; }
.accent::before {
  content: ''; position: absolute; left: 0; top: .12em; bottom: .12em; width: 4px; background: var(--purple); border-radius: 2px;
}
.accent.center { padding-left: 0; display: table; }
.accent.center::before { position: static; display: inline-block; width: 4px; height: .9em; vertical-align: -.08em; margin-right: .45em; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--purple); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: .5rem; top: .5rem; }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; }
.logo img { width: 250px; height: auto; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 2.2rem; }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 2.2rem; }
.nav-links a, .lang { font-family: var(--font-head); font-size: 1rem; color: var(--ink); text-decoration: none; padding: .35rem 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--purple); border-bottom-color: var(--purple); }
.lang { color: var(--gray); font-size: .92rem; }
.lang:hover { color: var(--purple); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--light); border-radius: 8px; padding: .45rem .9rem; font: inherit; color: var(--slate); cursor: pointer; }
@media (max-width: 860px) {
  .logo img { width: 200px; }
  .menu-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1rem; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .site-nav.open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; padding: .7rem 0; border-bottom: 1px solid var(--pale); }
  .lang { padding: .8rem 0 0; }
}

/* ---------- sections */
.block { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.bg-slate { background: var(--light); }
.bg-gray { background: #ddd; }
.bg-pale { background: var(--pale); }
.bg-image { background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: flex-start; }
.bg-image > .wrap { width: min(var(--wrap), 100% - 2.5rem); }
.bg-image:not(:has(> .wrap > .title-group)) { justify-content: center; }
.dark, .dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6 { color: var(--white); }
.dark { text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.on-dark, .on-dark a { color: #fff; }
.dark.bg-image { position: relative; }
.dark.bg-image::before { content: ''; position: absolute; inset: 0; background: rgba(20,24,32,var(--overlay, .45)); pointer-events: none; }
.dark.bg-image > .wrap { position: relative; }
.bg-image:not(.dark) { color: var(--slate); }
.block > .wrap > * + * { margin-top: 1.6rem; }

.cols { display: flex; gap: 2.5rem; align-items: flex-start; justify-content: space-between; }
.cols-media { align-items: center; }
.cols > .col { flex: 0 1 var(--share, 50%); min-width: min(100%, 240px); }
.cols > .col-fig { flex-grow: 1; max-width: 60%; }
.cols > .col > * + * { margin-top: 1.2rem; }
.col-fig figure { margin: 0; }
.col-fig img { margin: 0 auto; }

.media { display: flex; gap: 2.5rem; align-items: center; }
.media-right { flex-direction: row-reverse; }
.media-fig { flex: 0 0 46%; }
.media-fig figure { margin: 0; }
.media-fig figure + figure { margin-top: 1rem; }
.media-fig img { width: 100%; border-radius: var(--radius); }
.item-link { text-decoration: none; color: inherit; }
.landing .media-copy:hover .item-link { color: var(--purple); }
.landing .media-copy .accent .item-link:hover { color: var(--purple); }
.media-copy { flex: 1 1 auto; min-width: 0; }
.media-copy > * + * { margin-top: 1rem; }
.media-copy .btn { margin-top: .4rem; }

figure { margin: 0; }
figure.center img { margin: 0 auto; }
figure.full img { width: 100%; border-radius: var(--radius); }
.grid { display: grid; gap: 1.25rem; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid .card { min-height: 220px; margin: 0; }
.grid figure img { width: 100%; border-radius: 12px; }

.card { border-radius: var(--radius); background: var(--pale) center/cover no-repeat; padding: 2rem 1.75rem; min-height: 200px; }
.grid .card { padding: 5rem 1.4rem 1.4rem; }
.grid .card-help { padding: 1.3rem 1rem 1.4rem 41%; min-height: 300px; background-size: cover; border-radius: 0; border-top: 4px solid var(--slate-dark); background-color: #fff; }
.card-help .card-body > :first-child { font-family: var(--font-head); font-size: 1.25rem; line-height: 1.3; color: var(--gray); margin-bottom: .9rem; }
.card-help .card-body > :not(:first-child) { font-family: var(--font-body); font-size: .92rem; line-height: 1.45; font-weight: 400; }
.grid .card[class*="card-tex"] { padding: 2.4rem 1.6rem; display: flex; flex-direction: column; justify-content: flex-start; }
.grid .card[class*="card-tex"] p:first-child { font-size: 1.1rem; }
.card-tex1 { background: #dddddd; } .card-tex2 { background: #b7c0cc; } .card-tex3 { background: #dbd2e3; }
.media + .media { margin-top: 2.5rem; }
.card h1, .card h2, .card h3, .card h4 { font-size: 1.3rem; margin-bottom: .6rem; }
.card p { font-size: .95rem; }
.card + .card { margin-top: 1.25rem; }
.grid .card + .card { margin-top: 0; }
.card h6 { color: inherit; }
.card-body > * + * { margin-top: .5rem; }

@media (max-width: 860px) {
  .cols, .media, .media-right { flex-direction: column; align-items: stretch; }
  .media-fig, .cols > .col { flex-basis: auto; width: auto; max-width: none; }
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .bg-image:not(.dark) > .wrap { background: rgba(255,255,255,.78); padding: 1.25rem 1rem; border-radius: 12px; }
}
@media (max-width: 560px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* ---------- buttons */
.btn {
  display: inline-block; font-family: var(--font-body); font-size: 1rem; line-height: 1.2;
  padding: .85rem 2rem; border-radius: 10px; background: var(--slate); color: #fff; text-decoration: none;
  border: 0; cursor: pointer; transition: background .2s, transform .2s; text-shadow: none; text-align: center;
}
.btn:hover { background: var(--slate-dark); transform: translateY(-1px); }
.btn-secondary { background: var(--light); color: var(--slate); }
.btn-secondary:hover { background: #a6afbd; }
.btn-book { background: var(--purple); }
.btn-book:hover { background: #8a3fd9; }
.btn-pay { background: #fff; color: var(--purple); box-shadow: inset 0 0 0 2px var(--purple); }
.btn-pay:hover { background: #f4ecff; }
.btn-book + .btn-pay { margin-left: .5rem; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; vertical-align: top; align-self: stretch; }
.pay-page { max-width: 820px; }
.pay-list { list-style: none; padding: 0; margin: 2rem 0; }
.pay-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--pale); }
.pay-list .pay-name { font-family: var(--font-head); font-size: 1.15rem; flex: 1 1 380px; }
.pay-list .pay-name small { display: block; font-family: var(--font-body); font-size: .85rem; color: var(--gray); margin-top: .3rem; line-height: 1.5; }
.btn small { display: block; font-size: .8rem; opacity: .85; margin-top: .2rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: .75rem; align-items: stretch; }
.btn-group .btn { flex: 0 1 auto; min-width: 180px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; }
.card .btn-group .btn { flex: 1 1 160px; }
.dark .btn-secondary { background: rgba(255,255,255,.85); }

/* landing page: the original's translucent slate buttons with a white edge */
.landing .btn-book, .landing .btn-euro {
  background: rgba(184,192,204,.82); color: #fff; border: 2px solid rgba(255,255,255,.9); border-radius: 18px;
  font-size: 1.15rem; padding: .7rem 1.6rem; text-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.landing .btn-euro { padding: .45rem 1.6rem; font-size: 1.1rem; background: rgba(184,192,204,.95); }
.btn-stack { display: inline-flex; flex-direction: column; align-items: flex-end; margin-right: 1.4rem; }
.btn-stack .btn-euro { margin: -.6rem -1.4rem 0 0; }
.landing .btn-book:hover, .landing .btn-euro:hover { background: rgba(159,85,237,.85); }

/* ---------- contact */
.contact-line { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 700; }
.contact-line img { width: 40px; height: 40px; border-radius: 8px; }
.contact-line + .contact-line, .contact-line + p, p + .contact-line { margin-top: .8rem; }
.contact-form { background: #fff; border: 3px solid var(--pale); border-radius: var(--radius); padding: 1.5rem; max-width: 460px; }
.contact-form label { display: block; font-size: .95rem; color: var(--gray); margin-bottom: 1rem; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form textarea {
  display: block; width: 100%; margin-top: .3rem; padding: .7rem .8rem; border: 0; border-radius: 6px;
  background: var(--light); color: #000; font: inherit; font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--purple); background: #fff; }
.contact-form .req { color: var(--purple); }
.contact-form fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.contact-form legend { font-size: .95rem; color: var(--gray); margin-bottom: .4rem; padding: 0; }
.contact-form fieldset label { display: flex; align-items: center; gap: .5rem; margin: 0 0 .3rem; color: var(--slate); }
.contact-form .btn { display: block; width: 100%; }
.form-note { font-size: .8rem; color: var(--gray); margin-top: .8rem; }
.booking-line { background: #ebe4ff; border-radius: 8px; padding: .6rem .8rem; font-size: .95rem; color: var(--slate); margin-bottom: 1rem; }
.booking-line[hidden] { display: none; }

/* ---------- back to top: a small stone in the page palette, appears after scrolling */
.to-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 40; width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center; color: #fff; background: var(--slate);
  border-radius: 58% 42% 47% 53% / 52% 46% 54% 48%; box-shadow: 0 6px 18px rgba(20,24,32,.25);
  opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .25s, transform .25s, background .2s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-stone {
  position: fixed; right: 1.4rem; bottom: calc(1.4rem + 54px + .8rem); z-index: 40; width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center; color: #fff; background: #25d366;
  border-radius: 46% 54% 52% 48% / 55% 47% 53% 45%; box-shadow: 0 6px 18px rgba(20,24,32,.25);
  opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .25s, transform .25s, background .2s;
}
.wa-stone.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-stone:hover { background: #1ebe5b; }
@media (max-width: 560px) { .wa-stone { right: 1rem; bottom: calc(1rem + 48px + .7rem); width: 48px; height: 48px; } }
.to-top:hover { background: var(--purple); }
@media (max-width: 560px) { .to-top { right: 1rem; bottom: 1rem; width: 48px; height: 48px; } }

/* ---------- page nav / footer */
.pagenav { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; margin-top: 2rem; }
.pagenav a { text-decoration: none; color: inherit; opacity: .8; }
.pagenav a:hover { opacity: 1; text-decoration: underline; }
.site-footer { background: var(--light); padding: 2rem 0; margin-top: 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: .85rem; }
.footer-links a { color: var(--slate); }
.footer-logo { margin-left: auto; }
.footer-logo img { width: 240px; }

/* ---------- scroll reveal (data-reveal on sections; .in-view added by therapy.js) */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] > .wrap > *, [data-reveal] .media > * { transition: opacity .7s ease, transform .7s ease; }
  [data-reveal]:not(.in-view) > .wrap > * { opacity: 0; }
  [data-reveal="fade"]:not(.in-view) > .wrap > * { opacity: 0; }
  [data-reveal="rise"]:not(.in-view) > .wrap > * { transform: translateY(28px); }
  [data-reveal="zoom"]:not(.in-view) > .wrap > * { transform: scale(.94); }
  [data-reveal="slide"]:not(.in-view) > .wrap > * { transform: translateY(20px); }
  [data-reveal="slide"]:not(.in-view) .media-left > .media-fig, [data-reveal="slide"]:not(.in-view) .media-right > .media-copy { transform: translateX(-48px); opacity: 0; }
  [data-reveal="slide"]:not(.in-view) .media-left > .media-copy, [data-reveal="slide"]:not(.in-view) .media-right > .media-fig { transform: translateX(48px); opacity: 0; }
  [data-reveal] > .wrap > :nth-child(2) { transition-delay: .1s; }
  [data-reveal] > .wrap > :nth-child(3) { transition-delay: .2s; }
  [data-reveal] > .wrap > :nth-child(n+4) { transition-delay: .3s; }
  [data-reveal] .media > .media-copy { transition-delay: .15s; }
}

/* ---------- print */
@media print { .site-header, .site-footer, .pagenav, .menu-toggle { display: none; } }
