/*
Theme Name: Dar Losu
Author: G&Z Agency
Version: 1.0.0
Tags: full-site-editing, one-column, custom-colors, custom-logo
Text Domain: Dar Losu
*/

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

:root {
  --cream: #FFFFFF;
  /* Główne tło */
  --dark: #1E1E1E;
  /* Ciemne sekcje / footer */
  --warm: #E8DED2;
  /* Sekcja storytelling / "o nas" */

  --accent: #E53935;
  /* Główny akcent (CTA, przyciski) */
  --accent2: #3FB7A8;
  /* Turkus (działania / pozytywne sekcje) */
  --accent3: #2D87B9;
  /* Niebieski (linki / info) */

  --yellow: #FFD54F;
  /* Poprawiony kolor żółty (wcześniej był czerwony #F56565) */
  --mint: #3FB7A8;
  /* Alternatywny akcent (ten sam turkus dla spójności) */
  --coral: #F56565;
  /* Akcent uzupełniający */

  --text: #2B2B2B;
  /* Główny tekst */
  --muted: #BDBDBD;
  /* Tekst pomocniczy (na ciemnym tle) */
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

.dar-losu-main {
  padding-top: 100px;
  min-height: calc(100vh - 100px);
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 60px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-logo a {
  color: inherit !important;
  text-decoration: none !important;
}

.nav-logo-box {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 4px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a,
.nav-links .wp-block-navigation-item__content {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none !important;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links .wp-block-navigation-item__content:hover {
  color: #fff !important;
}

/* WP Submenu styling */
.nav-links .wp-block-navigation__submenu-container {
  background-color: var(--dark) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  padding: 8px 0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  min-width: 160px !important;
}

.nav-links .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  padding: 8px 20px !important;
  display: block;
}

.nav-links .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

.nav-links .wp-block-navigation-submenu__toggle {
  color: rgba(255, 255, 255, 0.7) !important;
}

.nav-links .wp-block-navigation-submenu__toggle:hover {
  color: #fff !important;
}

.nav-links .wp-block-navigation-submenu__toggle svg {
  fill: currentColor !important;
}

.nav-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.nav-icon:hover {
  background: var(--accent);
}

.nav-icon svg {
  width: 15px;
  height: 15px;
  fill: #fff;
}

/* WP Responsive Mobile Menu Overrides */
.nav-links .wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--dark) !important;
  color: #fff !important;
}

.nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
  color: #fff !important;
  margin-top: 15px !important;
  margin-right: 15px !important;
}

.nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg {
  fill: #fff !important;
}

/* Hamburger toggle on mobile */
.nav-links .wp-block-navigation__responsive-container-open {
  color: #fff !important;
}

.nav-links .wp-block-navigation__responsive-container-open svg {
  fill: #fff !important;
}

/* Modal content container */
.nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  padding-top: 40px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* Container for items inside mobile menu */
.nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  align-items: center !important;
  width: 100% !important;
}

/* Links inside mobile menu */
.nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  font-size: 16px !important;
  color: #fff !important;
  text-align: center;
  padding: 12px 20px !important;
}

.nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover {
  color: var(--accent) !important;
  background: transparent !important;
}

/* Mobile submenu container override */
.nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
  position: static !important;
  box-shadow: none !important;
  border: none !important;
  background: rgba(255, 255, 255, 0.05) !important;
  margin-top: 10px !important;
  width: 100% !important;
  min-width: 100% !important;
  text-align: center !important;
  padding: 10px 0 !important;
  border-radius: 8px !important;
}

.nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu__toggle {
  color: #fff !important;
  background: transparent !important;
}

.nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu__toggle svg {
  fill: #fff !important;
}

/* HERO */
.hero {
  min-height: 100vh;
  padding-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 70% 40%, rgba(210, 200, 180, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  padding: 80px 60px 80px 80px;
  position: relative;
  z-index: 2;
  animation: fadeUp 1s ease both;
}

.hero-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
  font-weight: 500;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 400px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: #fff;
  padding: 14px 28px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: all 0.25s;
  border: 2px solid var(--dark);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(217, 107, 58, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--dark);
  padding: 14px 28px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 2px solid rgba(26, 26, 24, 0.2);
  letter-spacing: 0.03em;
  transition: all 0.25s;
}

.btn-outline:hover {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1.2s ease both 0.3s;
}

.hero-circle {
  width: 420px;
  height: 420px;
  position: relative;
}

.hero-circle img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.floating-badge {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  animation: float 3s ease-in-out infinite;
}

.floating-badge.b1 {
  bottom: 120px;
  left: -20px;
  animation-delay: 0s;
}

.floating-badge.b2 {
  top: 130px;
  right: -10px;
  animation-delay: 1.5s;
}

.badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.badge-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ABOUT */
.about {
  padding: 100px 80px;
  background: var(--warm);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: none;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
}

.section-label.has-text-align-center {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.about h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.about p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: #4A4A42;
}

/* CARDS */
.cards-section {
  padding: 100px 80px;
  background: var(--cream);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.card {
  background: #fff;
  border-radius: 20px;
  padding: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(26, 26, 24, 0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
}

.card-image-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin: 0 !important;
  background: var(--cream);
}

.card-image-wrap img,
.card-image-wrap .wp-block-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
}

.card-content {
  padding: 40px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 2;
}

.card:nth-child(1)::before {
  background: var(--accent);
}

.card:nth-child(2)::before {
  background: var(--accent2);
}

.card:nth-child(3)::before {
  background: var(--accent3);
}

.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.card-link, .card-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--dark);
  transition: gap 0.2s;
}

.card-link:hover, .card-link a:hover {
  gap: 10px;
}

/* HOW WE HELP */
.help-section {
  padding: 100px 80px;
  background: #fff;
}

.help-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.help-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.help-text p {
  font-size: 16px;
  line-height: 1.75;
  color: #4A4A42;
  margin-bottom: 32px;
}

.dynamic-therapies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
}

.therapy-tile-wrapper {
  perspective: 1000px;
  height: 220px;
  cursor: pointer;
  width: 100%;
}

.therapy-tile-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: left;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.therapy-tile-wrapper.is-flipped .therapy-tile-inner {
  transform: rotateY(180deg);
}

