/* Body & Mind Therapy — Jagoda Szalaj */

/* Local webfonts: Latin Extended is kept for Polish diacritics. */
@font-face {
  font-family: "Gowun Batang";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/gowun-batang-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Gowun Batang";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/gowun-batang-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Gowun Batang";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/gowun-batang-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Gowun Batang";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/gowun-batang-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 200 500;
  font-display: swap;
  src: url("assets/fonts/outfit-200-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 200 500;
  font-display: swap;
  src: url("assets/fonts/outfit-200-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #FBF4F1;
  --canvas: #EDE2DE;
  --tint: #F3E7E2;
  --tint-2: #EBDAD3;
  --soft: #F0DFD8;
  --ink: #3A2A28;
  --muted: #6B5450;
  --body-ink: #4E3B38;
  --faint: #9A7F79;
  --accent: #A9705F;
  --accent-dark: #8A5F50;
  --serif: "Gowun Batang", Georgia, "Times New Roman", serif;
  --sans: "Outfit", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --pad: 64px;
  --content-width: 1240px;
  --page-pad: max(var(--pad), calc((100vw - var(--content-width)) / 2));
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
p { text-wrap: pretty; margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.012em; }

a { color: var(--accent); text-decoration: none; transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease; }
a:hover { color: var(--ink); }

.wrap { max-width: 1240px; margin: 0 auto; }
.pad { padding-left: var(--page-pad); padding-right: var(--page-pad); }
.label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--faint);
}
.label--accent { color: var(--accent); }
.rule { height: 1px; background: rgba(58, 42, 40, 0.09); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 22px var(--page-pad);
  background: rgba(251, 244, 241, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(58, 42, 40, 0.09);
}
.nav__brand { display: flex; align-items: baseline; gap: 12px; color: var(--ink); }
.nav__name { font-family: var(--serif); font-size: 21px; letter-spacing: 0.02em; white-space: nowrap; }
.nav__tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.nav__links { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.nav__links a { white-space: nowrap; }
.nav__links a { color: var(--muted); }
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); padding-bottom: 3px; border-bottom: 1px solid var(--accent); }
.nav__links .btn,
.nav__links .btn:hover { color: var(--paper); }
.lang { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; color: var(--faint); }
.lang b { font-weight: 400; color: var(--ink); }
.lang span { opacity: 0.4; }
.lang a { color: var(--faint); }

.btn {
  display: inline-block; border-radius: 999px; font-size: 15px;
  padding: 15px 30px; background: var(--accent); color: var(--paper); white-space: nowrap;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--sm { padding: 11px 21px; font-size: 13px; background: var(--ink); }
.btn--sm:hover { background: var(--accent); }
.nav__mobile-cta { display: none; min-height: 44px; align-items: center; justify-content: center; color: var(--paper); }
.nav__mobile-cta:hover { color: var(--paper); }
.nav__cta-short { display: none; }
.btn--ghost {
  background: none; color: var(--ink); border: 1px solid rgba(58, 42, 40, 0.2);
  padding: 11px 20px; font-size: 13px;
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.link-u { font-size: 15px; color: var(--muted); padding-bottom: 2px; border-bottom: 1px solid rgba(58, 42, 40, 0.25); }
.link-u:hover { color: var(--ink); border-color: var(--ink); }

.burger {
  display: none; width: 34px; height: 34px; border: 0; background: none;
  padding: 0; cursor: pointer; align-items: center; justify-content: center;
}
.burger i { display: block; width: 22px; height: 1px; background: var(--ink); position: relative; }
.burger i::before, .burger i::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 1px; background: var(--ink);
}
.burger i::before { top: -6px; }
.burger i::after { top: 6px; opacity: 0; }

.drawer {
  position: fixed; inset: 0; z-index: 40; background: var(--ink); color: var(--canvas);
  display: flex; flex-direction: column; padding: 22px 24px 40px;
  transform: translateY(-100%); transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.drawer[data-open="true"] { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; }
.drawer__top .nav__name { color: var(--canvas); }
.drawer__close {
  border: 0; background: none; color: rgba(237, 226, 222, 0.6);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; cursor: pointer;
}
.drawer__links { flex: 1; display: flex; flex-direction: column; gap: 26px; padding: 44px 0; }
.drawer__links a { font-family: var(--serif); font-size: 32px; color: var(--canvas); }
.drawer__links a:hover { color: #D8B4A6; }
.drawer__foot { display: flex; flex-direction: column; gap: 18px; }
.drawer__foot .lang b { color: var(--canvas); }
.drawer__foot .lang, .drawer__foot .lang a { color: rgba(237, 226, 222, 0.45); }
.drawer__phone { font-size: 20px; font-weight: 200; color: var(--canvas); }
.drawer__phone:hover { color: #D8B4A6; }

/* ---------- image slots ---------- */
.slot {
  margin: 0; border-radius: 4px; display: flex; align-items: flex-end; padding: 18px;
  background: repeating-linear-gradient(135deg, #EFE0DA 0 9px, #F7ECE8 9px 18px);
}
.slot--onsoft { background: repeating-linear-gradient(135deg, #E6D2CB 0 9px, #EFE0DA 9px 18px); }
.slot span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--accent); }
.slot--onsoft span { color: var(--accent-dark); }
.slot--image { padding: 0; overflow: hidden; background: var(--tint-2); }
.slot--image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.88) contrast(0.98);
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.35s ease;
}
.hero__media:hover .slot--image img,
.card:hover .slot--image img,
.phead:hover .slot--image img { transform: scale(1.025); filter: saturate(0.98) contrast(1); }
.slot--45 { aspect-ratio: 4 / 5; }
.slot--34 { aspect-ratio: 3 / 4; }
.slot--43 { aspect-ratio: 4 / 3; }
.slot--1 { aspect-ratio: 1 / 1; }
.slot--round { border-radius: 999px; align-items: center; justify-content: center; padding: 0; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 76px;
  padding: 92px var(--page-pad) 80px; align-items: center;
}
.hero__text { display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.06; letter-spacing: -0.018em; }
.hero p { max-width: 44ch; font-size: 18px; line-height: 1.72; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 6px; }
.hero__media { position: relative; }
.hero__blob {
  position: absolute; inset: -26px -26px auto auto; width: 210px; height: 210px;
  border-radius: 999px; background: var(--soft);
}
.hero__media .slot { position: relative; }

/* ---------- generic sections ---------- */
.split {
  display: grid; grid-template-columns: 0.6fr 1fr; gap: 76px;
  padding: 78px var(--page-pad);
}
.split--tight { grid-template-columns: 0.42fr 1fr; }
.split__aside { display: flex; flex-direction: column; gap: 28px; }
.split__aside h2 { font-size: 31px; line-height: 1.22; }
.prose { display: flex; flex-direction: column; gap: 22px; font-size: 18px; line-height: 1.76; color: var(--body-ink); max-width: 62ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 14px; padding: 8px 16px; border-radius: 999px; background: var(--tint); color: var(--ink); }
a.chip:hover { background: var(--ink); color: var(--paper); }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 8px var(--page-pad) 88px; }
.card {
  display: flex; flex-direction: column; gap: 22px; padding: 34px;
  border-radius: 6px; background: var(--tint); color: var(--ink);
}
.card:hover { background: var(--tint-2); }
.card .slot { height: 140px; padding: 12px; }
.card .slot span { font-size: 10px; }
.card__body { display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 25px; }
.card p { font-size: 15px; line-height: 1.65; color: var(--muted); }
.card__meta {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-top: 6px;
}

.band { background: var(--soft); padding: 84px var(--page-pad); display: flex; flex-direction: column; gap: 44px; }
.band__head { display: flex; flex-direction: column; gap: 14px; max-width: 56ch; }
.band__head h2 { font-size: 38px; line-height: 1.16; }
.band__head p { font-size: 17px; line-height: 1.7; color: var(--muted); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tile { background: var(--paper); border-radius: 6px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.tile__dot { width: 34px; height: 34px; border-radius: 999px; background: var(--accent); }
.tile h3 { font-size: 25px; line-height: 1.25; }
.tile__lines { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.6; color: #5A4642; }

.price { display: flex; flex-direction: column; }
.price__row {
  display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: baseline;
  padding: 30px 0; border-top: 1px solid rgba(58, 42, 40, 0.14);
}
.price__row:last-of-type { border-bottom: 1px solid rgba(58, 42, 40, 0.14); }
.price__sum { font-family: var(--serif); font-size: 44px; line-height: 1; }
.price__what { display: flex; flex-direction: column; gap: 4px; font-size: 16px; color: #5A4642; }
.price__what b { font-weight: 300; font-size: 18px; color: var(--ink); }
.price .btn { align-self: flex-start; margin-top: 32px; }

.refs { display: flex; flex-direction: column; gap: 26px; }
.refs__group { display: flex; flex-direction: column; gap: 12px; }
.refs__group > span { font-size: 15px; color: var(--muted); }
.refs__list { display: flex; flex-direction: column; gap: 8px; font-size: 17px; align-items: flex-start; }
.refs__list a { color: var(--ink); border-bottom: 1px solid rgba(58, 42, 40, 0.18); padding-bottom: 2px; }
.refs__list a:hover { color: var(--accent); border-color: var(--accent); }

.symptoms { columns: 2; column-gap: 48px; list-style: none; margin: 0; padding: 0; }
.symptoms li {
  font-size: 17px; line-height: 1.55; color: var(--body-ink);
  padding: 9px 0 9px 22px; position: relative; break-inside: avoid;
}
.symptoms li::before {
  content: ""; position: absolute; left: 0; top: 18px;
  width: 7px; height: 7px; border-radius: 999px; background: var(--accent); opacity: 0.55;
}

/* ---------- closing / footer ---------- */
.closer {
  background: var(--ink); color: var(--canvas); padding: 72px var(--page-pad);
  display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end;
}
.closer h2 { font-size: 38px; line-height: 1.2; max-width: 22ch; }
.closer__left { display: flex; flex-direction: column; gap: 18px; }
.closer__phone { font-size: 22px; font-weight: 200; color: var(--canvas); letter-spacing: 0.02em; }
.closer__phone:hover { color: #D8B4A6; }
.closer__right { display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.closer__socials { display: flex; flex-wrap: wrap; gap: 10px; }
.closer__socials a {
  font-size: 13px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(237, 226, 222, 0.35); color: var(--canvas);
}
.closer__socials a:hover { background: var(--canvas); color: var(--ink); }
.closer__places { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: rgba(237, 226, 222, 0.5); }

.foot {
  background: var(--ink); color: var(--canvas); padding: 34px var(--page-pad) 46px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-top: 1px solid rgba(237, 226, 222, 0.14); font-size: 14px;
}
.foot a { color: rgba(237, 226, 222, 0.7); }
.foot a:hover { color: var(--canvas); }
.foot__meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: rgba(237, 226, 222, 0.45); }
.foot__right { display: flex; align-items: center; gap: 26px; }

/* ---------- page header (inner pages) ---------- */
.phead {
  display: grid; grid-template-columns: 1fr 0.72fr; gap: 72px;
  padding: 84px var(--page-pad) 72px; align-items: end;
}
.phead__text { display: flex; flex-direction: column; gap: 26px; }
.phead h1 { font-size: clamp(40px, 5.2vw, 66px); line-height: 1.06; letter-spacing: -0.018em; }
.phead p { max-width: 46ch; font-size: 20px; line-height: 1.66; color: var(--muted); }

.stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 10px; padding-top: 26px; border-top: 1px solid rgba(58, 42, 40, 0.12); }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat b { font-family: var(--serif); font-weight: 400; font-size: 34px; }
.stat span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.no-js .reveal, .reveal-off .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  :root { --pad: 44px; }
  .hero, .phead { gap: 48px; }
  .split { gap: 48px; }
  .trio { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1150px) {
  .nav__links { display: none; }
  .nav__mobile-cta { display: inline-flex; margin-left: auto; }
  .burger { display: flex; }
}

@media (max-width: 860px) {
  :root { --pad: 24px; }
  .nav { gap: 14px; }
  .hero, .phead, .split, .split--tight { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; padding-bottom: 48px; gap: 32px; }
  .hero__blob { display: none; }
  .hero__media { order: -1; }
  .hero .slot--45 { aspect-ratio: 4 / 3; }
  .phead { padding-top: 40px; padding-bottom: 44px; gap: 28px; }
  .phead .slot--34 { aspect-ratio: 4 / 3; }
  .phead p { font-size: 18px; }
  .split { padding-top: 48px; padding-bottom: 48px; gap: 28px; }
  .prose { font-size: 17px; }
  .cards { grid-template-columns: 1fr; padding-bottom: 56px; }
  .band { padding-top: 52px; padding-bottom: 56px; gap: 28px; }
  .band__head h2 { font-size: 30px; }
  .trio { grid-template-columns: 1fr; }
  .tile { padding: 28px; }
  .symptoms { columns: 1; }
  .price__row { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .price__sum { font-size: 34px; }
  .price .btn { align-self: stretch; text-align: center; }
  .closer { grid-template-columns: 1fr; gap: 34px; padding-top: 56px; padding-bottom: 56px; }
  .closer h2 { font-size: 30px; }
  .closer__right { align-items: flex-start; }
  .foot { flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot > .nav__name {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.3;
  }
  .foot__right { flex-wrap: wrap; gap: 16px; }
  .stats { gap: 26px; }
}

@media (max-width: 480px) {
  .nav { padding-left: 16px; padding-right: 16px; gap: 10px; }
  .nav__tag { display: none; }
  .nav__mobile-cta { padding: 10px 16px; }
  .nav__cta-long { display: none; }
  .nav__cta-short { display: inline; }
}
