/* Psy Trance Coach — port of v0.dev light violet design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap&subset=cyrillic');

:root {
  color-scheme: light;
  --background: #fbfafd;
  --foreground: #1a1825;
  --card: #ffffff;
  --muted: #f3f1f7;
  --muted-foreground: #6b6578;
  --accent: #ebe4f7;
  --border: #e4dfec;
  --violet-brand: #7c3aed;
  --violet-brand-hover: #6d28d9;
  --violet-light: #ede9fe;
  --violet-muted: #f5f3ff;
  --destructive: #dc2626;
  --ring: #7c3aed;
  --radius: 0.75rem;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --max: 72rem;
  --header-h: 4rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, .font-serif { font-family: var(--font-serif); }
button, input, textarea { font: inherit; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.site-main { flex: 1; }
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-left: 2rem; padding-right: 2rem; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: opacity .15s, box-shadow .15s, background .15s, color .15s, border-color .15s;
  white-space: nowrap;
  min-height: 44px;
}
.btn-primary {
  background: var(--violet-brand);
  color: #fff !important;
  border-color: var(--violet-brand);
}
.btn-primary:hover { opacity: .92; box-shadow: 0 10px 24px rgba(124, 58, 237, .25); }
.btn-outline {
  background: transparent;
  color: var(--violet-brand) !important;
  border-color: var(--violet-brand);
}
.btn-outline:hover { background: var(--accent); }
.btn-ghost {
  background: transparent;
  color: var(--muted-foreground) !important;
  border-color: var(--border);
}
.btn-ghost:hover { color: var(--foreground) !important; border-color: rgba(124,58,237,.4); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 253, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}
@media (min-width: 768px) {
  :root { --header-h: 5rem; }
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
  color: var(--foreground);
  flex-shrink: 0;
}
.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
}
.brand-text {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  display: none;
}
.brand-text small {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--violet-brand);
}
@media (min-width: 640px) { .brand-text { display: block; } }

.nav-desktop { display: none; }
.nav-desktop ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 1.5rem;
}
.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none !important;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.nav-desktop a:hover,
.nav-desktop .current-menu-item > a,
.nav-desktop .current_page_item > a,
.nav-desktop a[aria-current="page"] {
  color: var(--violet-brand);
  border-bottom-color: var(--violet-brand);
}
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-cta { display: none; }
@media (min-width: 768px) { .header-cta { display: inline-flex; } }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0.75rem;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
}
.menu-toggle:hover { background: var(--accent); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--background);
  padding: 1rem;
}
.nav-mobile.is-open { display: block; }
.nav-mobile a {
  display: block;
  padding: 0.85rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none !important;
}
.nav-mobile a:hover,
.nav-mobile a.current-menu-item,
.nav-mobile .current-menu-item > a { background: var(--accent); color: var(--violet-brand); }
.nav-mobile .btn { width: 100%; margin-top: 0.75rem; }
.nav-mobile ul { list-style: none; margin: 0; padding: 0; }

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: rgba(243, 241, 247, 0.4);
  padding: 2rem 0 1.15rem;
}
.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }
.footer-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted-foreground);
  margin: 0 0 0.5rem;
}
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.footer-nav a { font-size: 0.875rem; color: var(--muted-foreground); text-decoration: none !important; }
.footer-nav a:hover { color: var(--violet-brand); }
.footer-muted { font-size: 0.75rem; color: var(--muted-foreground); line-height: 1.55; margin: 0; }
.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; text-align: left; }
}

/* Sections & cards */
.section { padding: 2.25rem 0; }
@media (min-width: 768px) { .section { padding: 2.75rem 0; } }
.section-muted { background: rgba(243, 241, 247, 0.3); }
.section-accent { background: rgba(235, 228, 247, 0.4); }
.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--violet-brand);
  margin: 0 0 0.35rem;
}
.page-title {
  font-size: clamp(1.65rem, 3.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.55rem;
  text-wrap: balance;
}
.lead { color: var(--muted-foreground); max-width: 40rem; margin: 0; line-height: 1.6; }
.section-title {
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  text-wrap: balance;
}
.section-desc { color: var(--muted-foreground); margin: 0 0 1.25rem; max-width: 36rem; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1rem 1.1rem;
  transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: rgba(124, 58, 237, .35); box-shadow: 0 4px 16px rgba(26, 24, 37, .04); }
.card-link { display: flex; flex-direction: column; gap: 0.5rem; text-decoration: none !important; color: inherit; height: 100%; }
.card-link:hover h3 { color: var(--violet-brand); }
.card h3 { margin: 0; font-size: 1.05rem; }
.card p { margin: 0; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.5; flex: 1; }
.card-meta { font-size: 0.75rem; font-weight: 500; color: var(--violet-brand); display: inline-flex; align-items: center; gap: .35rem; }

.grid-2 { display: grid; gap: 0.85rem; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 0.9rem; grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: 0.65rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--violet-muted);
  color: var(--violet-brand);
  border: 1px solid rgba(124, 58, 237, .2);
}
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-size: 0.75rem; color: var(--muted-foreground); margin-bottom: 1rem;
}
.breadcrumbs a { color: var(--muted-foreground); text-decoration: none !important; }
.breadcrumbs a:hover { color: var(--violet-brand); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 1.75rem 0 1.5rem; }
@media (min-width: 768px) { .hero { padding: 2.5rem 0 1.75rem; } }
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(237, 233, 254, .55), var(--background) 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(12rem, 0.65fr);
    gap: 1.75rem;
    align-items: center;
  }
}
.hero h1,
.hero-title {
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  font-weight: 700;
  line-height: 1.28;
  margin: 0 0 0.85rem;
  text-wrap: pretty;
}
.hero-title br { display: none; }
@media (min-width: 640px) {
  .hero-title br { display: inline; }
}
.hero-lead {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}
@media (min-width: 640px) { .hero-lead { font-size: 1rem; } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.65rem; }
/* Logo already in header — hide stacked hero logo on small/mid screens to remove the blank gap */
.hero-logo-wrap {
  display: none;
}
@media (min-width: 1024px) {
  .hero-logo-wrap {
    display: flex;
    justify-content: flex-end;
    align-self: center;
  }
}
.hero-logo {
  width: min(14rem, 100%);
  height: auto;
  max-height: 14rem;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(124, 58, 237, .16));
}