.therapy-tile-front, 
.therapy-tile-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.therapy-tile-back {
  transform: rotateY(180deg);
}

.therapy-tile-image-wrap {
  width: 100%;
  height: 140px;
  background: rgba(255, 255, 255, 0.2);
}

.therapy-tile-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.therapy-tile-name {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: inherit;
  letter-spacing: 0.02em;
  padding: 0 24px;
  flex: 1;
  display: flex;
  align-items: center;
}

/* Ukrywa źródło danych na froncie, ale pokazuje w edytorze WP */
.hide-on-front {
  display: none !important;
}

body.wp-admin .hide-on-front,
.editor-styles-wrapper .hide-on-front,
.block-editor-page .hide-on-front {
  display: grid !important;
  opacity: 0.8;
  border: 2px dashed #ccc;
  padding: 20px;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .dynamic-therapies-grid {
    grid-template-columns: 1fr;
  }
}

/* STEPS */
.steps-section {
  padding: 100px 80px;
  background: var(--cream);
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0, var(--accent) 8px, transparent 8px, transparent 16px);
  opacity: 0.3;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.step-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(26, 26, 24, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}

.step:hover .step-num {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: scale(1.1);
}

.step-img {
  width: 100%;
  height: 110px;
  border-radius: 14px;
  background: var(--warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  opacity: 0.7;
}

.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}

.step-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* --- ANIMACJE IKONEK KROKÓW --- */
@keyframes animRing {
  0% { transform: rotate(0); }
  5% { transform: rotate(15deg); }
  10% { transform: rotate(-10deg); }
  15% { transform: rotate(15deg); }
  20% { transform: rotate(-10deg); }
  25% { transform: rotate(0); }
  100% { transform: rotate(0); }
}
.anim-ring {
  display: inline-block;
  animation: animRing 3s infinite ease-in-out;
  transform-origin: center;
}

@keyframes animWrite {
  0% { transform: translate(0, 0) rotate(0deg); }
  5% { transform: translate(3px, -3px) rotate(-5deg); }
  10% { transform: translate(-2px, 2px) rotate(5deg); }
  15% { transform: translate(3px, -3px) rotate(-5deg); }
  20% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
.anim-write {
  display: inline-block;
  animation: animWrite 3s infinite ease-in-out;
  transform-origin: bottom right;
}

@keyframes animPencil {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(-20deg); }
  20% { transform: rotate(10deg); }
  30% { transform: rotate(-15deg); }
  40% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}
.anim-pencil {
  display: inline-block;
  animation: animPencil 3s infinite ease-in-out;
  transform-origin: bottom left;
}

@keyframes animGrow {
  0% { transform: scale(0.9) translateY(4px); }
  15% { transform: scale(1.15) translateY(-4px); }
  30% { transform: scale(1) translateY(0); }
  100% { transform: scale(1) translateY(0); }
}
.anim-grow {
  display: inline-block;
  animation: animGrow 3s infinite ease-in-out;
  transform-origin: bottom center;
}


/* SUPPORT STRIP */
.support-strip {
  background: var(--dark);
  padding: 40px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.support-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.support-item-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.support-item-val {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.support-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
}

.support-item-left,
.support-item-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.support-text-muted {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.support-divider-small {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
}

.support-text-red {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin: 0;
}

.support-item-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.support-heart {
  margin: 0;
}

.support-text-white {
  font-size: 15px;
  color: #fff;
  margin: 0;
}

.btn-support {
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}

.btn-support:hover {
  background: #c45a2a;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(217, 107, 58, 0.4);
}

/* CONTACT */
.contact-section {
  padding: 100px 80px;
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-form-wrap {
  background: #fff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
}

.contact-form-wrap h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 14px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: #fff;
}

.form-group textarea {
  height: 120px;
}

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.contact-info p {
  font-size: 16px;
  line-height: 1.7;
  color: #4A4A42;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-detail-text {
  font-size: 15px;
  color: var(--text);
}

.contact-detail-text span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

/* FOOTER */
footer {
  background: var(--dark);
  padding: 60px 80px 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.45);
}

.footer-cols {
  display: flex;
  gap: 64px;
}

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* =============================================
   ANIMATED ICON DECORATIONS
   ============================================= */

/* Base icon accent — positioned near content */
.deco-icon {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  width: 56px;
  height: 56px;
  opacity: 0;
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
  transform: scale(0.6);
}

.deco-icon.deco-visible {
  opacity: 1;
  transform: scale(1);
}

.deco-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* Size variants */
.deco-icon.deco-sm { width: 40px; height: 40px; }
.deco-icon.deco-md { width: 56px; height: 56px; }
.deco-icon.deco-lg { width: 72px; height: 72px; }
.deco-icon.deco-xl { width: 96px; height: 96px; }

/* --- HEART PULSE --- */
@keyframes deco-pulse {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.18); }
  70% { transform: scale(0.94); }
}
.deco-icon .heart-g { animation: deco-pulse 1.8s ease-in-out infinite; }

/* --- PUZZLE ROCK --- */
@keyframes deco-puzzle-rock {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}
.deco-icon .puzzle-g { animation: deco-puzzle-rock 2.4s ease-in-out infinite; transform-origin: 36px 36px; }

/* --- HAND WAVE --- */
@keyframes deco-wave {
  0%, 100% { transform: rotate(0deg); }
  30% { transform: rotate(-8deg); }
  60% { transform: rotate(6deg); }
}
.deco-icon .hand-g { animation: deco-wave 2.4s ease-in-out infinite; transform-origin: 38px 62px; }

/* --- STAR SPIN --- */
@keyframes deco-spin-star {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.15); }
  100% { transform: rotate(360deg) scale(1); }
}
.deco-icon .star-g { animation: deco-spin-star 4.5s linear infinite; transform-origin: 36px 36px; }

/* --- LEAF SWAY --- */
@keyframes deco-sway {
  0%, 100% { transform: rotate(0deg); }
  30% { transform: rotate(-12deg); }
  70% { transform: rotate(10deg); }
}
.deco-icon .leaf-g { animation: deco-sway 2.6s ease-in-out infinite; transform-origin: 36px 52px; }

