/*------------------------------------------------------------------
[Table of contents]

1. Import libraries
2. Custom properties
3. General Styles
4. Typography
5. Header and Navbar
6. Buttons and Links
7. Utilities
8. Sections
9. Swiper
10.Boxes and Cards
11.Footer
12.Accordion
13.Error 404
14.Responsive Layouts

-------------------------------------------------------------------*/

/* ---------------------------- */
/* Import libraries             */
/* ---------------------------- */
@import url('https://api.fontshare.com/v2/css?f[]=clash-grotesk@400,500,600,700&f[]=satoshi@400,500,600,700&f[]=general-sans@400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Manrope:wght@400;500;600;700&display=swap');
@import url('../css/vendor/bootstrap.min.css');

/* ---------------------------- */
/* Custom properties            */
/* ---------------------------- */
:root {
  --bg-main: #f6f4ef;
  --bg-alt: #eae4da;
  --heading-color: #1f1f1f;
  --text-body: #6b6862;
  --accent: #8fa68e;
  --accent-soft: #cbbfae;
  --cta: #4f6b5b;
  --cta-hover: #3f5649;

  /* Mapowanie na istniejące klasy w HTML */
  --primary-color: #8fa68e;
  --secondary-color: #cbbfae;
  --text-color: #1f1f1f;
  --text-color-2: #6b6862;
  --accent-color: #8fa68e;
  --accent-color-2: #cbbfae;
  --accent-color-3: #f6f4ef;
  --font-1: "Clash Grotesk", "General Sans", "Satoshi", system-ui, sans-serif;
  --font-2: "Inter", "Manrope", system-ui, sans-serif;
}

/* ---------------------------- */
/* General Styles               */
/* ---------------------------- */
body {
  font-family: var(--font-2);
  color: var(--text-body);
  background-color: var(--bg-main);
}

html {
  scroll-behavior: smooth;
}

.bg-light {
  background-color: var(--bg-alt) !important;
}

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

.bg-primary-color {
  background-color: var(--primary-color);
}

.bg-primary-color-2 {
  background-color: var(--accent-color);
}

.bg-secondary-color {
  background-color: var(--secondary-color);
}

.bg-secondary-color-2 {
  background-color: var(--accent-color-2);
}

.bg-accent-color {
  background-color: var(--accent-color-2);
}

.bg-accent-color-2 {
  background-color: var(--accent-color-3);
}

