:root {
  --bg: #f5f0e8;
  --bg-soft: #efe4d6;
  --surface: #fcfaf6;
  --surface-strong: #f6f1ea;
  --sage: #7b8c7e;
  --sage-soft: #a6b1a4;
  --sage-deep: #506356;
  --taupe: #b29d8a;
  --taupe-deep: #8f7d6d;
  --stone: #d9d2c8;
  --text: #2c322d;
  --muted: #62685f;
  --line: rgba(44, 50, 45, 0.1);
  --line-strong: rgba(44, 50, 45, 0.16);
  --shadow-soft: 0 22px 48px rgba(87, 74, 58, 0.07);
  --shadow-card: 0 28px 80px rgba(87, 74, 58, 0.09);
  --shadow-premium: 0 36px 96px rgba(87, 74, 58, 0.12);
  --radius-sm: 18px;
  --radius-md: 28px;
  --radius-lg: 38px;
  --header-height: 88px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(123, 140, 126, 0.14), transparent 22%),
    radial-gradient(circle at 85% 22%, rgba(255, 255, 255, 0.52), transparent 18%),
    radial-gradient(circle at bottom right, rgba(178, 157, 138, 0.1), transparent 24%),
    linear-gradient(180deg, #faf7f1 0%, var(--bg) 100%);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(80, 99, 86, 0.24);
  outline-offset: 3px;
}

h1,
h2,
h3,
.brand-mark {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.95rem, 5.6vw, 3.7rem);
  line-height: 0.95;
}

h2 {
  font-size: clamp(2.08rem, 3.9vw, 3.18rem);
  line-height: 1.04;
}

h3 {
  font-size: 1.58rem;
  line-height: 1.1;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-inline: 24px;
}

.container.container-narrow {
  max-width: 848px;
}

.section-space {
  padding: 6.2rem 0;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.section-tint {
  position: relative;
}

.section-tint::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(252, 250, 246, 0.55), rgba(239, 228, 214, 0.35));
  pointer-events: none;
}

.section-tint > .container {
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(250, 247, 241, 0.86);
  border-bottom: 1px solid rgba(44, 50, 45, 0.06);
}

.main-nav {
  position: relative;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.main-nav.navbar {
  padding-block: 0;
}

.brand-mark {
  font-size: 2rem;
  white-space: nowrap;
}

.navbar-brand.brand-mark {
  padding-block: 0;
  margin-right: 0;
}

.navbar-toggler.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(44, 50, 45, 0.12);
  border-radius: 50%;
  background: rgba(252, 250, 246, 0.9);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 0 auto;
  background: currentColor;
}

.nav-toggle span + span {
  margin-top: 5px;
}

.navbar-toggler.nav-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(80, 99, 86, 0.12);
}

.nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.navbar-nav {
  gap: 0.35rem;
}

.nav-item {
  display: flex;
}

.nav-link {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  transition: color 0.25s ease, background-color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(123, 140, 126, 0.12);
}

.hero-section {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
}

.hero-grid,
.two-column-grid,
.offer-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy,
.content-column,
.offer-content,
.contact-copy {
  display: grid;
  gap: 1.4rem;
}

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

.section-kicker {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

.hero-lead {
  max-width: 38rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease, border-color 0.28s ease, color 0.28s ease;
}

.hero-actions .btn:hover {
  transform: translateY(-2px);
}

.hero-actions .btn.btn-primary {
  color: #fff;
  background: var(--sage-deep);
  box-shadow: 0 16px 30px rgba(80, 99, 86, 0.16);
}

.hero-actions .btn.btn-primary:hover {
  background: #45574a;
}

.hero-actions .btn.btn-secondary {
  border-color: rgba(80, 99, 86, 0.22);
  background: rgba(252, 250, 246, 0.82);
  color: var(--sage-deep);
}

.hero-actions .btn.btn-secondary:hover {
  background: rgba(123, 140, 126, 0.1);
  border-color: transparent;
}

.support-card,
.process-card,
.workshop-card,
.offer-note,
.faq-item,
.testimonial-card,
.contact-copy,
.photo-card,
.hero-visual-frame {
  background: rgba(252, 250, 246, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.offer-note strong,
.contact-details strong {
  color: var(--text);
}

.hero-visual-frame {
  position: relative;
  padding: 1.35rem;
  border-radius: 42px;
  box-shadow: var(--shadow-premium);
  min-height: 36rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(252, 250, 246, 0.98), rgba(246, 241, 234, 0.9)),
    rgba(252, 250, 246, 0.86);
}

.hero-visual-frame::before,
.hero-visual-frame::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(16px);
  opacity: 0.6;
}

.hero-visual-frame::before {
  width: 13rem;
  height: 13rem;
  top: 1rem;
  right: -0.5rem;
  background: rgba(123, 140, 126, 0.16);
}

.hero-visual-frame::after {
  width: 12rem;
  height: 12rem;
  left: -0.25rem;
  bottom: 0.8rem;
  background: rgba(178, 157, 138, 0.16);
}

.blob-photo {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  aspect-ratio: 0.88;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2.3rem;
  color: var(--sage-deep);
  border: 1px solid rgba(80, 99, 86, 0.1);
  background:
    radial-gradient(circle at 26% 24%, rgba(255, 255, 255, 0.74), transparent 20%),
    radial-gradient(circle at 76% 28%, rgba(255, 255, 255, 0.28), transparent 24%),
    linear-gradient(155deg, rgba(123, 140, 126, 0.22), rgba(239, 228, 214, 0.97) 58%, rgba(250, 247, 241, 0.98));
  border-radius: 35% 65% 58% 42% / 42% 36% 64% 58%;
  transform: rotate(-4deg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 28px 70px rgba(80, 99, 86, 0.12);
  isolation: isolate;
}

.blob-photo::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 40% 60% 54% 46% / 46% 38% 62% 54%;
  border: 1px solid rgba(80, 99, 86, 0.08);
}

.blob-photo::after {
  content: "";
  position: absolute;
  inset: -16px auto auto -12px;
  width: 72%;
  height: 72%;
  border-radius: 48% 52% 43% 57% / 52% 40% 60% 48%;
  border: 1px solid rgba(178, 157, 138, 0.24);
  opacity: 0.7;
  pointer-events: none;
}

.blob-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transform: scale(1.08);
  border-radius: inherit;
  filter: saturate(0.96) contrast(1.02) brightness(1.01);
}