/* --- SUN SPIN --- */
@keyframes deco-sun-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.deco-icon .rays-g { animation: deco-sun-spin 8s linear infinite; transform-origin: 36px 36px; }

/* --- SPEECH BUBBLE BLINK --- */
@keyframes deco-blink-dot {
  0%, 80%, 100% { opacity: 0.25; }
  40% { opacity: 1; }
}
.deco-icon .dot1 { animation: deco-blink-dot 1.4s ease-in-out infinite; }
.deco-icon .dot2 { animation: deco-blink-dot 1.4s ease-in-out 0.2s infinite; }
.deco-icon .dot3 { animation: deco-blink-dot 1.4s ease-in-out 0.4s infinite; }

/* --- SUN RAYS SPIN --- */
@keyframes deco-sun-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.deco-icon .rays-g { animation: deco-sun-spin 8s linear infinite; transform-origin: 36px 36px; }

/* --- MAGNIFIER BOUNCE --- */
@keyframes deco-mag-bounce {
  0%, 100% { transform: translate(0, 0); }
  40% { transform: translate(3px, -3px); }
  70% { transform: translate(-2px, 2px); }
}
.deco-icon .mag-g { animation: deco-mag-bounce 2s ease-in-out infinite; }

/* Ensure parent sections are positioned for absolute children */
.hero, .about, .cards-section, .help-section, .steps-section, .contact-section {
  position: relative;
}

/* Reduced motion — disable all decorative animations */
@media (prefers-reduced-motion: reduce) {
  .deco-icon svg g,
  .deco-icon svg circle {
    animation: none !important;
  }
}

/* Hide on very small screens */
@media (max-width: 600px) {
  .deco-icon {
    display: none;
  }
}


/* === RESPONSIVE STYLES === */

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {

  /* HERO */
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-sub {
    margin: 0 auto 36px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 400px;
    margin-top: 40px;
  }

  /* CARDS */
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* HELP */
  .help-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .help-text .btn-primary {
    margin: 0 auto;
  }

  /* STEPS */
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .steps-grid::before {
    display: none;
  }

  /* CONTACT / SUPPORT */
  .contact-section {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-info {
    text-align: center;
  }

  .contact-details {
    align-items: center;
  }

  /* FOOTER */
  .footer-cols {
    gap: 30px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {

  /* NAV */
  nav {
    padding: 0 20px;
  }

  /* Could be toggleable via JS if needed, but WP handles this natively now */
  .nav-icons {
    gap: 10px;
  }

  /* PADDING */
  .hero-content {
    padding: 20px;
  }

  .about,
  .cards-section,
  .help-section,
  .steps-section,
  .contact-section {
    padding: 60px 20px;
  }

  /* SCALED TYPOGRAPHY */
  .about::before {
    font-size: 60px;
  }

  .hero h1 {
    font-size: clamp(32px, 8vw, 42px);
  }

  .about h2,
  .cards-section h2,
  .help-section h2,
  .steps-section h2 {
    font-size: clamp(28px, 6vw, 36px);
  }

  /* HERO CIRCLE */
  .hero-circle {
    width: 300px;
    height: 300px;
  }

  .hero-circle div {
    font-size: 60px !important;
  }

  .hero-circle::after {
    font-size: 80px;
    bottom: 30px;
    right: 30px;
  }

  .floating-badge {
    padding: 10px 14px;
  }

  .floating-badge.b1 {
    bottom: 60px;
    left: 0px;
  }

  .floating-badge.b2 {
    top: 60px;
    right: 0px;
  }

  .badge-num {
    font-size: 20px;
  }

  .badge-label {
    font-size: 9px;
  }

  /* CARDS */
  .cards-grid {
    grid-template-columns: 1fr;
  }

  /* HELP VISUAL GRID */
  .help-visual {
    grid-template-columns: 1fr;
  }

  /* STEPS */
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-img {
    height: auto;
    padding: 20px 0;
  }

  /* SUPPORT STRIP */
  .support-strip {
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
  }

  .support-divider {
    width: 60px;
    height: 1px;
  }

  /* CONTACT FORM */
  .contact-form-wrap {
    padding: 30px 20px;
  }

  /* FOOTER */
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .footer-brand {
    text-align: center;
    margin: 0 auto;
  }

  .footer-cols {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .footer-col {
    width: 45%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}


/* === SUBPAGE REFINEMENTS === */

.subpage-hero {
  padding: 120px 0 80px;
  background-color: var(--cream);
}

.subpage-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.subpage-hero-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--dark);
}

.subpage-hero-desc {
  font-size: 12px;
  color: var(--text);
  line-height: 1.6;
  max-width: 320px;
}

.zrzutka-banner {
  background-color: var(--coral);
  color: #fff;
  padding: 0;
}

.zrzutka-banner-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
}

.zrzutka-banner-left {
  width: 300px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  flex-shrink: 0;
}

.zrzutka-banner-right {
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.zrzutka-banner-title {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 16px;
}

.zrzutka-banner-desc {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  max-width: 400px;
}

.zrzutka-btn {
  background-color: #E2E2E2;
  color: var(--text);
  border: none;
  padding: 8px 32px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  margin-top: 16px;
}

.zrzutka-btn:hover {
  background-color: #ccc;
}

.tax-section {
  padding: 80px 20px;
  text-align: center;
}

.tax-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  margin-bottom: 30px;
  color: var(--dark);
}

.sponsors-section {
  background-color: #EBF4F6;
  padding: 60px 0;
  text-align: center;
  overflow: hidden;
}

.sponsors-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--dark);
}

/* RESPONSIVE FIXES FOR NEW SUBPAGE ELEMENTS */
@media (max-width: 768px) {
  .subpage-hero-inner {
    padding: 0 20px;
  }

  .zrzutka-banner-inner {
    flex-direction: column;
  }

  .zrzutka-banner-left {
    width: 100%;
    padding: 40px;
  }

  .zrzutka-banner-right {
    padding: 40px 20px;
    align-items: center;
    text-align: center;
  }
}

/* TICKER LOGO ANIMATION (SUPPORT STRIP) */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  margin-top: 40px;
  background: transparent;
}

.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, #FAF7F2 0%, transparent 100%);
}

.ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, #FAF7F2 0%, transparent 100%);
}

.ticker-content {
  display: flex;
  width: fit-content;
  animation: ticker 25s linear infinite;
  gap: 40px;
  padding-right: 40px;
}

.ticker-logo {
  flex-shrink: 0;
  width: 180px;
  height: 80px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  color: #1A1A18;
  font-size: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(26, 26, 24, 0.05);
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* =========================================
   SUBPAGE: TERAPIE (Zig-Zag Layout)
   ========================================= */
.therapies-section {
  padding: 120px 30px;
  /* 30px od krawędzi strony */
  background: #fff;
  overflow-x: hidden;
}

.therapies-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.therapies-header-label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.therapies-header-label::before,
.therapies-header-label::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.therapies-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.therapies-header p {
  font-size: 17px;
  color: #7A7A72;
  line-height: 1.7;
}

.therapy-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1600px;
  margin: 0 auto;
  list-style: none; /* WP reset */
  padding: 0;
}

.therapy-card {
  position: relative;
  width: 100%;
  min-height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 0;
  z-index: 1;
}

.therapy-card::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(50% + 300px);
  /* Skraca blok po drugiej stronie! Krawędź zatrzymuje się zawsze 80px za tekstem */
  max-width: 100%;
  background: #F6F6F6;
  border-radius: 20px;
  z-index: -1;
}

.therapy-card:nth-child(odd)::before,
li:nth-child(odd) .therapy-card::before,
.therapy-list > .wp-block-group:nth-child(odd)::before {
  left: 0;
  right: auto;
}

.therapy-card:nth-child(even)::before,
li:nth-child(even) .therapy-card::before,
.therapy-list > .wp-block-group:nth-child(even)::before,
.therapy-card.is-right::before {
  right: 0;
  left: auto;
}

.therapy-visual {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  height: 220px;
  background: #d9d9d9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  z-index: 0;
  overflow: hidden;
  margin: 0 !important;
}

.therapy-visual a,
.therapy-visual img,
.therapy-visual .wp-block-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50%;
  display: block;
  margin: 0;
}

.therapy-card:nth-child(odd) .therapy-visual,
li:nth-child(odd) .therapy-card .therapy-visual,
.therapy-list > .wp-block-group:nth-child(odd) .therapy-visual {
  left: 40px;
  right: auto;
}

.therapy-card:nth-child(even) .therapy-visual,
li:nth-child(even) .therapy-card .therapy-visual,
.therapy-list > .wp-block-group:nth-child(even) .therapy-visual,
.therapy-card.is-right .therapy-visual {
  right: 40px;
  left: auto;
}

.therapy-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 440px;
  position: relative;
  z-index: 2;
}

.therapy-label,
.therapy-label a {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent) !important;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-decoration: none !important;
  display: inline-block;
  margin-right: 8px;
}

.therapy-content h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1A1A18;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0;
}

.therapy-content h3 a {
  color: inherit !important;
  text-decoration: none !important;
}

.therapy-desc,
.therapy-desc p {
  font-size: 13px;
  color: #4A4A42;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 400px;
  margin-top: 0;
}

.btn-therapy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  background: #e2e2e2;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: #1A1A18;
  text-decoration: none;
  transition: all 0.25s;
}

.btn-therapy:hover {
  background: #d0d0d0;
}

/* === TOGGLE: pełny opis === */
.btn-toggle-desc {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 9px 22px;
  background: transparent;
  border: 1.5px solid var(--accent);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--accent);
  cursor: pointer;
  transition: background 0.22s, color 0.22s, transform 0.18s, box-shadow 0.22s;
  font-family: 'DM Sans', sans-serif;
}

.btn-toggle-desc:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(229, 57, 53, 0.25);
}

.btn-toggle-desc .btn-toggle-arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  line-height: 1;
  font-size: 14px;
}

.btn-toggle-desc.is-open .btn-toggle-arrow {
  transform: rotate(180deg);
}

/* Krótki tekst – domyślnie widoczny */
.therapy-desc-short {
  transition: opacity 0.3s ease, max-height 0.4s ease;
  overflow: hidden;
  max-height: 200px;
  opacity: 1;
}

/* Pełny tekst – domyślnie ukryty */
.therapy-desc-full {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: opacity 0.35s ease, max-height 0.4s ease;
  font-size: 13px;
  color: #4A4A42;
  line-height: 1.6;
  margin-top: 0;
  max-width: 400px;
}