.bg-gradient-primary {
  background: linear-gradient(155deg, var(--cta) 0%, #455f50 52%, #3f5649 100%);
}

.bg-gradient-secondary {
  background: linear-gradient(145deg, var(--cta) 0%, #4a6354 50%, #3f5649 100%);
}

.text-primary-color {
  color: var(--accent);
}

.text-black-color-2 {
  color: var(--text-color);
}

.text-secondary-color-2 {
  color: var(--secondary-color);
}

.text-muted-color {
  color: var(--text-color-2);
}

.accent-primary-color {
  color: var(--accent-color);
}

.accent-secondary-color {
  color: var(--accent-color-2);
}

.accent-tertiary-color {
  color: var(--accent-color-3);
}


.font-2 {
  font-family: var(--font-2);
}

.section {
  padding: 6em 2em 6em 2em;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* Sekcja „O nas” na stronie głównej (#dla-kogo) — mniejszy blok wizualnie, ton bliskościowy */
.section.home-about-compact {
  padding: clamp(1.85rem, 4vw, 2.65rem) 1rem clamp(2rem, 4.5vw, 2.85rem);
  overflow: visible;
}

@media (min-width: 576px) {
  .section.home-about-compact {
    padding-inline: 1.5rem;
  }
}

.section.home-about-compact .home-about-heading {
  font-size: clamp(1.3rem, 1.55vw + 0.92rem, 1.8125rem);
}

.section.home-about-compact .home-about-lead {
  font-size: 0.98rem !important;
  line-height: 1.66;
}

.section.home-about-compact .home-about-intro {
  font-size: 0.9rem !important;
  line-height: 1.55;
  max-width: 36rem;
}

.section.home-about-compact .home-about-quote {
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  max-width: 36rem;
}

@media (min-width: 1200px) {
  .section.home-about-compact .ratio-wrapper-429 {
    max-width: min(100%, 340px);
    margin-inline: auto;
  }
}

@media (min-width: 1200px) {
  .section.home-about-compact .home-about-intro,
  .section.home-about-compact .home-about-quote {
    margin-inline: 0;
  }
}

.section.home-about-compact {
  scroll-margin-top: 5.5rem;
}

.home-about-duo {
  align-items: flex-start;
}

.home-about-person {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.home-about-person__photo {
  width: 100%;
  max-width: min(100%, 280px);
}

@media (min-width: 992px) {
  .home-about-person__photo .ratio-wrapper-429 {
    max-width: 100%;
  }
}

@media (min-width: 992px) {
  .home-about-duo .home-about-person + .home-about-person {
    border-left: 1px solid rgba(31, 31, 31, 0.08);
    padding-left: clamp(1.25rem, 2.5vw, 2rem);
  }
}

#marta,
#karolina {
  scroll-margin-top: 5.5rem;
}

.about-activity-card--compact {
  padding: 0.9rem 1rem;
}

.about-activity-card--compact .about-activity-card__icon {
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.about-activity-card--compact .about-activity-card__title {
  font-size: 0.875rem;
}

.b-container {
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
}

/* ---------------------------- */
/* Typography                   */
/* ---------------------------- */
h1,
h2,
h3,
h4,
h5,
h6,
.font-1 {
  font-family: var(--font-1);
  color: var(--heading-color);
}

h1 {
  font-size: 72px;
}

h2 {
  font-size: 48px;
}

h3 {
  font-size: 32px;
}

h4 {
  font-size: 26px;
}

h5 {
  font-size: 22px;
}

h6 {
  font-size: 20px;
}

button,
a {
  font-size: 18px;
  font-family: var(--font-2);
}

ul {
  list-style: none;
}

p,
li {
  font-size: 18px;
}

img {
  object-fit: cover;
}

/* ---------------------------- */
/* Header and Navbar            */
/* ---------------------------- */
.top-bar {
  background-color: var(--cta);
  /* padding-block: 1.2rem; */
  min-height: 80px;
}

.social-box {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.social-box a {
  background-color: var(--accent);
  text-align: center;
  vertical-align: middle;
  transition: all 0.3s ease-in-out;
}

.social-box a:hover {
  background-color: var(--cta-hover);
  /* transform: scale(1.1); */
}

/* Pasek nad menu: mniejsze, białe ikony + Facebook / X / Instagram */
.top-bar .social-box.top-bar-social {
  gap: 0.45rem;
}

.top-bar .social-box.top-bar-social a.top-bar-social-link {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  width: 1.875rem;
  height: 1.875rem;
  min-width: 1.875rem;
  min-height: 1.875rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.35rem;
  text-decoration: none;
  flex-shrink: 0;
}

.top-bar .social-box.top-bar-social a.top-bar-social-link:hover {
  background-color: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.45);
}

.top-bar .social-box.top-bar-social a.top-bar-social-link i {
  font-size: 0.95rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.94);
}

/* Link do formularza w pasku nad menu */
.top-bar .top-bar-form-link {
  color: rgba(255, 255, 255, 0.95) !important;
  text-underline-offset: 0.2em;
}

.top-bar .top-bar-form-link:hover,
.top-bar .top-bar-form-link:focus-visible {
  color: var(--accent-soft) !important;
  text-underline-offset: 0.25em;
}

/* Bez pionowej kreski między nazwiskami a logo (nagłówek + stopka) */
.brand-lockup-divider,
.footer-brand-lockup__divider {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.navbar-brand-lockup .brand-name-lockup,
.navbar-brand-lockup .brand-foundation-lockup,
.footer-brand-lockup .brand-name-lockup,
.footer-brand-lockup .brand-foundation-lockup,
.footer-brand-lockup .footer-foundation-logo {
  border: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  box-shadow: none !important;
}

.navbar-brand-lockup .brand-name-lockup::before,
.navbar-brand-lockup .brand-name-lockup::after,
.navbar-brand-lockup .brand-foundation-lockup::before,
.footer-brand-lockup .brand-name-lockup::before,
.footer-brand-lockup .brand-name-lockup::after,
.footer-brand-lockup .brand-foundation-lockup::before,
.footer-brand-lockup .footer-foundation-logo::before {
  display: none !important;
  content: none !important;
}

/* Marka w nagłówku: Karolina Puda, Marta Mika (ta sama wielkość) + logo */
.navbar-brand-lockup .brand-name-lockup {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--text-color);
}

.brand-name-lockup__primary,
.brand-name-lockup__secondary {
  font-size: inherit;
  font-weight: 700;
  line-height: 1.18;
  color: var(--text-color);
  letter-spacing: 0.01em;
}

.brand-name-lockup__secondary {
  margin-top: 0.2rem;
}

.navbar-brand-lockup .brand-lockup-logo {
  display: block;
  max-height: clamp(5.25rem, 14vw, 6.5rem);
  width: auto;
  max-width: min(360px, 65vw);
  object-fit: contain;
}

.logo-drawer .navbar-brand-lockup .brand-lockup-logo {
  max-height: 5.75rem;
  max-width: 340px;
}

.footer .brand-name-lockup,
.footer .brand-name-lockup__primary,
.footer .brand-name-lockup__secondary {
  color: #fff;
}

.footer-brand-lockup {
  align-items: center !important;
  gap: 1rem 1.25rem;
}

.footer-brand-lockup .brand-name-lockup {
  flex-shrink: 0;
  margin: 0;
}

.footer-brand-lockup .brand-foundation-lockup {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  line-height: 0;
}

.footer-foundation-logo {
  display: block;
  max-height: clamp(5.25rem, 14vw, 6.5rem);
  width: auto;
  max-width: min(360px, 90vw);
  object-fit: contain;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

header.bg-white {
  background-color: var(--bg-main) !important;
  border-bottom: 1px solid rgba(31, 31, 31, 0.08);
}

.navbar-brand-lockup .brand-name-lockup {
  color: var(--text-color);
}

.nav-link {
  font-size: 1.15rem;
  color: var(--text-color);
  font-weight: 600;
  padding-block: 1.85rem;
  padding-inline: 1.50rem;
}

.nav-link:hover {
  color: var(--cta) !important;
}

.nav-link.active {
  color: var(--cta) !important;
}

.dropdown-menu{
  border: 0;
  border-radius: 0 0 25px 25px;
  padding: 15px 0px;
  width: 220px;
  -webkit-box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.3);
  box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.3);
}

.dropdown-item {
  color: var(--text-color);
  font-size: 1.15rem;
  padding: 15px;
  font-weight: 600;
  padding-block: 0.75rem;
  padding-inline: 0.75rem;
}

.dropdown-item:hover {
  color: var(--cta) !important;
  background-color: transparent;
}

.dropdown-item:focus {
  color: var(--cta) !important;
}

.dropdown-item.active {
  color: var(--cta) !important;
  background-color: transparent;
}
/* ---------------------------- */
/* Buttons and Links            */
/* ---------------------------- */
.btn-quotes,
.btn-primary-solid,
.btn-secondary-solid,
.btn-secondary-solid-2,
.btn-outline-dark,
.hero-shell__btn-outline,
a.btn-quotes,
a.btn-primary-solid,
a.btn-secondary-solid,
a.btn-secondary-solid-2,
a.btn-outline-dark,
button.btn-primary-solid,
button.btn-secondary-solid,
button.btn-secondary-solid-2,
button.btn-outline-dark {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 0.35em;
}

.btn-quotes.w-100,
.btn-primary-solid.w-100,
.btn-secondary-solid.w-100,
.btn-secondary-solid-2.w-100,
.btn-outline-dark.w-100,
.hero-shell__btn-outline.w-100,
.btn-block.btn-primary-solid,
.btn-block.btn-secondary-solid,
.btn-block.btn-secondary-solid-2 {
  width: 100%;
}

.btn-quotes {
  width: 180px;
  background-color: var(--cta);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  border: none;
}

.btn-quotes:hover {
  background-color: var(--cta-hover);
  color: #ffffff;
  border: none;
}

.btn-primary-solid {
  background-color: var(--cta);
  color: #ffffff;
  font-size: 1.15rem;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-primary-solid:hover {
  background-color: var(--cta-hover);
  color: #ffffff;
  border: none;
  transform: translateY(-1px);
}

.btn-secondary-solid {
  background-color: var(--accent);
  color: #ffffff;
  font-size: 1.15rem;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-secondary-solid:hover {
  background-color: var(--cta);
  color: #ffffff;
  border: none;
  transform: translateY(-1px);
}

.btn-secondary-solid-2 {
  background-color: var(--accent);
  color: #ffffff;
  font-size: 1.15rem;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-secondary-solid-2:hover {
  background-color: var(--cta);
  color: #ffffff;
  border: none;
  transform: translateY(-1px);
}

.links-primary {
  font-family: var(--font-2);
  color: var(--text-color);
  font-size: 18px;
  text-decoration: none;
}

.links-primary:hover {
  color: var(--cta);
  text-decoration: none;
}

.links-secondary {
  font-family: var(--font-2);
  color: #FFFFFF;
  font-size: 18px;
  text-decoration: none;
}

.links-secondary:hover {
  color: var(--accent-soft);
  text-decoration: none;
}

.badge-primary-color {
  background-color: var(--cta);
  color: #ffffff;
  font-size: 18px;
  padding: 8px 16px;
  border-radius: 30px;
  font-weight: 600;
}

.badge-primary-color:hover {
  background-color: var(--cta-hover);
  color: #ffffff;
}

.navbar-toggler.bg-primary-color {
  background-color: var(--cta) !important;
}

.btn-outline-dark {
  border-color: rgba(31, 31, 31, 0.35);
  color: var(--heading-color);
}

.btn-outline-dark:hover {
  background-color: var(--cta);
  border-color: var(--cta);
  color: #fff;
}

/* ---------------------------- */
/* Utilities                    */
/* ---------------------------- */
.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.video-box {
  width: 100%;
  max-width: 960px;
  height: auto;
}

.video-overlay .ratio {
  width: 100%;
  height: auto;
}

.video-overlay iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.img-container {
  width: 100%;
  max-width: 100%;
  max-width: 1000px;
}

.ratio-wrapper-429 {
  position: relative;
  aspect-ratio: 3 / 4; /* default: portrait */
  overflow: hidden;
}

.img-circle {
  width: 275px;
  height: 275px;
}

.ratio-wrapper-419 {
  position: relative;
  aspect-ratio: 3 / 4; /* default: portrait */
  overflow: hidden;
}

.bg-overlay-secondary {
  background: linear-gradient(45deg, rgba(79, 107, 91, 0.9), rgba(63, 86, 73, 0.88));
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.transition-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transition-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.scale-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scale-hover:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.bg-secondary-gradient {
  background: linear-gradient(to right, var(--bg-main) 0%, var(--bg-main) 50%, var(--bg-alt) 50%, var(--bg-alt) 100%);
}

.breadcrumb {
  font-size: 22px;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: white !important;
}

.breadcrumb-item a:hover,
.breadcrumb-item.active {
  color: white !important;
}

.list-unstyled {
  padding-left: 0;
  margin-bottom: 0;
}

/* ---------------------------- */
/* Sections                     */
/* ---------------------------- */
.banner-section {
  position: relative;
  overflow: hidden;
  padding: 50px 75px 0 75px;
  color: white;
}

.hero-section {
  background: linear-gradient(155deg, var(--cta) 0%, #4a6354 48%, #3f5649 100%);
  background-size: cover;
  background-position: center center;
  padding-bottom: 80px;
}

/* Krótki slogan nad tytułem hero — bez „krzyku” wizualnego, spójny z innymi kickerami */
.hero-kicker {
  font-family: var(--font-1);
  font-size: clamp(0.6875rem, 0.45vw + 0.625rem, 0.8125rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.45;
  max-width: 28rem;
  opacity: 0.92;
  color: var(--accent-soft);
}

@media (min-width: 992px) {
  .hero-kicker {
    letter-spacing: 0.17em;
  }
}

.hero-section .hero-kicker {
  color: rgba(255, 255, 255, 0.88);
}

.hero-section .text-primary-color {
  color: var(--accent-soft) !important;
}

/* Cienka linia o fundacji pod tytułem hero — czytelna, ale nie konkuruje z H1 */
.hero-foundation-affiliation {
  font-family: var(--font-1);
  font-size: clamp(0.8125rem, 0.55vw + 0.71rem, 0.9375rem);
  font-weight: 400;
  line-height: 1.52;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.78);
}

@media (min-width: 992px) {
  .hero-foundation-affiliation {
    max-width: 32rem;
  }
}

/* Wersja 2: mała „etykieta” nad treścią + akcent w kolorze primary */
.hero-foundation-affiliation.hero-foundation-affiliation--v2 {
  padding-top: 0.125rem;
}

.hero-foundation-affiliation.hero-foundation-affiliation--v2::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 2px;
  margin: 0 auto 0.85rem;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent-soft) 20%,
    var(--accent-soft) 80%,
    transparent 100%
  );
  opacity: 0.95;
}

@media (min-width: 992px) {
  .hero-foundation-affiliation.hero-foundation-affiliation--v2::before {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero-foundation-affiliation-meta {
  font-size: clamp(0.6875rem, 0.4vw + 0.625rem, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.76);
}

.hero-foundation-affiliation-body {
  font-size: clamp(0.8125rem, 0.5vw + 0.715rem, 0.9375rem);
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.8);
}

/* Hero: „ADHD w harmonii”, pod spodem rząd „Fundacja KaDa” + logo obok nazwy — bez dodatkowych kresek */
.hero-brand-stack {
  max-width: 100%;
}

@media (min-width: 992px) {
  .hero-brand-stack {
    max-width: 36rem;
  }
}

/* Hero: Fundacja KaDa — tekst obok jednego rzędu logo (PNG) */
.hero-brand-foundation-name {
  font-size: clamp(0.9375rem, 0.75vw + 0.82rem, 1.0625rem);
  font-weight: 700;
  letter-spacing: 0.045em;
}

.hero-brand-foundation-logo {
  display: block;
  height: auto;
  width: auto;
  max-height: 48px;
  max-width: min(220px, 56vw);
  object-fit: contain;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .hero-brand-foundation-logo {
    max-height: 52px;
    max-width: 240px;
  }
}

/* Karty oferty na stronie głównej — kompaktowa grafika nad treścią */
.service-offer-card-img {
  height: 112px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 768px) {
  .service-offer-card-img {
    height: 128px;
  }
}

.service-offer-card-icon {
  width: 56px !important;
  height: auto;
  object-fit: contain;
}

.service-offer-read-more-offset {
  margin-top: -18px !important;
}

/* Nasze usługi (services.html) — karty z pasem kolorystycznym + ikona Bootstrap */
.services-elegant-card {
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: 1.25rem;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.services-elegant-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(79, 107, 91, 0.1);
}

.services-elegant-card .services-elegant-visual {
  min-height: 5.5rem;
  padding: 1.15rem 1.25rem;
}

.services-elegant-card .services-elegant-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
}

.services-elegant-card .card-body {
  padding: 1.25rem 1.35rem 1.35rem;
}

@media (min-width: 768px) {
  .services-elegant-card .card-body {
    padding: 1.35rem 1.5rem 1.5rem;
  }
}

.services-elegant-card .services-elegant-list li {
  line-height: 1.4;
}

/* Oferta — zakładki Nasze usługi / Warsztaty */
.oferta-tabs .nav-link {
  font-family: var(--font-1);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-color);
  background: var(--bg-alt);
  border: 1px solid rgba(31, 31, 31, 0.1);
  border-radius: 999px;
  padding: 0.55rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.oferta-tabs .nav-link:hover,
.oferta-tabs .nav-link:focus {
  color: var(--cta);
  border-color: rgba(79, 107, 91, 0.35);
}

.oferta-tabs .nav-link.active {
  color: #fff;
  background: var(--cta);
  border-color: var(--cta);
}

/* O nas — zakładki Karolina / Marta */
.about-section {
  scroll-margin-top: 6rem;
}

.about-person-layout {
  max-width: 72rem;
  margin-inline: auto;
}

.about-person-photo-wrap {
  max-width: 20rem;
}

@media (min-width: 992px) {
  .about-person-photo-wrap {
    max-width: none;
  }
}

.about-activity-card {
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  background: var(--bg-alt);
  border: 1px solid rgba(31, 31, 31, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.about-activity-card:hover {
  border-color: rgba(79, 107, 91, 0.22);
  box-shadow: 0 0.35rem 1.25rem rgba(31, 31, 31, 0.06);
}

.about-activity-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.65rem;
  background: rgba(79, 107, 91, 0.12);
  color: var(--cta);
  font-size: 1.125rem;
  margin-bottom: 0.65rem;
}

.about-activity-card__title {
  font-family: var(--font-1);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-color);
}

.about-activity-card__text {
  color: var(--text-muted);
  line-height: 1.45;
}

/* Karta warsztatu (services.html — zakładka Warsztaty) */
.workshops-grid .workshop-card {
  max-width: none;
}

.workshop-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(31, 31, 31, 0.08);
  background: #fff;
  box-shadow: 0 12px 48px rgba(79, 107, 91, 0.1);
}

.workshop-card__hero {
  padding: clamp(1.35rem, 3.5vw, 2rem) clamp(1.25rem, 3.5vw, 1.75rem);
  background: linear-gradient(135deg, var(--cta) 0%, #5a7566 55%, #4a6354 100%);
  color: #fff;
}

.workshop-card--stationary .workshop-card__hero {
  background: linear-gradient(135deg, #5c6b52 0%, var(--cta) 42%, #3a5044 100%);
}

.workshop-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.workshop-card__pill--accent {
  background: rgba(255, 255, 255, 0.22);
}

.workshop-card__title {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 800;
  line-height: 1.15;
}

.workshop-card__subtitle {
  font-size: 1rem;
  opacity: 0.92;
  line-height: 1.45;
}

.workshop-card__body {
  flex: 1;
  padding: clamp(1.25rem, 3.5vw, 1.75rem);
}

.workshop-card__lead {
  font-size: 1.05rem;
  line-height: 1.58;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.workshop-card__meta-item {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: var(--bg-main);
  border: 1px solid rgba(31, 31, 31, 0.06);
}

.workshop-card__meta-item--price {
  background: linear-gradient(145deg, var(--bg-alt) 0%, var(--bg-main) 100%);
  border-color: rgba(79, 107, 91, 0.15);
}

.workshop-card__meta-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.workshop-card__meta-value {
  display: block;
  font-family: var(--font-1);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--text-color);
}

.workshop-card__price {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  color: var(--cta);
}

.workshop-card__price-unit {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.workshop-card__meta-note {
  line-height: 1.4;
}

.workshop-card__program-title {
  color: var(--text-color);
}

.workshop-timeline__item {
  display: grid;
  grid-template-columns: minmax(5.75rem, 7rem) 1fr;
  gap: 0.6rem 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(31, 31, 31, 0.08);
  position: relative;
}

.workshops-grid .workshop-timeline__item {
  grid-template-columns: minmax(5.25rem, 6.25rem) 1fr;
  gap: 0.5rem 0.75rem;
}

.workshop-timeline__item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.workshop-timeline__item::before {
  content: "";
  position: absolute;
  left: calc(min(5.75rem, 7rem) + 0.5rem);
  top: 0.45rem;
  bottom: -1rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(143, 166, 142, 0.25) 100%);
  transform: translateX(-50%);
}

.workshops-grid .workshop-timeline__item::before {
  left: 5.6rem;
}

.workshop-timeline__item--meal .workshop-timeline__heading {
  color: var(--cta);
}

.workshop-timeline__item:last-child::before {
  display: none;
}

.workshop-timeline__time {
  font-family: var(--font-1);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--cta);
  padding-top: 0.1rem;
}

.workshop-timeline__heading {
  font-family: var(--font-1);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--text-color);
}

.workshop-timeline__list {
  padding-left: 1.1rem;
  list-style: disc;
}

.workshop-timeline__list li {
  margin-bottom: 0.2rem;
}

.workshop-timeline__item--break .workshop-timeline__time {
  color: var(--text-muted);
  font-weight: 600;
}

.workshop-timeline__break {
  font-size: 0.875rem;
  font-weight: 600;
  font-style: italic;
  color: var(--text-muted);
  padding-top: 0.15rem;
}

@media (max-width: 575.98px) {
  .workshop-timeline__item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .workshop-timeline__item::before {
    display: none;
  }
}

#warsztaty {
  scroll-margin-top: 6rem;
}

/* ---------------------------- */
/* Efekty + Fundacja (strona główna — jedna czcionka, spójne „tabelki”) */
#efekty-fundacja.efekty-fundacja-wrap,
#efekty-fundacja .efekty-fundacja-panel {
  font-family: var(--font-2);
}

#efekty-fundacja .efekty-fundacja-panel-equal {
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid rgba(31, 31, 31, 0.08);
  box-shadow: 0 10px 36px rgba(79, 107, 91, 0.08);
  padding: clamp(1.35rem, 3.2vw, 2.35rem);
}

#efekty-fundacja .efekty-fundacja-kicker {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--cta);
  margin-top: 0;
  margin-bottom: 0.55rem;
  line-height: 1.25;
}