.blob-photo.has-image {
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(123, 140, 126, 0.14), rgba(239, 228, 214, 0.4));
}

.blob-photo.has-image::before {
  inset: 10px;
  border-color: rgba(255, 255, 255, 0.34);
  z-index: 2;
}

.blob-photo.has-image::after {
  z-index: 3;
}

.blob-photo.has-image span {
  display: none;
}

.blob-photo span,
.photo-card span {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.photo-card {
  min-height: 18rem;
  border-radius: 26px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.9rem;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.52), transparent 42%),
    linear-gradient(145deg, rgba(123, 140, 126, 0.15), rgba(239, 228, 214, 0.95));
}

.photo-card-portrait {
  min-height: 30rem;
}

.photo-card-landscape {
  min-height: 22rem;
}

.card-grid,
.process-grid,
.workshop-grid {
  display: grid;
  gap: 1.5rem;
}

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

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.workshop-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.support-card,
.process-card,
.workshop-card,
.offer-note,
.testimonial-card,
.contact-copy {
  border-radius: 30px;
  padding: 1.55rem;
}

.support-card,
.process-card,
.workshop-card,
.testimonial-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.support-card:hover,
.process-card:hover,
.workshop-card:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(80, 99, 86, 0.18);
  box-shadow: var(--shadow-card);
}

.section-heading {
  max-width: 50rem;
  display: grid;
  gap: 0.9rem;
}

.section-heading-wide {
  display: grid;
  gap: 0.9rem;
}

.support-card-grid {
  margin-top: 2rem;
}

.process-number {
  display: inline-flex;
  width: 3.2rem;
  height: 3.2rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  font-weight: 800;
  color: var(--sage-deep);
  background: rgba(123, 140, 126, 0.12);
}

.offer-layout {
  align-items: stretch;
}

.offer-note {
  display: grid;
  align-content: start;
  gap: 1rem;
  align-self: center;
}

.inline-link {
  color: var(--sage-deep);
  font-weight: 700;
  border-bottom: 1px solid rgba(80, 99, 86, 0.3);
}

.faq-list {
  display: grid;
  gap: 1.1rem;
  margin-top: 2rem;
}

.faq-item {
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.4rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  color: var(--text);
  font-weight: 700;
  padding-right: 2rem;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 0;
  right: 0;
  color: var(--sage-deep);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 1rem;
}

.testimonial-carousel {
  margin-top: 2rem;
}

.carousel-track {
  position: relative;
  min-height: 21rem;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 1.5rem;
  padding: 1.9rem 2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.testimonial-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.testimonial-card blockquote {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.95rem, 3vw, 2.55rem);
  line-height: 1.12;
  color: var(--text);
}

.testimonial-card footer {
  justify-self: end;
  color: var(--sage-deep);
  font-weight: 700;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
}

.carousel-button {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(80, 99, 86, 0.16);
  border-radius: 50%;
  background: rgba(252, 250, 246, 0.88);
  color: var(--sage-deep);
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.carousel-button:hover {
  transform: translateY(-2px);
  background: rgba(123, 140, 126, 0.1);
  border-color: transparent;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex: 1;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(80, 99, 86, 0.22);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.carousel-dot.is-active {
  background: var(--sage-deep);
  transform: scale(1.15);
}

.contact-layout {
  align-items: stretch;
}

.contact-section .photo-card-landscape {
  position: relative;
  overflow: hidden;
  padding: 0;
  place-items: stretch;
}

.contact-section .photo-card-landscape > img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-section #twoj-psycholog-widget {
  grid-area: 1 / 1;
  align-self: end;
  justify-self: end;
  position: relative;
  z-index: 1;
  margin: 1.5rem;
}

.contact-copy {
  align-content: start;
}

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

.contact-details a {
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
}

.footer-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-brand {
  color: var(--text);
  font-weight: 700;
}

.footer-copy {
  font-size: 0.95rem;
}

.footer-links,
.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(80, 99, 86, 0.14);
  background: rgba(252, 250, 246, 0.86);
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: rgba(123, 140, 126, 0.1);
  border-color: transparent;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: var(--sage-deep);
}

