@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

/* RESET & VARIABLES */
:root {
  --bg-color: #FDFBF7;
  --text-main: #2B2B2A;
  --text-light: #5A5853;
  --accent-sage: #889680;
  --accent-sand: #D3C5B5;
  --accent-gold: #C0A062;
  --font-main: 'Outfit', sans-serif;
  --font-heading: 'Georgia', serif;
  --nav-height: 80px;

  /* PASTELE DO KATEGORII USL�UG */
  --c-odchudzanie: #889680;
  --bg-odchudzanie: rgba(136, 150, 128, 0.15);
  --c-dietoterapia: #b08c8c;
  --bg-dietoterapia: rgba(176, 140, 140, 0.15);
  --c-psycho: #8ca3b0;
  --bg-psycho: rgba(140, 163, 176, 0.15);
  --c-wege: #a3b08c;
  --bg-wege: rgba(163, 176, 140, 0.15);
  --c-sport: #d4a373;
  --bg-sport: rgba(212, 163, 115, 0.15);
  --c-pary: #a08cb0;
  --bg-pary: rgba(160, 140, 176, 0.15);
  --c-pojedyncza: #c9bea3;
  --bg-pojedyncza: rgba(201, 190, 163, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
}

h3,
h4 {
  font-weight: 500;
  line-height: 1.2;
}

h1 {
  font-size: 4rem;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, #A375F8, #E8A07E);
}

p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 20px;
  font-weight: 300;
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  padding: 16px 36px;
  background-color: var(--accent-sage);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(136, 150, 128, 0.2);
}

.btn-primary:hover {
  background-color: #72806b;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(136, 150, 128, 0.3);
}

.btn-outline {
  display: inline-block;
  padding: 15px 35px;
  background-color: transparent;
  color: var(--text-main);
  text-decoration: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  border: 1px solid var(--text-main);
  cursor: pointer;
}

.btn-outline:hover {
  background-color: var(--text-main);
  color: var(--bg-color);
}

/* NAVIGATION (GLASSMORPHISM) */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  z-index: 1000;
  background: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

nav.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  padding: 0 6%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: 2px;
}

.logo span {
  font-weight: 600;
  color: #A375F8;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(to right, #A375F8, #E8A07E);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* HAMBURGER */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger div {
  width: 25px;
  height: 2px;
  background-color: var(--text-main);
  transition: all 0.3s ease;
}

/* SECTIONS */
section {
  padding: 100px 5%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* HERO SECTION */
#hero {
  position: relative;
  padding-top: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  /* Nowa, dedykowana szata wg wytycznych: Wrzos + Terakota */
}

.hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
  animation: fadeUp 1s ease-out;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  text-align: left;
}

.hero-text {
  flex: 1;
  max-width: 550px;
  display: flex;
  flex-direction: column;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.hero-person-img {
  max-width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  /* Bezwzględny zakaz przycinania */
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.hero-person-img:hover {
  transform: scale(1.02);
}

.hero-content h1 {
  font-family: 'Georgia', serif;
  font-size: 3.4rem;
  line-height: 1.15;
  margin: 20px 0 25px 0;
  letter-spacing: 0px;
  color: #A375F8;
  font-weight: bold;
}

.hero-content p {
  font-size: 1.15rem;
  max-width: 100%;
  margin: 0;
  line-height: 1.6;
  color: var(--text-main);
}

.hero-tagline {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #DB855D;
  display: block;
  font-weight: 700;
}

.hero-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: flex-start;
  gap: 20px;
}

@media (max-width: 950px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    margin-top: 40px;
  }

  .hero-text {
    align-items: center;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    justify-content: center;
  }
}

/* Wypięcie przyciskAlw wewnątrz Hero z globalnych kolorAlw (#889680) */
.hero-buttons .btn-primary {
  background: linear-gradient(135deg, #A375F8, #E8A07E);
  color: #fff;
  border: none;
  box-shadow: 0 10px 25px rgba(163, 117, 248, 0.25);
}

.hero-buttons .btn-primary:hover {
  background: linear-gradient(135deg, #8C53F7, #E48D63);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(232, 160, 126, 0.35);
}

.hero-buttons .btn-outline {
  border: 1.5px solid #A375F8;
  color: #A375F8;
}

.hero-buttons .btn-outline:hover {
  background-color: #A375F8;
  color: #fff;
}

.hero-image-container {
  display: none;
}

/* Wypięcie przyciskAlw wewnątrz About z ogAllnego stylowania */
#about .btn-outline {
  border-color: #A375F8;
  color: #A375F8;
}

#about .btn-outline:hover {
  background-color: #A375F8;
  color: #fff;
}