/* Desktop: „FUNDACJA KADA” wyśrodkowana w pionie wobec logotypów + „EFEKTY” opuszczone tak, aby były na jednej linii wizualnej */
@media (min-width: 992px) {
  #efekty-fundacja #fundacja-kada > .foundation-spotlight-heading-row {
    align-items: center !important;
  }

  #efekty-fundacja .foundation-spotlight-heading-row > .foundation-spotlight-logos {
    align-items: center !important;
  }

  #efekty-fundacja #fundacja-kada > .foundation-spotlight-heading-row > .efekty-fundacja-kicker {
    margin-bottom: 0 !important;
    align-self: center;
    line-height: 1.35;
    max-width: 14rem;
  }

  /*
   Wysokość „paska” logo (grafika + ramka) — dostosuj, jeśli zmienisz rozmiary obrazów.
   Wykorzystane do opuszczenia „EFEKTY”, żeby miało ten sam środek w pionie co „FUNDACJA KADA” przy logotypach.
  */
  #efekty-fundacja #efekty > .efekty-fundacja-kicker:first-of-type {
    --efekty-fundacja-logo-row-h: 96px;
    padding-top: max(0px, calc((var(--efekty-fundacja-logo-row-h) - 1.35em) / 2));
    margin-top: 0;
  }
}