.trust-grid {
  margin-top: 1.35rem;
  display: grid;
  gap: .65rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  text-align: center;
  padding: 0.85rem 0.65rem;
  background: #fff;
  border: 1px solid rgba(124, 58, 237, .22);
  border-radius: 0.85rem;
  box-shadow: 0 1px 0 rgba(26, 24, 37, .03);
}
.trust-value {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--violet-brand);
}
.trust-label {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3;
  color: #3f3a4d;
}
.trust-link { margin-top: 0.75rem; text-align: center; }
.trust-link a { font-size: 0.875rem; font-weight: 500; }

/* Protocol */
.protocol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.protocol li { display: flex; gap: 1rem; align-items: flex-start; }
.protocol-n {
  flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(124, 58, 237, .1); border: 1px solid rgba(124, 58, 237, .3);
  color: var(--violet-brand); font-weight: 700; font-size: .875rem;
}
.protocol h3 { margin: 0; font-family: var(--font-sans); font-size: .875rem; font-weight: 600; }
.protocol p { margin: .25rem 0 0; font-size: .75rem; color: var(--muted-foreground); }

/* Approach detail */
.approach-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1rem; padding: .4rem .75rem; border-radius: 999px;
  background: rgba(124, 58, 237, .1); border: 1px solid rgba(124, 58, 237, .3);
  color: var(--violet-brand); font-size: .75rem; font-weight: 500;
}
.detail-block {
  padding: 1.1rem 1.15rem; border-radius: 0.9rem;
  background: var(--card); border: 1px solid var(--border);
  color: var(--muted-foreground); line-height: 1.55;
}
.detail-block.muted { background: rgba(243, 241, 247, .4); }
.request-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .5rem; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .request-list { grid-template-columns: 1fr 1fr; } }
.request-list li {
  display: flex; align-items: center; gap: .5rem;
  padding: .75rem; border-radius: .75rem;
  background: var(--card); border: 1px solid var(--border); font-size: .875rem;
}
.request-list li::before {
  content: ''; width: 6px; height: 6px; border-radius: 999px;
  background: var(--violet-brand); flex-shrink: 0;
}
.task-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.task-list li {
  display: flex; gap: .65rem; font-size: .875rem; color: var(--muted-foreground); line-height: 1.5;
}
.task-list li::before {
  content: '✓'; color: var(--violet-brand); font-weight: 700; flex-shrink: 0;
}
.cta-box {
  margin-top: 0.75rem; padding: 1.35rem 1.25rem; border-radius: 1rem; text-align: center;
  background: rgba(124, 58, 237, .05); border: 1px solid rgba(124, 58, 237, .2);
}
.cta-box h2 { margin: 0 0 .5rem; font-size: 1.2rem; }
.cta-box p { margin: 0 auto 1rem; max-width: 28rem; font-size: .875rem; color: var(--muted-foreground); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* Prices */
.price-value { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--violet-brand); }
.price-card.highlight {
  background: rgba(124, 58, 237, .05);
  border-color: rgba(124, 58, 237, .4);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, .15);
}
.price-popular {
  font-size: .65rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; color: var(--violet-brand);
}