/* Wypięcie przycisku Quizu w Contact z ogAllnego stylowania */
#contact .btn-primary {
  background: linear-gradient(135deg, #A375F8, #E8A07E);
  color: #fff;
  border: none;
  box-shadow: 0 5px 20px rgba(163, 117, 248, 0.25);
}

#contact .btn-primary:hover {
  background: linear-gradient(135deg, #8E5DF0, #DB855D);
  box-shadow: 0 8px 25px rgba(232, 160, 126, 0.35);
  transform: translateY(-2px);
}

/* =========== O MNIE (NOWY DESIGN) =========== */
#about {
  background-color: transparent;
  padding: 60px 4%;
  position: relative;
  overflow: hidden;
}

.about-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7%;
  padding: 80px 0;
  /* Padding creates the full screen effect natively without viewport distortion */
  margin-bottom: 0;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  flex-direction: row;
}

.about-block.reverse {
  flex-direction: row-reverse;
}

@media (max-width: 900px) {

  .about-block,
  .about-block.reverse {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    padding: 50px 0;
  }
}

.about-txt {
  flex: 1.4;
  /* Więcej miejsca dla tekstu zgodnie ze screenem */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-txt h2 {
  font-size: 2.8rem;
  color: var(--text-main);
  margin-bottom: 25px;
  line-height: 1.15;
  display: block;
}

/* Ukrywamy gradientowe podkreL�lenie tylko na sekcji "O mnie", bo ona ma wL�asne ozdoby SVG */
#about .about-txt h2::after {
  display: none;
}

.about-txt p {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
  font-family: var(--font-main);
  font-weight: 300;
}

.about-txt strong,
.about-txt b {
  color: #A375F8;
  font-weight: 500;
}

.about-img-box {
  flex: 1;
  /* Mniej miejsca na zdjęcie */
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.img-slot {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  max-width: 450px;
  background-color: #EEE9E2;
  /* Placeholder zastępczy */
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  /* ZL�ota rama (stroke offset) */
}

.img-slot::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border: 1.5px solid var(--text-main);
  opacity: 0.15;
  z-index: -1;
}

/* Unikalne Ekstremalnie Organiczne KsztaL�ty Zamiast KlasykAlw */
/* 1. KsztaL�t Bloba z rekwizytem */
.shape-arch .img-slot {
  background-image: url('../images/about_gosia_v5.jpg');
  background-color: transparent;
  aspect-ratio: 2 / 3;
  max-width: 400px;
  height: auto;
  max-height: 580px;
  background-size: cover;
  background-position: center 15%;
}

.shape-arch .img-slot,
.shape-arch .img-slot::before {
  border-radius: 52% 48% 60% 40% / 46% 59% 45% 55%;
}

/* 2. KsztaL�t Blobu (jeszcze fajniejszy i niesymetryczny) */
.shape-blob .img-slot {
  background-image: url('../images/about_2.jpg');
  background-color: transparent;
}

.shape-blob .img-slot,
.shape-blob .img-slot::before {
  border-radius: 41% 59% 43% 57% / 46% 38% 62% 54%;
}

/* 3. KsztaL�t KapsuL�ki (L�cięty asymetrycznie pod luksusowy magazyn) */
.shape-pill .img-slot {
  background-image: url('../images/about_gosia_v6.jpg');
  background-color: transparent;
  background-position: 15% center;
}

.shape-pill .img-slot,
.shape-pill .img-slot::before {
  border-radius: 51% 49% 65% 35% / 41% 59% 41% 59%;
}

/* Dekoracje LineArt SVG unoszące się w powietrzu przygotowawcze do Psychodietektyki */
.deco-svg {
  position: absolute;
  z-index: 3;
  width: 100px;
  /* bazowy */
  height: auto;
  opacity: 0.8;
  animation: floatDeco 8s infinite ease-in-out;
}

