@import url(https://fonts.bunny.net/css?family=montserrat:600,700|quicksand:400,600|roboto:400,700);

:root {
  --bkg-neutral: #FFFFFF;
  --main-color: #005953;
  --main-color-darker: #00403B;
  --opacity-green: rgba(0, 89, 83, 0.4);
  --color-card-bkg: #F0F4F4;
  --body-primary: #1A1A1A;
  --body-secondary: #333333;
  --body-reverse: #FFFFFF;
  --highlight: #005953;
  --grey-900: #1A1A1A;
  --grey-800: #333333;
  --grey-600: #666666;
  --grey-000: #FFFFFF;

  --ff-montserrat: 'Montserrat', sans-serif;
  --ff-quicksand: 'Quicksand', sans-serif;
  --ff-roboto: 'Roboto', sans-serif;

  /* Headers */
  --fs-h1: clamp(34px, 4vw + 16px, 72px);
  /* 72/120% */
  --fs-h2: clamp(28px, 2.6vw + 12px, 48px);
  /* 48/120% */
  --fs-h3: clamp(22px, 1.8vw + 12px, 32px);
  /* 32/120% */
  --fs-h4: clamp(24px, 1.2vw + 10px, 28px);
  /* 24/120% */
  --fs-h5: clamp(14px, 0.8vw + 10px, 16px);
  /* 16/120% */

  /* Subheaders */
  --fs-sh1: clamp(22px, 1.8vw + 12px, 32px);
  /* 32 / 40px line-height (1.25) */
  --fs-sh2: clamp(16px, 0.8vw + 12px, 20px);
  /* 20 / 28px line-height (1.4) */

  /* Body */
  --fs-body-lg: clamp(18px, 0.9vw + 14px, 24px);
  /* 24 / 32px (1.333) */
  --fs-body-md: clamp(16px, 0.5vw + 12px, 18px);
  /* 18 / 26px (1.444) */
  --fs-body-sm: clamp(15px, 0.3vw + 12px, 16px);
  /* 16 / 24px (1.5) */

  /* Labels & links 
  --fs-link: clamp(15px, 0.35vw + 12px, 16px);
  /* 16 / 24px (1.5) */
  --fs-tab: clamp(13px, 0.25vw + 11px, 14px);
  /* 14 / 22px (1.57) */
}

.typo-h1 {
  font-family: var(--ff-montserrat);
  font-weight: 700;
  font-size: var(--fs-h1);
  line-height: 1.2;
  color: var(--body-reverse);
}

.typo-h2 {
  font-family: var(--ff-montserrat);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1.2;
}

.typo-h3 {
  font-family: var(--ff-montserrat);
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: 1.2;
}

.typo-h4 {
  font-family: var(--ff-quicksand);
  font-weight: 700;
  font-size: var(--fs-h4);
  line-height: 1.2;
}


.typo-h5 {
  font-family: var(--ff-quicksand);
  font-weight: 700;
  font-size: var(--fs-h5);
  line-height: 1.2;
  color: var(--main-color);

}

.typo-sh1 {
  font-family: var(--ff-quicksand);
  font-weight: 400;
  font-size: var(--fs-sh1);
  line-height: 1.25;
  color: var(--body-reverse);
}

.typo-sh2 {
  font-family: var(--ff-roboto);
  font-weight: 400;
  font-size: var(--fs-sh2);
  line-height: 28px;
}

@media (max-width:996px) {
  .typo-sh2 {
    line-height: 24px;
  }
}

.typo-body-lg {
  font-family: var(--ff-roboto);
  font-weight: 400;
  font-size: var(--fs-body-lg);
  line-height: 1.333;
}

.typo-body-md {
  font-family: var(--ff-roboto);
  font-weight: 400;
  font-size: var(--fs-body-md);
  line-height: 1.444;
}

.typo-body-sm {
  font-family: var(--ff-roboto);
  font-weight: 400;
  font-size: var(--fs-body-sm);
  line-height: 1.5;
}

.typo-body-sm--bold {
  font-family: var(--ff-roboto);
  font-weight: 700;
  font-size: var(--fs-body-sm);
  line-height: 1.5;
}

.typo-link,
.btn-label {
  font-family: var(--ff-quicksand);
  font-weight: 700;
  font-size: var(--fs-link);
  line-height: 1.5;
}

.typo-tab-label {
  font-family: var(--ff-quicksand);
  font-weight: 700;
  font-size: var(--fs-tab);
  line-height: 1.57;
}

.typo-title-rsp {
  font-family: var(--ff-quicksand);
  font-weight: 700;
  font-size: var(--fs-h4);
  line-height: 1.2;
  color: var(--main-color);
}

@media (min-width: 992px) {
  .typo-title-rsp {
    font-family: var(--ff-montserrat);
    font-weight: 600;
    font-size: var(--fs-h2);
    line-height: 1.2;
    color: var(--main-color);
  }
}

.typo-title-rsp-s {
  font-family: var(--ff-quicksand);
  font-weight: 700;
  font-size: var(--fs-h4);
  line-height: 1.2;
  color: var(--main-color);
}

@media (min-width: 992px) {
  .typo-title-rsp-s {
    font-family: var(--ff-montserrat);
    font-weight: 600;
    font-size: var(--fs-h3);
    line-height: 1.2;
    color: var(--main-color);
  }
}

.typo-lead-rsp {
  font-family: var(--ff-roboto);
  font-weight: 400;
  font-size: var(--fs-body-sm);
  line-height: 1.5;
}

@media (min-width: 992px) {
  .typo-lead-rsp {
    font-size: var(--fs-body-lg);
    line-height: 1.333;
  }
}

.btn-prim {
  --btn-padding: 12px 32px;
  --btn-radius: 16px;
  --btn-font-size: 16px;
  --btn-line-height: 24px;
  text-decoration: none;
  background-color: var(--main-color);
  padding: var(--btn-padding);
  border-radius: var(--btn-radius);
  color: var(--body-reverse);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: var(--btn-font-size);
  line-height: var(--btn-line-height);
  border-style: none;
}

.btn-prim:hover {
  background-color: var(--main-color) !important;
  color: var(--body-reverse) !important;
}

.btn-prim:active {
  background-color: var(--main-color-darker) !important;
  color: var(--body-reverse) !important;
}

.btn-sec {
  --btn-padding: 12px 32px;
  --btn-radius: 16px;
  --btn-font-size: 16px;
  --btn-line-height: 24px;
  background-color: var(--bkg-neutral);
  padding: var(--btn-padding);
  border-radius: var(--btn-radius);
  color: var(--main-color);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: var(--btn-font-size);
  line-height: var(--btn-line-height);
  border: 1px solid var(--main-color);
}

.btn-sec:hover {
  background-color: var(--color-card-bkg) !important;
  color: var(--main-color) !important;
  border-color: var(--main-color-darker) !important;
}

.btn-sec:active {
  background-color: var(--bkg-neutral) !important;
  color: var(--main-color-darker) !important;
  border-color: var(--main-color-darker) !important;
}

.btn--sm {
  --btn-padding: 10px 12px;
  --btn-radius: 10px;
  --btn-font-size: 14px;
  --btn-line-height: 20px;
}

.btn-icon {
  --btn-icon-size: 48px;
  --btn-icon-inner-size: 24px;
  background-color: var(--bkg-neutral);
  width: var(--btn-icon-size);
  height: var(--btn-icon-size);
  border-radius: 16px;
  color: var(--main-color);
  border: 1px solid var(--main-color) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.btn-icon--sm {
  --btn-icon-size: 40px;
  border-radius: 10px !important;
}

.btn-icon svg,
.btn-icon img {
  width: var(--btn-icon-inner-size);
  height: var(--btn-icon-inner-size);
  display: block;
  margin: 0;
}

.btn-icon:focus,
.btn-icon:focus-visible {
  outline: 2px solid var(--opacity-green);
  outline-offset: 2px;
  box-shadow: none;
}

.btn-icon:hover {
  background-color: var(--color-card-bkg) !important;
  color: var(--main-color) !important;
  border-color: var(--main-color-darker) !important;
}

.btn-icon:active {
  background-color: var(--bkg-neutral) !important;
  color: var(--main-color-darker) !important;
  border-color: var(--main-color-darker) !important;
}

.navbar-toggler .icon-open {
  display: none;
}

.navbar-toggler .icon-closed {
  display: inline;
}

.navbar-toggler[aria-expanded="true"] .icon-open {
  display: inline;
}

.navbar-toggler[aria-expanded="true"] .icon-closed {
  display: none;
}

.navbar-toggler .icon-open,
.navbar-toggler .icon-closed {
  transition: opacity 150ms ease, transform 150ms ease;
}

.navbar-toggler[aria-expanded="true"] .icon-open {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.navbar-toggler[aria-expanded="true"] .icon-closed {
  opacity: 0;
  transform: rotate(90deg) scale(0.9);
}

.navbar-toggler:not([aria-expanded="true"]) .icon-open {
  opacity: 0;
  transform: rotate(-90deg) scale(0.9);
}

.navbar-toggler:not([aria-expanded="true"]) .icon-closed {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .navbar-toggler .icon-open,
  .navbar-toggler .icon-closed {
    transition: none;
  }
}

.btn-link {
  background-color: transparent;
  color: var(--body-primary);
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  border: none;
  border-radius: 16px;
  text-decoration: underline;
  text-underline-offset: 20%;
  padding: 8px;
}

.btn-link:hover {
  background-color: var(--color-card-bkg) !important;
  color: var(--body-primary) !important;
}

.btn-link:active {
  background-color: var(--opacity-green) !important;
  color: var(--body-primary) !important;
}

.navbar .btn-link {
  color: var(--body-primary);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar .container {
  position: relative;
}

@media (max-width: 991.98px) {
  .navbar .navbar-collapse {
    background: var(--bkg-neutral);
    border: 1px solid var(--main-color);
    border-radius: 20px;
    padding: 1.5rem 1.5rem;
    margin: 12px;
    box-shadow: 0 4px 12px rgba(164, 163, 163, 0.519);
    position: absolute;
    top: 80%;
    left: 0;
    right: 0;
    z-index: 1050;
  }
}

.hero {
  height: 92vh;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.2) 56.89%, #001615 100%), url('/static/images/81832b0b216bd15d1b4b53d22fc02479e706cefd.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width:991.98px) {
  .hero {
    height: 85vh;
  }
}

@media (max-width: 767.98px) {
  .hero .btn-prim {
    --btn-padding: 10px 12px;
    --btn-radius: 10px;
    --btn-font-size: 14px;
    --btn-line-height: 20px;
  }
}


.cards-track {
  overflow-x: auto;
  display: flex;
  gap: 1.25rem;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0.1rem;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: .5rem;
}

.cards-track::-webkit-scrollbar {
  display: none;
}

@media (min-width: 992px) {
  .cards-track {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    overflow: visible;
    padding-bottom: 0;
  }
}

.card.card-snap {
  flex: 0 0 85%;
  border: none;
  background: transparent;
  scroll-snap-align: start;
}

.card-figure {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 1rem 0;
  border: 1px solid var(--main-color);
  aspect-ratio: 15 / 10;;
}

.card-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-figure .img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .2s ease;
}

.card:hover .img-hover,
.card:focus-within .img-hover {
  opacity: 1;
}
.card:hover .img-base,
.card:focus-within .img-base {
  opacity: 0;
  transition: opacity .4s ease;
}

.cards-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.cards-dots .dot {
  width: 8px;
  height: 8px;
  background: #e7ecec;
  border-radius: 50%;
}

.cards-dots .dot:nth-child(2) {
  width: 36px;
  height: 10px;
  border-radius: 999px;
  background: var(--main-color);
}

@media (min-width: 992px) {
  .cards-dots {
    display: none;
  }
}

.im-breake-one {
  height: 33vw;
  background: url('/static/images/ffcb8418c4e0d5da7b27ddc9225c74b1d0c78133-2.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.im-breake-two {
  height: 33vw;
  background: url('/static/images/7d84316188fa21747a9e64444c3224dcda521f34.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 767.98px) {
  .im-breake-one,
  .im-breake-two {
    height: 50vw;
  }
}

.therapy-tabs .nav-link {
  border: 1px solid var(--main-color);
  color: var(--main-color);
  background: transparent;
  border-radius: 12px;
  font-family: var(--ff-quicksand);
  font-weight: 700;
}

.therapy-tabs .nav-link.active {
  background: var(--main-color);
  color: var(--body-reverse);
}


.tabs-outline {
  display: inline-flex;
  border: 1px solid var(--main-color);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bkg-neutral);
}

@media (max-width: 767.98px) {
  .tabs-outline {
    border-radius: 10px;
  }
}

.tabs-outline .tab-btn {
  flex: 1;
  padding: 10px 20px;
  border: none;
  background: transparent;
  color: var(--main-color);
  font-family: var(--ff-quicksand);
  font-weight: 700;
  font-size: var(--fs-tab);
  line-height: 1.57;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}

.tabs-outline .tab-btn.active {
  background: var(--main-color);
  color: var(--body-reverse);
}

.offer-card {
  background: var(--bkg-neutral);
  border: 1px solid var(--grey-600);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (max-width:992px) {
  .offer-card {
    height: 100%;
  }
}

.offer-card:hover {
  box-shadow: 0 5px 15px -3px rgba(0,0,0,.05),0 4px 6px -2px rgba(0,0,0,.05);
}
.offer-card__head {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--grey-600);
  background: var(--bkg-neutral);
  transition: background-color .2s ease;
}

.offer-card:hover .offer-card__head,
.offer-card:focus-within .offer-card__head {
  background: var(--color-card-bkg);
}

.offer-card__body {
  padding: 1rem;
  flex: 1 1 auto;
}

.offer-card__icon {
  width: 24px;
  height: 24px;
  color: var(--main-color) !important;
}

.offer-card {
  --title-lines-sm: 2;
  --title-lines-lg: 2;
}

.offer-card__title {
  font-family: var(--ff-quicksand);
  font-weight: 700;
  font-size: var(--fs-h5);
  line-height: 1.2;
  min-height: calc(var(--title-lines-sm) * 1.2em);
  display: grid;
  align-content: center;
}

.offer-card__desc {
  font-family: var(--ff-roboto);
  font-weight: 400;
  font-size: var(--fs-body-sm);
  /* mobile: body-sm */
  line-height: 1.5;
  color: var(--body-secondary);
}

@media (min-width: 992px) {
  .offer-card__title {
    font-size: var(--fs-h4);
  }

  .offer-card__desc {
    font-size: var(--fs-body-md);
    line-height: 1.444;
  }

  .offer-card__icon {
    width: 32px;
    height: 32px;
    color: var(--main-color) !important;
  }
}

.cards-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 1rem;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: .5rem;
}

.cards-track::-webkit-scrollbar {
  display: none;
}

.card-snap {
  flex: 0 0 85%;
  scroll-snap-align: start;
}

@media (min-width: 992px) {
  .cards-track {
    overflow: visible;
    scroll-snap-type: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 1.25rem;
    padding-bottom: 0;
  }

  .card-snap {
    flex: 0 1 calc(33.333% - .9rem);
  }
}

.cards-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.cards-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e7ecec;
  display: inline-block;
}

.cards-dots .dot.active {
  width: 36px;
  height: 10px;
  border-radius: 999px;
  background: var(--main-color);
}

@media (min-width: 992px) {
  .cards-dots {
    display: none;
  }
}


#o-mnie {
  background-color: var(--color-card-bkg);
  ul {
    margin-bottom: 0 !important;
  }
}
.img-rd {
  border: 2px solid var(--grey-600);
  border-radius: 12px;
}