.reveal,
.slide-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-delay {
  transition-delay: 0.16s;
}

.reveal.is-visible,
.slide-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-booking-button {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 1000;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(80, 99, 86, 0.16);
  border-radius: 22px;
  background: var(--sage-deep);
  box-shadow: var(--shadow-soft);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-align: center;
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease,
    transform 0.28s ease,
    background-color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.floating-booking-button:hover {
  background: var(--sage-soft);
  border-color: rgba(80, 99, 86, 0.08);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.floating-booking-button.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-booking-button span {
  display: block;
}

.h100 {
  height: 100%;
}

@media (max-width: 1199.98px) {
  .section-space {
    padding: 5.8rem 0;
  }

  .hero-grid,
  .two-column-grid,
  .offer-layout,
  .contact-layout {
    gap: 2.6rem;
  }

  .hero-visual-frame {
    min-height: 32rem;
  }

  .blob-photo {
    width: min(100%, 25.5rem);
  }
}

@media (max-width: 991.98px) {
  .section-space {
    padding: 4.8rem 0;
  }

  .navbar-toggler.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-shrink: 0;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 24px;
    right: 24px;
    z-index: 20;
    padding: 0.8rem;
    border-radius: 24px;
    background: rgba(252, 250, 246, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
  }

  .navbar-collapse.nav-menu {
    align-items: stretch;
  }

  .navbar-collapse.nav-menu:not(.show) {
    display: none;
  }

  .navbar-collapse.nav-menu.show {
    display: block;
  }

  .navbar-nav {
    gap: 0;
    align-items: stretch;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
  }

  .hero-section {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-grid,
  .two-column-grid,
  .offer-layout,
  .contact-layout,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-copy {
    gap: 1.2rem;
  }

  .card-grid,
  .process-grid,
  .workshop-grid,
  .contact-details {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual-frame {
    min-height: 27rem;
    padding: 1.2rem;
  }

  .blob-photo {
    width: min(100%, 22rem);
  }

  .blob-photo img {
    object-position: center 28%;
    transform: scale(1.06);
  }

  .photo-card-portrait {
    min-height: 23rem;
  }

  .carousel-track {
    min-height: 20rem;
  }
}

@media (max-width: 767.98px) {
  .container {
    padding-inline: 18px;
  }

  .section-space {
    padding: 4rem 0;
  }

  h1 {
    font-size: clamp(2.45rem, 10vw, 3.55rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(1.9rem, 8vw, 2.45rem);
  }

  h3 {
    font-size: 1.3rem;
  }

  .brand-mark {
    font-size: 1.7rem;
  }

  .nav-menu {
    left: 18px;
    right: 18px;
  }

  .card-grid,
  .process-grid,
  .workshop-grid,
  .contact-details {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .content-column,
  .offer-content,
  .contact-copy {
    gap: 1.05rem;
  }

  .hero-actions {
    gap: 0.85rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual-frame {
    min-height: 21rem;
    padding: 0.95rem;
    border-radius: 30px;
  }

  .blob-photo {
    width: min(100%, 17rem);
    aspect-ratio: 0.94;
    padding: 1.3rem;
    transform: rotate(-3deg);
    border-radius: 37% 63% 56% 44% / 40% 38% 62% 60%;
  }

  .blob-photo.has-image {
    padding: 0;
  }

  .blob-photo img {
    object-position: center 24%;
    transform: scale(1.04);
  }

  .photo-card,
  .photo-card-portrait,
  .photo-card-landscape {
    min-height: 14rem;
    padding: 1.4rem;
  }

  .testimonial-card {
    padding: 1.3rem;
  }

  .carousel-track {
    min-height: 21rem;
  }

  .carousel-controls {
    gap: 0.75rem;
  }

  .carousel-button {
    width: 46px;
    height: 46px;
  }

  .testimonial-card blockquote {
    font-size: clamp(1.6rem, 6.8vw, 2rem);
  }

  .contact-copy,
  .support-card,
  .process-card,
  .workshop-card,
  .offer-note,
  .testimonial-card {
    padding: 1.2rem;
    border-radius: 22px;
  }

  .faq-item {
    padding: 1.05rem 1.15rem;
  }

  .contact-details {
    gap: 1.1rem;
  }

  .footer-layout {
    align-items: flex-start;
  }

  .floating-booking-button {
    right: 16px;
    bottom: 16px;
    padding: 0.78rem 0.9rem;
    border-radius: 18px;
    font-size: 0.87rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