.deco-brain {
  top: -20px;
  right: -5%;
  stroke: #A375F8;
  /* w kolorze fioletu */
  width: 110px;
}

.deco-pear {
  bottom: -40px;
  left: -5%;
  stroke: #E8A07E;
  /* gruszka w terakocie */
  width: 80px;
  animation-delay: 1.5s;
}

.deco-heart {
  top: 10%;
  left: -15%;
  stroke: var(--accent-sage);
  /* w kolorze nowej zieleni relaksu by pasowaL�o, albo w zL�ocie */
  width: 90px;
  animation-delay: 0.5s;
}

.deco-choc {
  bottom: -20px;
  right: -30px;
  stroke: #E8A07E;
  /* brzoskwinia kostka */
  width: 130px;
  animation-delay: 2s;
}

@keyframes floatDeco {
  0% {
    transform: translate(0px, 0px) rotate(0deg);
  }

  33% {
    transform: translate(10px, -20px) rotate(15deg);
  }

  66% {
    transform: translate(-10px, -10px) rotate(-5deg);
  }

  100% {
    transform: translate(0px, 0px) rotate(0deg);
  }
}

/* PRICING SECTION */
#pricing {
  background-color: var(--bg-color);
  text-align: center;
  min-height: 80vh;
}

#pricing h2 {
  margin-bottom: 60px;
}

#pricing h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1250px;
  margin: 0 auto;
}

#price-pojedyncza .pricing-grid {
  align-items: start;
}

.pricing-card {
  background-color: #fff;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

#price-pojedyncza .pricing-card {
  height: auto;
}

.pricing-card.premium {
  border: 1px solid var(--accent-sand);
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(211, 197, 181, 0.3);
}

.pricing-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.pricing-card h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.price {
  font-size: 2.5rem;
  color: var(--accent-sage);
  margin-bottom: 30px;
  font-weight: 400;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 40px;
  text-align: left;
  flex-grow: 1;
}

#price-pojedyncza .pricing-card ul {
  flex-grow: 0;
}

.pricing-card .btn-primary,
.pricing-card .btn-outline {
  margin-top: auto;
}

#price-pojedyncza .pricing-card .btn-primary,
#price-pojedyncza .pricing-card .btn-outline {
  margin-top: 0;
}

.pricing-card ul li {
  margin-bottom: 15px;
  color: var(--text-light);
  font-size: 1rem;
  position: relative;
  padding-left: 28px;
  line-height: 1.5;
}

.pricing-card ul li::before {
  content: '\2714';
  color: var(--accent-sage);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.pricing-card ul li.no-check::before {
  content: '\2716';
  color: #c06363 !important;
}

.pricing-card ul li.no-bullet::before {
  content: none !important;
  margin: 0 !important;
}

/* CONTACT SECTION */
#contact {
  background-color: #fff;
  text-align: center;
  padding-bottom: 40px;
}

#contact h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-box {
  background: var(--bg-color);
  padding: 40px;
  border-radius: 20px;
  margin-top: 40px;
}

/* ACCORDION SERVICES SECTION */
#services {
  background-color: var(--bg-color);
  text-align: center;
  padding-top: 50px;
}

#services h2 {
  margin-bottom: 50px;
}

#services h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.accordion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1250px;
  margin: 0 auto;
}