/* Logo przy nagłówku Fundacja — bez tła („plamy”), cienia i obramowań przy grafikach */
#efekty-fundacja .foundation-spotlight-logo-wrap,
#efekty-fundacja .foundation-spotlight-logo-wrap-lg,
#efekty-fundacja .foundation-spotlight-brand-wrap {
  padding: 0;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
  border-radius: 0;
}

#efekty-fundacja .foundation-spotlight-logo-lg {
  max-width: 300px;
  max-height: 88px;
}

#efekty-fundacja .foundation-spotlight-main-logo {
  max-height: 78px;
  max-width: min(280px, 100%);
}

@media (min-width: 768px) {
  #efekty-fundacja .foundation-spotlight-main-logo {
    max-height: 88px;
    max-width: min(300px, 100%);
  }
}

@media (max-width: 575.98px) {
  #efekty-fundacja .foundation-spotlight-logo-lg {
    max-width: min(270px, 100%);
    max-height: 80px;
  }
}

#efekty-fundacja .efekty-fundacja-heading {
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.38;
}

#efekty-fundacja .efekty-fundacja-lead {
  font-size: 1rem;
  color: var(--text-color-2);
  line-height: 1.65;
  margin-bottom: 1.35rem;
}

#efekty-fundacja .efekty-fundacja-text {
  font-size: 1rem;
  line-height: 1.68;
  color: var(--text-body);
}