/* Stan aktywny – pełny opis widoczny */
.therapy-content.desc-expanded .therapy-desc-short {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.therapy-content.desc-expanded .therapy-desc-full {
  max-height: 800px;
  opacity: 1;
}

/* --- WIDOCZNOŚĆ W EDYTORZE WP --- */
/* W edytorze chcemy zawsze widzieć oba opisy, by móc je swobodnie edytować */
body.wp-admin .therapy-desc-short,
.editor-styles-wrapper .therapy-desc-short,
.block-editor-page .therapy-desc-short {
  max-height: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

body.wp-admin .therapy-desc-full,
.editor-styles-wrapper .therapy-desc-full,
.block-editor-page .therapy-desc-full {
  max-height: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  display: block !important;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed #ccc;
}

body.wp-admin .therapy-desc-full::before,
.editor-styles-wrapper .therapy-desc-full::before,
.block-editor-page .therapy-desc-full::before {
  content: "Pełny opis (widoczny po rozwinięciu):";
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: bold;
}

body.wp-admin .btn-toggle-desc,
.editor-styles-wrapper .btn-toggle-desc,
.block-editor-page .btn-toggle-desc {
  opacity: 0.5 !important;
  pointer-events: none !important;
}

@media (max-width: 1024px) {
  .therapy-card::before {
    width: 100%;
    /* Powrót do pełnej szerokości na tabletach, brak miejsc na skracanie */
  }
}

@media (max-width: 768px) {
  .therapy-card {
    flex-direction: column !important;
    padding: 40px 20px !important;
    justify-content: flex-start;
  }

  .therapy-card::before {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }

  .therapy-visual {
    position: relative !important;
    top: auto !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    margin-bottom: 30px;
    width: 160px;
    height: 160px;
  }
}


/* =========================================
   SINGLE THERAPY PAGE
   ========================================= */
.single-therapy-section {
  padding: 120px 80px;
  background: var(--cream);
  min-height: 100vh;
}

.single-therapy-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 100px;
  align-items: stretch;
}

.single-breadcrumbs {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.single-breadcrumbs span {
  color: var(--accent);
}

.single-breadcrumbs a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.single-breadcrumbs a:hover {
  color: var(--dark);
}

.single-therapy-title {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 900;
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.single-therapy-line {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 48px;
}

.therapy-instructor {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid rgba(26,26,24,0.06);
  padding: 16px 24px;
  border-radius: 12px;
  margin-bottom: 48px;
  margin-top: -10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  max-width: fit-content;
}

.therapy-instructor-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
  border: 1px solid rgba(26,26,24,0.05);
}

.therapy-instructor-info {
  display: flex !important;
  flex-direction: column !important;
}

.therapy-instructor-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
  margin-top: 0;
}

.therapy-instructor-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.single-therapy-article p {
  font-size: 15px;
  color: #4A4A42;
  line-height: 1.8;
  margin-bottom: 28px;
}

.single-therapy-sidebar {
  height: 100%;
}

.single-therapy-image {
  width: 100%;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #efe5da 0%, #e0cebe 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.single-therapy-image .wp-block-image,
.single-therapy-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  margin: 0 !important;
  border-radius: 50%;
}

.single-therapy-icon {
  position: relative;
  z-index: 2;
  color: rgba(26, 26, 24, 0.4);
}

.single-therapy-sticky {
  position: sticky;
  top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 40px;
}

.therapy-info-box {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.therapy-info-box h4 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
}

.therapy-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.therapy-info-list li {
  font-size: 14px;
  color: var(--dark);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 14px;
}

.therapy-info-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.therapy-action-box {
  background: var(--dark);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.therapy-action-box h4 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.therapy-action-box p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 32px;
}

.btn-therapy-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s;
}

.btn-therapy-action:hover {
  background: #c45a2a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 107, 58, 0.3);
}

@media (max-width: 1024px) {
  .single-therapy-container {
    grid-template-columns: 1fr;
  }

  .single-therapy-sticky {
    position: relative;
    top: 0;
  }

  .single-therapy-image {
    max-width: 400px;
    margin: 0 auto 40px;
  }
}

@media (max-width: 768px) {
  .single-therapy-section {
    padding: 80px 20px;
  }

  .single-therapy-title {
    font-size: 42px;
  }
}

/* =========================================
   SUBPAGE: BLOG
   ========================================= */
.blog-section {
  padding: 120px 80px;
  background: var(--cream);
  min-height: 100vh;
}

.blog-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 80px;
}

.blog-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  font-weight: 900;
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.blog-line {
  width: 60px;
  height: 3px;
  background: var(--accent);
}

.blog-list {
  list-style: none;
  /* In case WP renders as UL */
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 80px;
  border-radius: 24px;
  gap: 60px;
}

/* Alternate background colors organically */
.blog-card:nth-child(odd),
li:nth-child(odd)>.blog-card {
  background: #CFE3EE;
}

.blog-card:nth-child(even),
li:nth-child(even)>.blog-card {
  background: #EDD4D4;
}

.blog-card-content {
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.blog-date,
.blog-date time {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(26, 26, 24, 0.5);
  text-transform: uppercase;
  margin: 0 !important;
}

.blog-category,
.blog-category a {
  background: rgba(255, 255, 255, 0.8);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--dark) !important;
  text-transform: uppercase;
  text-decoration: none !important;
  display: inline-block;
  margin: 0 !important;
}

.blog-card-title {
  margin-bottom: 20px;
  margin-top: 0;
}

.blog-card-title h3,
.blog-card-title a {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--dark) !important;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none !important;
}

.blog-card-title a:hover {
  opacity: 0.7;
}

.blog-card-excerpt,
.blog-card-excerpt p {
  font-size: 15px;
  color: rgba(26, 26, 24, 0.75);
  line-height: 1.7;
  max-width: 800px;
  margin: 0;
}

.blog-card-action {
  flex-shrink: 0;
}

.btn-blog {
  background: rgba(255, 255, 255, 0.8);
  color: var(--dark);
  padding: 14px 32px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
}

.btn-blog:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

@media (max-width: 1024px) {
  .blog-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 50px;
    gap: 40px;
  }

  .blog-card-action {
    width: 100%;
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .blog-section {
    padding: 80px 20px;
  }

  .blog-card {
    padding: 40px 24px;
  }

  .blog-header h1 {
    font-size: 52px;
  }

  .blog-card-content h3 {
    font-size: 26px;
  }
}

/* =========================================
   SUBPAGE: AKTUALNOŚCI (News Grid)
   ========================================= */
.news-section {
  padding: 120px 80px;
  background: var(--cream);
  min-height: 100vh;
}

.news-header {
  text-align: center;
  margin-bottom: 80px;
}

.news-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  font-weight: 900;
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.news-line {
  width: 60px;
  height: 3px;
  background: var(--coral);
  margin: 0 auto;
}

/* Wymuszamy szerokość kontenera pętli, nadpisując blokadę layout:constrained WP */
.news-query-wrapper {
  max-width: 1400px !important;
  width: 100% !important;
  margin: 0 auto;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-grid>li {
  display: flex !important;
  flex-direction: column;
}

.news-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.3s;
  height: 100%;
  width: 100%;
  min-height: 550px;
}

.news-card:hover {
  transform: translateY(-8px);
}

/* 3-Kolumnowy Układ Szachownicy (Alternating Colors) */
/* Rozwiązanie idealne dla 3 kolumn to parzystość co drugi element globalnie */
.news-card:nth-child(odd),
li:nth-child(odd)>.news-card {
  background: #60B0D7;
}

/* Niebieski */

.news-card:nth-child(even),
li:nth-child(even)>.news-card {
  background: #E98585;
}

/* Czerwony/Koralowy */