/* Forms */
.form-card { max-width: 32rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-field label { font-size: .875rem; font-weight: 500; }
.form-field .req { color: var(--destructive); }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border-radius: .75rem;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  min-height: 44px;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--ring);
}
.form-field textarea { resize: vertical; min-height: 7rem; }
.form-note { font-size: .75rem; color: var(--muted-foreground); text-align: center; margin: .75rem 0 0; }
.wpcf7-form input,
.wpcf7-form textarea,
.wpforms-form input,
.wpforms-form textarea {
  width: 100%;
  padding: .85rem 1rem;
  border-radius: .75rem;
  border: 1px solid var(--border);
}

/* Guarantee */
.guarantee { text-align: center; max-width: 40rem; margin: 0 auto; }
.guarantee-icon {
  width: 3rem; height: 3rem; border-radius: 999px;
  background: rgba(124, 58, 237, .1); color: var(--violet-brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 1rem;
}

/* About layout */
.about-layout {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 1024px) {
  .about-layout { grid-template-columns: 15rem 1fr; gap: 2rem; }
}

/* Content page shell */
.page-shell { padding: 2rem 0 2.75rem; }
@media (min-width: 768px) { .page-shell { padding: 2.5rem 0 3.25rem; } }
.page-shell.narrow .container { max-width: 56rem; }
.page-shell.medium .container { max-width: 64rem; }
.content-stack { display: flex; flex-direction: column; gap: 1.5rem; }
.stack-sm { display: flex; flex-direction: column; gap: 0.75rem; }
.about-bio {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.about-bio p { margin: 0; }
.about-bio .task-list { margin: 0.25rem 0; }

.zapis-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.9rem;
}
.zapis-cta-main {
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(124, 58, 237, .16);
}
.price-info-card {
  background: var(--muted);
  border-style: dashed;
  opacity: .95;
}
.contact-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* About photo / diplomas / reviews */
.about-photo {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, .18);
  background: var(--violet-muted);
}
.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}
.about-photo figcaption {
  padding: .75rem 1rem;
  text-align: center;
  font-size: .875rem;
  font-weight: 600;
  color: var(--foreground);
  background: #fff;
}

.diploma-thumb {
  aspect-ratio: 4/3;
  border-radius: .75rem;
  background: var(--violet-muted);
  border: 1px solid rgba(124, 58, 237, .2);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-foreground); font-size: .8rem; text-align: center; padding: 1rem;
}
.cert-grid { margin-top: 1.25rem; }
.cert-card {
  padding: .75rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.cert-thumb {
  display: block;
  border-radius: .65rem;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, .15);
  background: var(--muted);
}
.cert-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  transition: transform .25s ease;
}
.cert-thumb:hover img { transform: scale(1.03); }
.cert-card figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
}
.cert-title {
  margin: 0;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.35;
}
.cert-pdf {
  flex-shrink: 0;
  font-size: .75rem;
  font-weight: 600;
}
.emdr-certs { margin-top: .5rem; }
.emdr-cert-grid { margin-bottom: .5rem; }

.ptc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 10, 30, .82);
}
.ptc-lightbox.is-open { display: flex; }
.ptc-lightbox img {
  max-width: min(960px, 100%);
  max-height: min(88vh, 100%);
  border-radius: .75rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  background: #fff;
}
.ptc-lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  max-width: min(40rem, 92vw);
  margin: 0;
  padding: .45rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #1f1633;
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
}
.ptc-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #1f1633;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.review-card blockquote { margin: 0; font-size: .95rem; line-height: 1.6; }
.review-card .who { margin-top: .75rem; font-size: .75rem; color: var(--muted-foreground); }

/* WP extras */
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-block-image img { border-radius: .75rem; }
entry-content > *:first-child { margin-top: 0; }