#efekty-fundacja .efekty-fundacja-subbox {
  border-radius: 0.875rem;
  padding: 1.15rem 1.25rem;
  background: var(--accent-color-3);
  border: 1px solid rgba(143, 166, 142, 0.35);
}

#efekty-fundacja .efekty-fundacja-subheading {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-color);
}

#efekty-fundacja .efekty-fundacja-list > li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
  font-size: 1rem;
  line-height: 1.52;
  color: var(--text-color);
}

#efekty-fundacja .efekty-fundacja-list > li:last-child {
  margin-bottom: 0;
}

#efekty-fundacja .efekty-fundacja-li-icon {
  flex-shrink: 0;
  margin-top: 0.2rem;
  font-size: 1rem;
}

#efekty-fundacja .efekty-fundacja-split-top {
  border-top: 1px solid rgba(31, 31, 31, 0.08);
}

#efekty-fundacja .efekty-fundacja-footer-kicker {
  margin-bottom: 0.875rem !important;
}

@media (max-width: 991.98px) {
  #efekty-fundacja .efekty-fundacja-heading-kicker-mobile {
    width: 100%;
    text-align: center;
  }

  #efekty-fundacja .foundation-spotlight-heading-row {
    flex-direction: column;
    align-items: center !important;
    gap: 1rem !important;
  }

  #efekty-fundacja .foundation-spotlight-heading-row > .foundation-spotlight-logos {
    justify-content: center !important;
    width: 100%;
  }
}

/* Strona główna: blok „Fundacja KaDa” przy sekcji efektów */
.foundation-spotlight {
  position: relative;
}

.foundation-spotlight-logo-wrap {
  padding: 0.6rem 1rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, var(--bg-main) 0%, var(--bg-alt) 100%);
  box-shadow: 0 6px 28px rgba(79, 107, 91, 0.08);
}

.foundation-spotlight-logo {
  display: block;
  width: auto;
  max-width: 200px;
  max-height: 56px;
  height: auto;
}

.foundation-spotlight-logo-wrap-lg {
  padding: 0.85rem 1.25rem;
}

.foundation-spotlight-logo-lg {
  max-width: 360px;
  max-height: 110px;
}

@media (max-width: 575.98px) {
  .foundation-spotlight-logo-lg {
    max-width: min(300px, 100%);
    max-height: 92px;
  }
}

.foundation-spotlight-logos {
  max-width: 100%;
}

.foundation-spotlight-heading-row {
  row-gap: 0.75rem;
}