.accordion-item {
  background: #fff;
  border: 1px solid rgba(136, 150, 128, 0.15);
  border-left-width: 5px;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

/* INDYWIDUALNE KOLORY AKORDEONA�W (KAFELKA�W) */
.accordion-item:nth-child(1) {
  border-left-color: var(--c-odchudzanie);
}

.accordion-item.active:nth-child(1) {
  background: var(--bg-odchudzanie);
  border-color: var(--c-odchudzanie);
}

.accordion-item.active:nth-child(1) .accordion-chevron {
  color: var(--c-odchudzanie);
}

.accordion-item:nth-child(2) {
  border-left-color: var(--c-dietoterapia);
}

.accordion-item.active:nth-child(2) {
  background: var(--bg-dietoterapia);
  border-color: var(--c-dietoterapia);
}

.accordion-item.active:nth-child(2) .accordion-chevron {
  color: var(--c-dietoterapia);
}

.accordion-item:nth-child(3) {
  border-left-color: var(--c-psycho);
}

.accordion-item.active:nth-child(3) {
  background: var(--bg-psycho);
  border-color: var(--c-psycho);
}

.accordion-item.active:nth-child(3) .accordion-chevron {
  color: var(--c-psycho);
}

.accordion-item:nth-child(4) {
  border-left-color: var(--c-wege);
}

.accordion-item.active:nth-child(4) {
  background: var(--bg-wege);
  border-color: var(--c-wege);
}

.accordion-item.active:nth-child(4) .accordion-chevron {
  color: var(--c-wege);
}

.accordion-item:nth-child(5) {
  border-left-color: var(--c-sport);
}

.accordion-item.active:nth-child(5) {
  background: var(--bg-sport);
  border-color: var(--c-sport);
}

.accordion-item.active:nth-child(5) .accordion-chevron {
  color: var(--c-sport);
}

.accordion-item:nth-child(6) {
  border-left-color: var(--c-pary);
}

.accordion-item.active:nth-child(6) {
  background: var(--bg-pary);
  border-color: var(--c-pary);
}

.accordion-item.active:nth-child(6) .accordion-chevron {
  color: var(--c-pary);
}

.accordion-header {
  padding: 15px 25px;
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.acc-icon {
  width: 85px;
  height: 85px;
  object-fit: contain;
  margin-right: 20px;
  mix-blend-mode: darken;
  filter: contrast(1.15) brightness(1.05);
}

.accordion-title {
  font-size: 1.1rem;
  font-weight: 500;
  flex: 1;
  text-align: left;
  margin: 0;
  color: var(--text-main);
}

.accordion-chevron {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
  color: var(--accent-sage);
}

.accordion-item.active .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  text-align: left;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 0 25px 25px 25px;
}

.accordion-content p {
  color: var(--text-main);
  opacity: 0.8;
  font-size: 0.95rem;
  margin: 0;
}

/* FOOTER */
footer {
  background-color: var(--text-main);
  color: #fff;
  text-align: center;
  padding: 40px 5%;
  font-size: 0.9rem;
}

footer a {
  color: var(--accent-sage);
  text-decoration: none;
}

/* BLOG PAGE SPECIFICS */
.page-header {
  padding-top: 150px;
  padding-bottom: 80px;
  text-align: center;
  background-color: #fff;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 5%;
}

.blog-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.blog-img {
  width: 100%;
  height: 220px;
  background-color: var(--accent-sand);
  background-size: cover;
  background-position: center;
}

.blog-content {
  padding: 30px;
}

.blog-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-sage);
  margin-bottom: 10px;
  display: block;
}

.blog-content h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-main);
}

.blog-content p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* PRICING TABS */
.pricing-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-tab-btn {
  padding: 14px 28px;
  background-color: #fff;
  border: 1px solid rgba(139, 153, 124, 0.4);
  border-radius: 30px;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pricing-tab-btn:hover {
  background-color: var(--bg-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* TABS COLORS BY CATEGORY */
.pricing-tab-btn[data-target="price-odchudzanie"].active {
  background: var(--c-odchudzanie);
  border-color: var(--c-odchudzanie);
  box-shadow: 0 4px 15px var(--bg-odchudzanie);
  color: #fff;
}

.pricing-tab-btn[data-target="price-dietoterapia"].active {
  background: var(--c-dietoterapia);
  border-color: var(--c-dietoterapia);
  box-shadow: 0 4px 15px var(--bg-dietoterapia);
  color: #fff;
}

.pricing-tab-btn[data-target="price-psycho"].active {
  background: var(--c-psycho);
  border-color: var(--c-psycho);
  box-shadow: 0 4px 15px var(--bg-psycho);
  color: #fff;
}

.pricing-tab-btn[data-target="price-wege"].active {
  background: var(--c-wege);
  border-color: var(--c-wege);
  box-shadow: 0 4px 15px var(--bg-wege);
  color: #fff;
}

.pricing-tab-btn[data-target="price-sport"].active {
  background: var(--c-sport);
  border-color: var(--c-sport);
  box-shadow: 0 4px 15px var(--bg-sport);
  color: #fff;
}

.pricing-tab-btn[data-target="price-pary"].active {
  background: var(--c-pary);
  border-color: var(--c-pary);
  box-shadow: 0 4px 15px var(--bg-pary);
  color: #fff;
}

.pricing-tab-btn[data-target="price-pojedyncza"].active {
  background: var(--c-pojedyncza);
  border-color: var(--c-pojedyncza);
  box-shadow: 0 4px 15px var(--bg-pojedyncza);
  color: #fff;
}

/* PRICING CARDS THEMES */
#price-odchudzanie .pricing-card.premium {
  background: var(--bg-odchudzanie);
  border-top: 5px solid var(--c-odchudzanie);
}

#price-dietoterapia .pricing-card.premium {
  background: var(--bg-dietoterapia);
  border-top: 5px solid var(--c-dietoterapia);
  border-color: var(--c-dietoterapia);
}

#price-dietoterapia .pricing-card ul li::before {
  color: var(--c-dietoterapia);
}