@media (max-width: 992px) {
  .img-rd {
    border-radius: 8px
  }
}

.text-toggle[aria-expanded=false] .text-expanded {
  display: none;
}

.text-toggle[aria-expanded=true] .text-collapsed {
  display: none;
}

#podejscie {
  .card-figure img {
    width: 100%;
    height: 100%;
    object-fit: fill;
  }
}

.card-basic {
  border: 1px solid var(--grey-600);
  border-radius: 12px;
  padding: 1rem;
}

.card-basic:hover {
  background-color: var(--color-card-bkg);
}

#oferta .typo-h4 {
  color: var(--main-color) !important;
}

.icon {
  position: relative;
}

.icon img {
  max-height: 64px;
}

@media (max-width: 992px) {
  .icon img {
    max-height: 48px;
  }
}

.card-basic .img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .1s ease;
}


.card-basic:hover .img-hover,
.card-basic:focus-within .img-hover {
  opacity: 1;
}

.card-basic:hover .img-base,
.card-basic:focus-within .img-base {
  opacity: 0;
}

#opinie .cards-track {
  overflow: visible;
  display: flex;
  flex-flow: row;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 1rem;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: .5rem;
}

@media (min-width: 992px) {
   #opinie .cards-track {
    overflow: visible;
    scroll-snap-type: none;
    display: flex;
    flex-wrap: wrap-reverse;
    flex-direction: row-reverse;
    justify-content: end;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem 1.25rem;
    padding-bottom: 0;
  }

  #opinie .card-snap {
    flex: 0 1 calc(50.333% - 1.9rem);
  }
}


.kontakt .typo-title-rsp,
.kontakt .typo-lead-rsp {
  color: var(--main-color);
}

html {
  scroll-padding-top: 86px;
  scroll-behavior: smooth;
}

.footer {
  background-color: var(--color-card-bkg);
}

.text-main-darker {
  color: var(--main-color-darker) !important; 
}