.foundation-spotlight-brand-wrap {
  padding: 0.65rem 1rem;
}

.foundation-spotlight-main-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 64px;
  max-width: min(260px, 100%);
}

@media (min-width: 768px) {
  .foundation-spotlight-main-logo {
    max-height: 72px;
  }
}

/* Hero title: skaluje się na telefon / tablet / desktop */
.hero-section h1.hero-title {
  font-size: clamp(1.65rem, 2.8vw + 1.05rem, 4.5rem);
  line-height: 1.15;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
}

/* Hero — mobile: zdjęcie → tytuł → opis + przyciski oferty */
.hero-shell__offer-cta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-shell__figure {
  position: relative;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.hero-shell__photo {
  display: block;
  width: 100%;
  height: auto;
}

.hero-shell__grafika {
  display: block;
  width: 100%;
  max-width: 22rem;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  background: transparent;
  border: none;
  box-shadow: none;
  outline: none;
}



/* Hero — mapa marki (jak grafika strona główna + Neuroflow) */
.hero-brand-map {
  width: 100%;
  max-width: 20rem;
  margin-inline: auto;
}

.hero-brand-map__head {
  margin-bottom: 0.65rem;
}

.hero-brand-map__title {
  font-family: var(--font-1);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.15;
  color: var(--accent-soft);
  letter-spacing: 0.02em;
}

.hero-brand-map__subtitle {
  font-family: var(--font-2);
  font-size: clamp(0.58rem, 1.1vw, 0.68rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 0.3rem;
}

.hero-brand-map__grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "pilates logo mindfulness"
    "neuroflow coaching coaching";
  gap: 0.35rem 0.2rem;
  align-items: center;
  justify-items: center;
  width: 100%;
}

.hero-brand-map__grid::before {
  content: "";
  grid-area: logo;
  width: 88%;
  aspect-ratio: 1;
  border: 1px solid rgba(203, 191, 174, 0.35);
  border-radius: 50%;
  border-right-color: transparent;
  border-bottom-color: rgba(203, 191, 174, 0.12);
  transform: rotate(-22deg);
  justify-self: center;
  align-self: center;
  pointer-events: none;
  z-index: 0;
}

.hero-brand-map__logo {
  grid-area: logo;
  z-index: 2;
  width: 92%;
  max-width: 9.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-brand-map__logo-img {
  width: 100%;
  height: auto;
  max-height: 4.5rem;
  object-fit: contain;
  filter: brightness(1.1) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.2));
}

.hero-brand-map__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #fff;
  max-width: 6.5rem;
  padding: 0.15rem;
  z-index: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-brand-map__item:hover,
.hero-brand-map__item:focus {
  color: #fff;
  opacity: 0.95;
  transform: scale(1.03);
}

.hero-brand-map__item--pilates {
  grid-area: pilates;
  justify-self: end;
  align-self: center;
}

.hero-brand-map__item--mindfulness {
  grid-area: mindfulness;
  justify-self: start;
  align-self: center;
}

.hero-brand-map__item--neuroflow {
  grid-area: neuroflow;
  justify-self: end;
  align-self: start;
  padding-top: 0.35rem;
}

.hero-brand-map__item--coaching {
  grid-area: coaching;
  justify-self: center;
  align-self: start;
  padding-top: 0.25rem;
  max-width: 7.5rem;
}

.hero-brand-map__glyph {
  display: block;
  font-size: clamp(1.5rem, 3.5vw, 1.85rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.35rem;
  font-weight: 300;
}

.hero-brand-map__name {
  font-family: var(--font-1);
  font-size: clamp(0.78rem, 1.6vw, 0.95rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.15;
  color: var(--accent-soft);
  letter-spacing: 0.02em;
}

.hero-brand-map__tag {
  display: block;
  font-family: var(--font-2);
  font-size: clamp(0.52rem, 1vw, 0.62rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
  margin-top: 0.2rem;
  text-wrap: balance;
}

.hero-shell__foundation-name {
  font-size: clamp(0.9375rem, 0.75vw + 0.82rem, 1.0625rem);
  font-weight: 700;
  letter-spacing: 0.045em;
  color: #fff;
  margin-bottom: 0;
}

.hero-shell__logo {
  display: block;
  height: auto;
  width: auto;
  max-height: clamp(4.75rem, 22vw, 6.25rem);
  max-width: min(20rem, 90vw);
  object-fit: contain;
  filter: brightness(1.12) drop-shadow(0 2px 14px rgba(0, 0, 0, 0.35));
}

.hero-shell__tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
}

.hero-shell__btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9375rem;
}

.hero-shell__btn-outline:hover,
.hero-shell__btn-outline:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero-shell__lead {
  font-size: 0.9375rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.9);
}

.hero-shell__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hero-shell__actions-toggles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
}

.hero-shell__actions > .btn-secondary-solid,
.hero-shell__actions-toggles > .btn-secondary-solid {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

.hero-shell__subpanel-inner {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.08);
}

.hero-shell__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.hero-shell__list li:last-child {
  margin-bottom: 0;
}

.hero-shell__list i {
  flex-shrink: 0;
  margin-top: 0.12rem;
}

/* Kotwice z paska hero — miejsce pod navbar przy przewijaniu */
#oferta,
#dla-kogo,
#jak-pracuje,
#efekty,
#fundacja-kada,
#cennik,
#kontakt {
  scroll-margin-top: 5.5rem;
}