#price-dietoterapia .btn-primary {
  background: var(--c-dietoterapia);
  border-color: var(--c-dietoterapia);
}

#price-dietoterapia .btn-outline {
  color: var(--c-dietoterapia);
  border-color: var(--c-dietoterapia);
}

#price-dietoterapia .btn-outline:hover {
  background: var(--c-dietoterapia);
  color: white;
}

#price-psycho .pricing-card.premium {
  background: var(--bg-psycho);
  border-top: 5px solid var(--c-psycho);
  border-color: var(--c-psycho);
}

#price-psycho .pricing-card ul li::before {
  color: var(--c-psycho);
}

#price-psycho .btn-primary {
  background: var(--c-psycho);
  border-color: var(--c-psycho);
}

#price-psycho .btn-outline {
  color: var(--c-psycho);
  border-color: var(--c-psycho);
}

#price-psycho .btn-outline:hover {
  background: var(--c-psycho);
  color: white;
}

#price-wege .pricing-card.premium {
  background: var(--bg-wege);
  border-top: 5px solid var(--c-wege);
  border-color: var(--c-wege);
}

#price-wege .pricing-card ul li::before {
  color: var(--c-wege);
}

#price-wege .btn-primary {
  background: var(--c-wege);
  border-color: var(--c-wege);
}

#price-wege .btn-outline {
  color: var(--c-wege);
  border-color: var(--c-wege);
}

#price-wege .btn-outline:hover {
  background: var(--c-wege);
  color: white;
}

#price-sport .pricing-card.premium {
  background: var(--bg-sport);
  border-top: 5px solid var(--c-sport);
  border-color: var(--c-sport);
}

#price-sport .pricing-card ul li::before {
  color: var(--c-sport);
}

#price-sport .btn-primary {
  background: var(--c-sport);
  border-color: var(--c-sport);
}

#price-sport .btn-outline {
  color: var(--c-sport);
  border-color: var(--c-sport);
}

#price-sport .btn-outline:hover {
  background: var(--c-sport);
  color: white;
}

#price-pary .pricing-card.premium {
  background: var(--bg-pary);
  border-top: 5px solid var(--c-pary);
  border-color: var(--c-pary);
}

#price-pary .pricing-card ul li::before {
  color: var(--c-pary);
}

#price-pary .btn-primary {
  background: var(--c-pary);
  border-color: var(--c-pary);
}

#price-pary .btn-outline {
  color: var(--c-pary);
  border-color: var(--c-pary);
}

#price-pary .btn-outline:hover {
  background: var(--c-pary);
  color: white;
}

#price-pojedyncza .pricing-card.premium {
  background: var(--bg-pojedyncza);
  border-top: 5px solid var(--c-pojedyncza);
  border-color: var(--c-pojedyncza);
}

#price-pojedyncza .pricing-card ul li::before {
  color: var(--c-pojedyncza);
}

#price-pojedyncza .btn-primary {
  background: var(--c-pojedyncza);
  border-color: var(--c-pojedyncza);
}