.news-card-image {
  width: 100%;
  aspect-ratio: 16/9; /* Zmniejszone o około 25% w stosunku do 4/3 */
  position: relative;
  display: block;
  margin: 0 !important;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.05); /* Placeholder if missing */
  overflow: hidden; /* Odcina wystającą grafikę */
  min-height: 0; /* Zmusza flex-item do sztywnych ram zamiast rozszerzać pod content */
}

/* Wymuszamy, by ew. link okalający zdjęcie i samo zdjęcie miały dokładnie taki sam, sztywny rozmiar */
.news-card-image a,
.news-card-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

.news-card-content,
.news-card-content>.wp-block-group__inner-container {
  position: relative;
  z-index: 2;
  padding: 40px;
  color: #1A1A18;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-grow: 1;
  height: 100%;
}

.news-card-content>.wp-block-group__inner-container {
  padding: 0;
  /* Unikamy podwójnego paddingu jeśli inner-container istnieje */
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.news-date,
.news-date time,
.news-date a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(26, 26, 24, 0.6) !important;
  text-transform: uppercase;
  text-decoration: none !important;
  margin: 0;
}

.news-category {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
}

.news-category a {
  background: rgba(0, 0, 0, 0.08); /* Szare tło */
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1A1A18 !important;
  text-decoration: none !important;
  display: inline-block;
  backdrop-filter: blur(4px);
}

.news-card-title,
.news-card-title a {
  font-family: 'DM Sans', sans-serif; /* Na nowym zdjęciu wygląda na prosty font bezszeryfowy, nie Playfair */
  font-size: 24px;
  font-weight: 400; /* Zwykła grubość jak na grafice */
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 12px;
  color: #1A1A18 !important;
  text-decoration: none !important;
}

.news-card-excerpt,
.news-card-excerpt p {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  color: #1A1A18 !important;
  margin-top: 0;
  margin-bottom: 32px;
}

.news-card-action {
  margin-top: auto;
}

.btn-news {
  background: rgba(0, 0, 0, 0.2); /* Grey pill */
  color: #1A1A18 !important;
  padding: 12px 32px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: all 0.25s;
  display: inline-flex;

}

.btn-news:hover {
  background: rgba(0, 0, 0, 0.3);
  color: #1A1A18 !important;
}

/* Responsywność dla Aktualności */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  /* Naprawa szachownicy dla 2 kolumn */
  .news-card:nth-child(n),
  li:nth-child(n)>.news-card {
    background: transparent;
  }

  /* Reset */

  /* Wzorzec dla 2 kolumn: niebieski, czerwony | czerwony, niebieski */
  .news-card:nth-child(4n-3),
  .news-card:nth-child(4n),
  li:nth-child(4n-3)>.news-card,
  li:nth-child(4n)>.news-card {
    background: #60B0D7;
  }

  .news-card:nth-child(4n-2),
  .news-card:nth-child(4n-1),
  li:nth-child(4n-2)>.news-card,
  li:nth-child(4n-1)>.news-card {
    background: #E98585;
  }
}

@media (max-width: 768px) {
  .news-section {
    padding: 80px 20px;
  }

  .news-header h1 {
    font-size: 48px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .news-card-content {
    padding: 30px 20px;
  }

  /* Reset szachownicy dla 1 kolumny (na przemian) */
  .news-card:nth-child(n),
  li:nth-child(n)>.news-card {
    background: transparent;
  }

  .news-card:nth-child(odd),
  li:nth-child(odd)>.news-card {
    background: #60B0D7;
  }

  .news-card:nth-child(even),
  li:nth-child(even)>.news-card {
    background: #E98585;
  }
}

/* FOOTER */
.dar-losu-footer {
  background: var(--dark) !important;
  padding: 60px 80px 40px !important;
  color: rgba(255, 255, 255, 0.65) !important;
  margin-top: 0 !important;
}

.footer-top {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff !important;
  margin-bottom: 12px;
  margin-top: 0;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.45) !important;
  margin-top: 0;
}

.footer-cols {
  gap: 64px;
}

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4) !important;
  margin-bottom: 18px;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: none !important;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff !important;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3) !important;
  margin: 0;
}

/* --- WSPARCIE --- */
.wsparcie-zrzutka-btn:hover {
  background: #fff;
  color: var(--accent) !important;
}

.sponsors-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}
.sponsors-track {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: marquee 30s linear infinite;
}
.sponsor-pill {
  background: #fff;
  padding: 24px 48px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12px)); }
}

.wsparcie-contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.wc-item {
  display: flex;
  align-items: center;
  gap: 24px;
}
.wc-icon {
  width: 56px;
  height: 56px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.wc-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--dark);
  font-weight: 600;
}
.wc-text span {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

@media (max-width: 900px) {
  .wsparcie-contact {
    grid-template-columns: 1fr !important;
    padding: 60px 40px !important;
  }
}

/* --- HERO SPLIT (GLOBAL) --- */
.hero-split {
  background: var(--bg);
  padding: 100px 80px 60px;
}

@media (max-width: 900px) {
  .hero-split {
    padding: 60px 20px;
  }
}

/* --- NOWY BANER ZRZUTKA (FULL WIDTH Z IKONAMI) --- */
.wsparcie-zrzutka-new {
  background: var(--accent) !important;
  position: relative !important;
  overflow: hidden !important;
  padding: 120px 20px !important;
  text-align: center;
  margin: 0 !important;
}

.wsparcie-zrzutka-new h2,
.wsparcie-zrzutka-new p {
  color: #fff !important;
}
.zrzutka-bg-icons {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.z-icon {
  position: absolute;
  color: #fff;
  opacity: 0.15;
  width: 48px;
  height: 48px;
}

@keyframes iconFloat {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.05); }
  100% { transform: translateY(0) scale(1); }
}

.z-icon svg {
  width: 100%;
  height: 100%;
  animation: iconFloat 8s ease-in-out infinite;
}

.icon-star { top: 15%; left: 10%; transform: rotate(-15deg); }
.icon-star svg { animation-delay: 0s; }

.icon-book { top: 45%; left: 22%; transform: rotate(10deg); }
.icon-book svg { animation-delay: -2s; }

.icon-house { bottom: 15%; left: 12%; }
.icon-house svg { animation-delay: -4s; }


.icon-heart { top: 15%; right: 10%; transform: rotate(15deg); }
.icon-heart svg { animation-delay: -1s; }