@media (max-width: 991.98px) {
  .hero-section.section {
    padding: 0 0 clamp(2rem, 5vw, 2.75rem);
  }

  .hero-section__container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .hero-shell {
    display: flex;
    flex-direction: column;
  }

  .hero-shell__head {
    order: -1;
  }

  .hero-shell__figure {
    order: 0;
    padding-top: 0;
    margin-bottom: 0.35rem;
  }

  .hero-brand-map {
    max-width: 18rem;
    padding-inline: 0.5rem;
  }

  .hero-shell__grafika {
    max-width: 22rem;
    padding-inline: 0.5rem;
  }

  .hero-brand-map__logo-img {
    max-height: 3.75rem;
  }

  .hero-shell__photo {
    max-height: min(50vh, 360px);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 12%;
    border-radius: 0 0 1.35rem 1.35rem;
  }

  .hero-shell__head {
    text-align: center;
    padding: 1.1rem 1.25rem 0;
    max-width: 22rem;
    margin-inline: auto;
  }

  .hero-shell__kicker {
    display: none;
  }

  .hero-shell__title {
    font-size: clamp(1.65rem, 7.5vw, 2.1rem) !important;
  }

  .hero-shell__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-shell__logo {
    max-height: clamp(5rem, 24vw, 6.5rem);
    max-width: min(18rem, 92vw);
  }

  .hero-shell__tagline {
    max-width: 17.5rem;
    margin-inline: auto;
  }

  .hero-shell__offer {
    padding: 0.85rem 1.25rem 0.25rem;
    max-width: 28rem;
    margin-inline: auto;
    width: 100%;
  }

  .hero-shell__lead {
    margin-bottom: 0.85rem;
    text-align: center;
  }

  .hero-shell__offer-cta {
    max-width: 22rem;
    margin-inline: auto;
  }
}

@media (min-width: 992px) {
  .hero-shell {
    display: grid;
    grid-template-columns: 1.05fr 0.92fr;
    grid-template-rows: auto 1fr;
    gap: 1.25rem 3rem;
    align-items: start;
    padding: 1.5rem 0 2.5rem;
  }

  .hero-shell__figure {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: start;
    justify-self: end;
    padding-top: 3.5rem;
    max-width: 17.5rem;
    width: 100%;
  }

  .hero-brand-map {
    max-width: 20rem;
    margin-inline: 0 0;
  }

  .hero-shell__grafika {
    max-width: 22rem;
    margin-inline: 0 0;
  }

  .hero-brand-map__logo-img {
    max-height: 5rem;
  }

  .hero-shell__call {
    top: 0;
    right: 0;
    transform: none;
    z-index: 5;
    gap: 0.45rem;
    padding: 0.35rem 0.6rem 0.35rem 0.4rem;
    font-size: 0.7rem;
  }

  .hero-shell__call-icon-wrap {
    width: 30px;
    height: 30px;
  }

  .hero-shell__call-icon {
    font-size: 0.85rem;
  }

  .hero-shell__call-label {
    font-size: 0.65rem;
    line-height: 1.2;
    opacity: 0.92;
  }

  .hero-shell__call-number {
    font-size: 0.72rem;
    line-height: 1.15;
  }

  .hero-shell__head {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
    max-width: 36rem;
  }

  .hero-shell__brand {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
  }

  .hero-shell__foundation-name {
    margin-bottom: 0 !important;
  }

  .hero-shell__logo {
    max-height: 6.5rem;
    max-width: 22rem;
  }

  .hero-shell__offer {
    grid-column: 1;
    grid-row: 2;
    padding: 0;
    max-width: 30rem;
    padding-right: 1.5rem;
  }

  .hero-shell__offer-cta .btn-primary-solid {
    display: none;
  }

  .hero-shell__lead {
    font-size: 1.05rem;
    margin: 1.25rem 0 1.25rem;
  }

  .hero-shell__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 24rem;
    margin-top: 0.25rem;
  }

  .hero-shell__actions-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
  }

  .hero-shell__actions-toggles > .btn-secondary-solid {
    width: auto !important;
    min-width: 0;
    font-size: 0.8125rem;
    padding: 0.4rem 0.75rem;
  }

  .hero-shell__subpanel {
    width: 100%;
  }

  .hero-shell__actions-primary {
    width: auto !important;
    font-size: 0.875rem;
    padding: 0.45rem 1rem;
  }
}

/* ---------------------------- */
/* Swiper                       */
/* ---------------------------- */
.swiper-container-outer {
  position: relative;
  overflow: hidden;
}

.swiper {
  padding: 30px 0;
}

.swiper-slide {
  height: auto;
}

/* ---------------------------- */
/* Boxes and Cards              */
/* ---------------------------- */
.step-box {
  position: relative;
  margin-bottom: 3rem;
}

.step-box h1 {
  position: absolute;
  font-family: var(--font-1);
  font-weight: 900;
  opacity: 0.8;
  top: -10px;
  left: 13%;
  transform: translateX(-50%);
  z-index: 0;
  background:
  -webkit-linear-gradient(var(--cta), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.step-box h3 {
  position: relative;
  font-family: var(--font-1);
  font-weight: 700;
  margin: 25px 0 20px 0;
  z-index: 1;
}

.step-box p {
  position: relative;
  z-index: 1;
}

.feedback-card {
  background: #fff;
  border: var(--accent) 2px solid;
  border-radius: 30px;
  padding: 35px;
}

.quotes-section {
  padding: 3.5rem 1rem 4rem;
  position: relative;
  overflow: hidden;
}

.quotes-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 75%;
  background-image: url('../image/Place-Holder-1920x1280.jpg');
  background-size: cover;
  background-position: center center;
  opacity: 0.8;
  z-index: -1; /* place behind of content */
}

.quotes-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(79, 107, 91, 0.92), rgba(63, 86, 73, 0.88));
  opacity: 0.9;
  z-index: 1; /* place in-front of content */
}

.quotes-section > .container {
  position: relative; /* Force container in-front of background */
  z-index: 2;
}

.quotes-section > .card {
  margin-top: 30px; /* Space from heading */
}

/* Zwarty formularz kontaktowy (strona Kontakt + sekcja na głównej) */
.site-contact-form .form-label {
  font-family: var(--font-1);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-color);
}

.site-contact-form .form-control {
  font-size: 0.9375rem;
  line-height: 1.45;
  padding: 0.45rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(25, 25, 25, 0.14);
}

.site-contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.18rem rgba(212, 175, 45, 0.28);
}

.site-contact-form textarea.form-control {
  min-height: 6rem;
  resize: vertical;
}

.site-contact-form .submit_form {
  font-size: 0.9375rem;
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
}

.contact-form-toast {
  margin-block: 0.5rem 0.75rem;
}

.home-direct-contact {
  color: var(--cta);
  font-size: 0.875rem;
}

.home-direct-contact p,
.home-direct-contact span,
.home-direct-contact a {
  color: var(--cta);
  font-size: inherit;
  font-weight: 400;
  line-height: 1.5;
}