#price-pojedyncza .btn-outline {
  color: var(--c-pojedyncza);
  border-color: var(--c-pojedyncza);
}

#price-pojedyncza .btn-outline:hover {
  background: var(--c-pojedyncza);
  color: white;
}

.pricing-tab-content {
  display: none;
  animation: fadeUp 0.4s ease-out;
}

.pricing-tab-content.active {
  display: block;
}

.package-duration {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  color: var(--text-light);
  margin-bottom: 15px;
  font-weight: 500;
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {

  .accordion-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #hero,
  #about {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-image {
    margin-top: 50px;
    width: 100%;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .accordion-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: fixed;
    right: -100%;
    top: var(--nav-height);
    flex-direction: column;
    background: rgba(253, 251, 247, 0.98);
    width: 100%;
    height: calc(100vh - var(--nav-height));
    text-align: center;
    transition: 0.4s ease;
    padding-top: 50px;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 20px 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active div:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* =========== FAQ SECTION =========== */
#faq {
  padding: 80px 0;
  background-color: var(--bg-color);
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 5%;
}

.faq-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--text-main);
  position: relative;
}

.faq-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--text-light);
  border-radius: 2px;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.3s ease;
}

.faq-question:hover {
  opacity: 0.8;
}

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer-content {
  padding: 0 25px 25px 25px;
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-answer-content p {
  margin-bottom: 15px;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

/* =========== INSTAGRAM SECTION =========== */
#instagram {
  padding: 0;
  margin: 0;
  background-color: transparent;
}

.ig-wrapper {
  max-width: 95%;
  width: 95%;
  margin: 0 auto;
  padding: 20px 2% 30px;
}

.ig-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.ig-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(45deg, #E8A07E 0%, #C0A062 30%, #A375F8 70%, #8E5DF0 100%);
  padding: 2px;
  flex-shrink: 0;
}

.ig-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
}

.ig-info {
  text-align: left;
}

.ig-info h3 {
  font-size: 1.15rem;
  margin-bottom: 2px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0;
}

.ig-info p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
  font-weight: 400;
}

.ig-feed {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  margin-bottom: 25px;
}

@media (max-width: 900px) {
  .ig-feed {
    grid-template-columns: repeat(3, 1fr);
  }

  .ig-feed a.ig-post:nth-last-child(-n+2) {
    display: none;
  }
}

@media (max-width: 600px) {
  .ig-feed {
    grid-template-columns: repeat(2, 1fr);
  }

  .ig-feed a.ig-post:nth-last-child(-n+3) {
    display: none;
  }
}

.ig-post {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0;
  display: block;
}

.ig-post-img {
  width: 100%;
  height: 100%;
  background-color: #EEE9E2;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.ig-post:hover .ig-post-img {
  transform: scale(1.05);
}

.ig-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  opacity: 1;
}

.ig-cta {
  text-align: center;
  margin-top: 15px;
}

.btn-ig {
  background: linear-gradient(135deg, #A375F8 0%, #E8A07E 100%);
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 30px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-ig:hover {
  background: linear-gradient(135deg, #8E5DF0 0%, #DB855D 100%);
  color: #fff;
}

/* ============ SERVICES TABS (NEW) ============ */
#services {
  background-color: #FDFBF5;
  /* Pastelowy ciepL�y jednolity kolor wg mockupa */
  padding: 100px 5% 50px 5%;
}

.services-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}

.service-tab-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 35px;
  /* Skala +10% */
  background-color: #FFFDF8;
  border: 1.5px solid rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.35s ease;
  color: var(--text-main);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.service-tab-btn img.acc-icon {
  width: 60px;
  height: 60px;
  filter: brightness(1.05) contrast(1.1);
  /* Podbicie jasności, by wyeliminować szare przebościa w grafikach */
  mix-blend-mode: darken;
  /* Idealnie wije ilustrację wtapiając ją w kolor kafelka bez białych ramek */
  transition: all 0.3s;
}

.service-tab-btn .btn-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  /* Skala +10% */
  font-weight: 500;
}

.service-tab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.service-tab-btn.active {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  /* Zgaszony genreyczny shadow by nie zaburzaL� nowych kolorAlw */
}