.icon-shield { top: 45%; right: 22%; transform: rotate(-10deg); }
.icon-shield svg { animation-delay: -3s; }

.icon-user { bottom: 15%; right: 12%; }
.icon-user svg { animation-delay: -5s; }

.btn-zrzutka-outline a:hover {
  background: #fff;
  color: var(--accent) !important;
}

/* Color inversion for custom blocks dropped into the red banner */
.wsparcie-zrzutka-new,
.wsparcie-zrzutka-new h1,
.wsparcie-zrzutka-new h2,
.wsparcie-zrzutka-new h3,
.wsparcie-zrzutka-new h4,
.wsparcie-zrzutka-new p,
.wsparcie-zrzutka-new span,
.wsparcie-zrzutka-new strong,
.wsparcie-zrzutka-new .section-label {
  color: #fff !important;
}

.wsparcie-zrzutka-new span[style*="border"] {
  border-color: rgba(255, 255, 255, 0.4) !important;
}

.wsparcie-zrzutka-new .section-label::before,
.wsparcie-zrzutka-new .section-label::after {
  background: #fff !important;
}

@media (max-width: 768px) {
  .z-icon {
    width: 32px;
    height: 32px;
  }
  .icon-star { top: 10%; left: 5%; }
  .icon-book { top: 50%; left: 5%; }
  .icon-house { bottom: 10%; left: 5%; }
  .icon-heart { top: 10%; right: 5%; }
  .icon-shield { top: 50%; right: 5%; }
  .icon-user { bottom: 10%; right: 5%; }
}

/* --- SZKOŁA PODSTAWOWA --- */
.hero-szkola {
  background: #fff;
  padding: 100px 80px;
  position: relative;
  overflow: hidden;
}

.szkola-hero-line {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin-top: 40px;
}

@media (max-width: 900px) {
  .hero-szkola { padding: 60px 20px; }
}

.szkola-features {
  background: #EBE3D5;
  padding: 100px 80px;
  text-align: center;
}

.sf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
  text-align: left;
}

.sf-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.sf-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.sf-icon-wrap {
  width: 50px; height: 50px;
  background: #E8F3E9;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 30px;
}

.sf-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #72A775;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sf-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.sf-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 30px;
  flex-grow: 1;
}

.sf-link, .sf-link a {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  display: flex; align-items: center; gap: 4px;
}

@media (max-width: 1100px) {
  .sf-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .szkola-features { padding: 60px 20px; }
  .sf-grid { grid-template-columns: 1fr; }
}

.szkola-team {
  background: var(--cream);
  padding: 100px 80px;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
  text-align: left;
}

.team-card {
  background: #282828;
  border-radius: 20px;
  display: flex;
  overflow: hidden;
  min-height: 480px;
}

.team-card-left {
  width: 35%;
  background: #1D1C1A;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.team-card-left::before {
  content: '';
  position: absolute;
  top: -50px; left: -50px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}

.team-card-right {
  width: 65%;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
}

.team-role {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.team-name {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 24px;
}

.team-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 30px;
  flex-grow: 1;
}

.team-link, .team-link a {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.team-link:hover, .team-link a:hover {
  color: #fff;
}

@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .szkola-team { padding: 60px 20px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { min-height: 400px; }
}

/* --- DO POBRANIA --- */
.downloads-section {
  padding: 100px 80px;
  background: var(--cream);
  text-align: center;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 60px auto 0;
  text-align: left;
}

.download-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
  border-color: rgba(217, 107, 58, 0.1);
}

.download-icon {
  width: 60px;
  height: 60px;
  background: #F4EFE6;
  border-radius: 12px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-top: 0 !important;
  margin-bottom: 24px;
}

.download-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-top: 0 !important;
  margin-bottom: 12px;
  line-height: 1.3;
}

.download-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 0 !important;
  margin-bottom: 30px;
  flex-grow: 1;
}

.download-card .wp-block-button,
.download-card .wp-block-buttons {
  width: 100%;
  margin: 0;
}

.download-card .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s;
  width: 100%;
  box-sizing: border-box;
}

.download-card .wp-block-button__link:hover {
  background: var(--dark);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 107, 58, 0.2);
}

@media (max-width: 1100px) {
  .downloads-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .downloads-section { padding: 60px 20px; }
  .downloads-grid { grid-template-columns: 1fr; }
}