.home-direct-contact a:hover,
.home-direct-contact a:focus-visible {
  color: var(--cta-hover);
}

.news-card {
  border: 2px solid var(--accent);
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.news-card .card-title {
  font-family: var(--font-1);
  font-weight: 800;
  text-decoration: none;
}
.news-card .card-title:hover {
  font-family: var(--font-1);
  font-weight: 800;
  /* font-size: 22px; */
  text-decoration: none;
  color: var(--cta);
}

/* ---------------------------- */
/* Footer                       */
/* ---------------------------- */
.footer {
  position: relative;
  overflow: hidden;
  color: white;
}

.footer-background {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../image/Place-Holder-1920x1280.jpg');
  background-size: cover;
  background-position: center center;
  z-index: -1;
}

.footer-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(79, 107, 91, 0.95), rgba(63, 86, 73, 0.94));
  z-index: 1; /* place in-front of content */
}

.footer .footer-foundation-logo {
  max-height: clamp(5.25rem, 14vw, 6.5rem);
}

/* ---------------------------- */
/* Accordion                    */
/* ---------------------------- */
.accordion .accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 1.5rem;
  overflow: hidden;
  background-color: transparent;
}

.accordion .accordion-button {
  font-size: large;
  font-weight: 700;
  color: #fff;
  background-color: var(--cta);
  border-radius: 1.5rem;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: none;
}

.accordion .accordion-button.collapsed {
  background-color: var(--cta);
  color: #fff;
}

.accordion .accordion-button:not(.collapsed) {
  background-color: var(--accent);
  color: #fff;
}

.accordion .accordion-button:focus {
  box-shadow: none;
}

.accordion i {
  font-size: 1.2rem;
}

.accordion .accordion-collapse {
  margin-top: 0.5rem; /* Gap between header and body */
}

.accordion .accordion-body {
  font-size: large;
  background-color: var(--bg-alt);
  padding: 1.5rem;
  border-radius: 1rem;
  color: var(--text-body);
  box-shadow: 0 2px 5px rgba(79, 107, 91, 0.06);
}

/* ---------------------------- */
/* Error 404                    */
/* ---------------------------- */
.error-code {
  font-size: 18rem;
  font-weight: 900;
  line-height: 1;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.error-code span:nth-child(2) {
  background: linear-gradient(180deg, var(--cta), var(--accent));
  color: white;
  padding: 20px 0;
  border-radius: 1.5rem;
}
/* ---------------------------- */
/* Responsive Layouts           */
/* ---------------------------- */
@media only screen and (max-width: 1199.98px) {
  .ratio-wrapper-429 {
    aspect-ratio: 3 / 2;
  }

  .ratio-wrapper-419 {
    aspect-ratio: 1 / 1;
  }

  .step-box h1 {
    left: 17%;
  }
}

@media only screen and (max-width: 991.98px) {
  /* ---------------------------- */
  /* Typography                   */
  /* ---------------------------- */
  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 40px;
  }

  h3 {
    font-size: 24px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  button, a{
    font-size: 17px;
  }

  p{
    font-size: 16px;
  }

/* ---------------------------- */
/* Header and Navbar            */
/* ---------------------------- */
/* padding: 4em 2em 4em 2em; */
  .section {
    padding: 4em 1em;
  }

  .top-bar {
    display: none;
  }

  .logo-box img {
    max-height: 104px;
  }

  .logo-drawer img {
    max-height: 92px;
  }

  .nav-link {
    font-size: 1rem;
    padding-block: 0.5rem;
    padding-inline: 0.5rem;
  }
  
  .nav-link.active,
  .nav-link:hover,
  .nav-link:focus {
    color: var(--cta) !important;
  }

  .navbar-nav .nav-link {
    padding-block: 0.5rem;
    padding-inline: 0.5rem;
  }

  .dropdown-menu {
    border-radius: 0;
    width: 100%;
    padding: 5px 0px 5px 0px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
  }

  .dropdown-item {
    font-size: 1rem;
    padding-block: 0.5rem;
    padding-inline: 0.5rem;
  }

  .btn-quotes {
    display: none;
  }

  .img-circle {
    width: 275px;
    height: 275px;
  }

  .step-box h1 {
    left: 5%;
  }

  .feedback-slide {
    width: 33.333%; /* 3 slides per-row for desktop */
  }

  .bg-secondary-gradient {
    background: linear-gradient(to top, var(--bg-main) 0%, var(--bg-main) 62%, var(--bg-alt) 62%, var(--bg-alt) 100%);
  }

  .quotes-section {
    position: relative; /* Force container in-front of background */
    overflow: hidden;
    padding: 0;
  }

  .quotes-section > .container {
    position: relative; /* Force container in-front of background */
    z-index: 2;
    padding: 0;
  }

  .quotes-section > .card {
    margin-top: 70px;
  }

  .img-container {
    width: 90%;
  }

  .ratio-wrapper-429 {
    aspect-ratio: 16 / 9;
  }

  .img-circle {
    width: 300px;
    height: 300px;
  }

  .footer-logo {
    text-align: center;
    padding: 0 4rem;
  }

  .footer .footer-foundation-logo {
    max-height: 6.5rem;
  }

  .error-code {
    font-size: 15rem;
  }
}

@media only screen and (max-width: 767.98px) {
  .btn-play {
    width: 80%;
  }

  .badge-cta {
    display: none;
  }

  .bg-secondary-gradient {
    background: linear-gradient(to top, var(--bg-main) 0%, var(--bg-main) 61%, var(--bg-alt) 61%, var(--bg-alt) 100%);
  }

  .img-container {
    width: 85%;
  }

  .ratio-wrapper-429 {
    aspect-ratio: 1 / 1;
  }

  .img-circle {
    width: 300px;
    height: 300px;
  }

  .step-box h1 {
    left: 6%;
  }

  .footer .footer-foundation-logo {
    max-height: clamp(5rem, 20vw, 5.75rem);
  }
}

@media only screen and (max-width:576.98px){
  .ratio-wrapper-429 {
    aspect-ratio: 3 / 4;
  }

  .img-circle {
    width: 185px;
    height: 185px;
  }

  .step-box h1 {
    left: 8%;
  }

  .error-code {
    font-size: 10rem;
  }
}