/* ================== PALETY KOLORYSTYCZNE DLA KAL�DEJ ZAKL�ADKI ================== */

/* 1. Odchudzanie - Jasna brzoskwinia/ciepL�y bazowy beLL */
.service-tab-btn[data-target="tab-odchudzanie"]:hover,
.service-tab-btn[data-target="tab-odchudzanie"].active {
  background-color: #FDF1E3;
  border-color: #F3DCBC;
}

#tab-odchudzanie .st-card {
  background-color: #FDF1E3;
}

/* 2. Dietoterapia - Przyduszona, miętowa szaL�wia */
.service-tab-btn[data-target="tab-dietoterapia"]:hover,
.service-tab-btn[data-target="tab-dietoterapia"].active {
  background-color: #E8F3EE;
  border-color: #BBE1CD;
}

#tab-dietoterapia .st-card {
  background-color: #E8F3EE;
}

/* 3. Wsparcie - Delikatny wyblakL�y wrzos */
.service-tab-btn[data-target="tab-psycho"]:hover,
.service-tab-btn[data-target="tab-psycho"].active {
  background-color: #EBE8F3;
  border-color: #C0B7DC;
}

#tab-psycho .st-card {
  background-color: #EBE8F3;
}

/* 4. Wege - CiepL�a pistacja / Matcha */
.service-tab-btn[data-target="tab-wege"]:hover,
.service-tab-btn[data-target="tab-wege"].active {
  background-color: #EAF0E2;
  border-color: #C6D9B0;
}

#tab-wege .st-card {
  background-color: #EAF0E2;
}

/* 5. Sport - Nienachalny chL�odny bL�ękit */
.service-tab-btn[data-target="tab-sport"]:hover,
.service-tab-btn[data-target="tab-sport"].active {
  background-color: #E6EEF5;
  border-color: #ADCBE6;
}

#tab-sport .st-card {
  background-color: #E6EEF5;
}

#tab-pary .st-card {
  background-color: #EFECE6;
}


.services-content-wrapper {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
}

.service-tab-content {
  display: none;
  animation: fadeUp 0.6s ease-out;
  background-color: transparent;
}

.service-tab-content.active {
  display: block;
}

/* Wewnętrzne tabele (3 kolumny u gAlry) */
.st-subtitle {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--text-main);
  margin: 60px 0 40px 0;
  font-weight: 700;
}

.st-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.st-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 25px;
}

.st-grid-full {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

/* Pojedyncza karta informacji - jasnokremowy bloczek */
.st-card {
  background-color: #FFFDF8;
  /* Fallback, bedzie nadpisywane pseudoklasami */
  border-radius: 20px;
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.st-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.st-card-icon {
  font-size: 1.6rem;
  color: #C0392B;
  margin-bottom: 15px;
}

.st-card h4 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
  line-height: 1.35;
}

.st-card p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
  font-weight: 400;
}

@media (max-width: 1000px) {

  .st-grid-3,
  .st-grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .st-grid-3,
  .st-grid-2x2 {
    grid-template-columns: 1fr;
  }

  .service-tab-btn {
    width: 100%;
    justify-content: center;
  }
}

/* FAQ SECTION */
#faq {
  padding: 80px 20px;
  background-color: var(--bg-color);
}
.faq-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}
.faq-title {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: var(--text-main);
  text-align: center;
}
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.faq-item {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
}
.faq-icon {
  transition: transform 0.3s ease;
  min-width: 24px;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-content {
  padding: 0 30px 25px 30px;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 400;
}
.faq-answer-content p {
  color: var(--text-main);
  margin-bottom: 15px;
  line-height: 1.6;
}
.faq-answer-content p:last-child {
  margin-bottom: 0;
}

/* Active state styling */
.faq-item.active {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* MODAL STYLES */
.modal {
  display: none; 
  position: fixed; 
  z-index: 9999; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(3px);
  align-items: center;
  justify-content: center;
}
.modal.show {
  display: flex;
}
.modal-content {
  background-color: #fcfbfa; /* pastel background matching website */
  padding: 40px;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.close-modal {
  color: var(--text-light);
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}
.close-modal:hover {
  color: var(--text-main);
}