/* --- WSPARCIE REDESIGN --- */
.wsparcie-hero {
  padding: 100px 80px 40px;
  background: var(--cream);
}
.wsparcie-hero-label {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.wsparcie-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 24px;
}
.wsparcie-hero h1 em {
  font-style: italic;
  font-weight: 400;
}
.wsparcie-hero-desc {
  font-size: 16px;
  color: #4A4A42;
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 40px;
}
.wsparcie-red-card {
  background: var(--accent);
  border-radius: 24px;
  padding: 48px;
  color: #fff;
  position: relative;
}
.wsparcie-red-card-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
  display: block;
}
.wsparcie-red-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}
.wsparcie-red-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
}
.wsparcie-krs-box {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 100px;
  padding: 12px 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.wsparcie-krs-box p {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}
.wsparcie-krs-box p strong {
  font-size: 24px;
  letter-spacing: 2px;
}
.wsparcie-krs-box p.copy-btn {
  margin: 0;
}
.wsparcie-krs-box p.copy-btn a {
  background: #fff;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  display: inline-block;
  text-decoration: none;
}
.wsparcie-krs-info {
  display: flex;
  gap: 16px;
}
.wsparcie-krs-info p {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  margin: 0;
}
.wsparcie-floating-card {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: #fff;
  border-radius: 16px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  color: var(--dark);
  z-index: 10;
}
.wsparcie-floating-icon {
  width: 32px;
  height: 32px;
  background: #EBF4F6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent3);
}
.wsparcie-floating-text {
  display: flex;
  flex-direction: column;
}
.wsparcie-floating-text p {
  margin: 0;
}
.wsparcie-floating-text p strong {
  font-size: 13px;
  font-weight: 700;
}
.wsparcie-floating-text p:last-child {
  font-size: 11px;
  color: var(--muted);
}
.wsparcie-stats {
  padding: 40px 80px 80px;
  background: var(--cream);
}
.wsparcie-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 40px 0;
}
.wsparcie-stat-item h2 {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  line-height: 1;
}
.wsparcie-stat-item h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.wsparcie-stat-item p {
  font-size: 12px;
  color: var(--muted);
}
.wsparcie-info {
  padding: 100px 80px;
  background: #fff;
}
.wsparcie-info-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}
.wsparcie-info-header-label {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.wsparcie-info-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark);
}
.wsparcie-info-header p {
  font-size: 16px;
  line-height: 1.6;
  color: #4A4A42;
  margin-bottom: 24px;
}
.wsparcie-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.wsparcie-info-card {
  background: var(--warm);
  border-radius: 20px;
  padding: 40px 32px;
}
.wsparcie-info-card-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 24px;
}
.wsparcie-info-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}
.wsparcie-info-card p {
  font-size: 14px;
  color: #4A4A42;
  line-height: 1.6;
}
.wsparcie-steps {
  padding: 100px 80px;
  background: var(--warm);
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 80px;
}
.wsparcie-steps-left-label {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.wsparcie-steps-left h2 {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: var(--dark);
  margin-bottom: 24px;
}
.wsparcie-steps-left p {
  font-size: 16px;
  line-height: 1.6;
  color: #4A4A42;
  margin-bottom: 40px;
}
.wsparcie-steps-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.wsparcie-step-item {
  display: flex;
  gap: 24px;
}
.wsparcie-step-num {
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}
.wsparcie-step-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  margin-top: 14px;
}
.wsparcie-step-content p {
  font-size: 14px;
  color: #4A4A42;
  line-height: 1.6;
}
.btn-accent, .btn-outline-accent {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}
.btn-accent .wp-block-button__link {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
  border: 2px solid var(--accent);
}
.btn-accent .wp-block-button__link:hover {
  background: var(--dark) !important;
  border-color: var(--dark);
  color: #fff !important;
}
.btn-outline-accent .wp-block-button__link {
  background: transparent !important;
  color: var(--accent) !important;
  padding: 14px 28px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--accent);
  transition: all 0.25s;
}
.btn-outline-accent .wp-block-button__link:hover {
  background: var(--accent) !important;
  color: #fff !important;
}

@media (max-width: 1024px) {
  .wsparcie-hero { padding: 60px 20px; }
  .wsparcie-floating-card { bottom: -20px; left: 20px; right: 20px; }
  .wsparcie-stats { padding: 0 20px 40px; }
  .wsparcie-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .wsparcie-info { padding: 60px 20px; }
  .wsparcie-info-header { grid-template-columns: 1fr; gap: 40px; }
  .wsparcie-info-cards { grid-template-columns: 1fr; }
  .wsparcie-steps { grid-template-columns: 1fr; padding: 60px 20px; gap: 40px; }
}

/* --- FAQ SECTION --- */
.faq-section {
  padding: 100px 80px;
  background: var(--cream);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 60px auto 0;
}
.faq-item {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  transition: all 0.3s;
}
.faq-item[open] {
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  border-color: rgba(217, 107, 58, 0.2);
}
.faq-item summary {
  padding: 24px 32px;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  position: relative;
  outline: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: '−';
  transform: translateY(-50%);
}
.faq-item > *:not(summary) {
  padding: 0 32px 32px;
  font-size: 15px;
  line-height: 1.6;
  color: #4A4A42;
  animation: fadeInDown 0.3s ease-out;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .faq-section { padding: 60px 20px; }
  .faq-item summary { padding: 20px 50px 20px 20px; font-size: 18px; }
  .faq-item summary::after { right: 20px; }
  .faq-item > *:not(summary) { padding: 0 20px 24px; }
}

/* --- PRZYJACIELE FUNDACJI --- */
.przyjaciele-hero {
  padding: 100px 80px 140px;
  background: #fff;
}

.ph-content {
  margin-bottom: 80px;
  gap: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.ph-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--dark);
  margin-top: 0;
  margin-bottom: 0;
}

.ph-content h1 em {
  font-style: italic;
  font-weight: 400;
}

.ph-desc {
  font-size: 16px;
  color: #4A4A42;
  line-height: 1.6;
  margin: 0;
}

.friends-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.friend-card {
  background: #FAF8F4;
  border-radius: 20px;
  padding: 40px 32px;
  border: 1px solid rgba(0,0,0,0.03);
  transition: transform 0.3s, box-shadow 0.3s;
}

.friend-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.fc-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.fc-logo {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 12px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin: 0 !important;
  overflow: hidden;
}

.fc-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.fc-title-group {
  flex-grow: 1;
}

.fc-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px 0 !important;
}

.fc-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 !important;
}

.fc-year {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 !important;
  flex-shrink: 0;
  padding-top: 6px;
}

.fc-desc {
  font-size: 14px;
  color: #4A4A42;
  line-height: 1.6;
  margin: 0 !important;
}

.przyjaciele-cta {
  background: var(--accent);
  padding: 80px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Kropkowane tło takie jak w innych sekcjach red */
.przyjaciele-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 2px, transparent 2px);
  background-size: 30px 30px;
  pointer-events: none;
}

.fcta-cols {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.przyjaciele-cta h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff !important;
  margin: 0 0 16px 0 !important;
}

.przyjaciele-cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.9) !important;
  margin: 0 !important;
}

.btn-white-cta {
  margin: 0 !important;
}

.btn-white-cta .wp-block-button__link {
  background: #fff !important;
  color: var(--accent) !important;
  padding: 16px 32px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid #fff;
}

.btn-white-cta .wp-block-button__link:hover {
  background: transparent !important;
  color: #fff !important;
}

@media (max-width: 900px) {
  .przyjaciele-hero { padding: 60px 20px 80px; }
  .ph-content { grid-template-columns: 1fr; gap: 40px; margin-bottom: 60px; }
  .ph-desc { font-size: 15px; }
  .friends-grid { grid-template-columns: 1fr; }
  .przyjaciele-cta { padding: 60px 20px; }
  .fcta-cols { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .przyjaciele-cta h2 { font-size: 28px; }
  .btn-white-cta { display: flex; justify-content: center; }
}