@import "utils.css";

.container {
  width: 100%;
  max-width: 1460px;
  margin: auto;
}

.section {
  padding: 80px 20px 0 20px;
  &.padded {
    padding-bottom: 80px;
  }
}
@media screen and (max-width: 990px) {
  .section {
    padding: 40px 20px 0 20px;
    &.padded {
      padding-bottom: 40px;
    }
  }
}

header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  padding: 20px;
  transition: 0.2s;
  svg path {
    transition: fill 0.2s;
  }
  .content {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .header-mobile-button {
    display: none;
    padding: 0;
    background: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    width: 27px;
    border: none;
  }
  .header-mobile-button span {
    width: 100%;
    height: 5px;
    border-radius: 4px;
    background-color: var(--orange);
    display: block;
    transition: 0.2s;
  }
  &.v2 {
    margin-top: 100px;
    margin-bottom: -192px;
    &:not(.dark) {
      color: white;
      padding: 20px 40px;
      .header-mobile-button span {
        background-color: white;
      }
    }
    &.dark {
      svg path:first-of-type {
        fill: var(--navy);
      }
      svg path:last-of-type {
        fill: var(--orange);
      }
    }
    svg path:first-of-type {
      fill: white;
    }
    li span {
      background-color: white;
    }
  }
  &.active {
    background-color: white;
    color: var(--navy);
    &.dark {
      color: var(--navy);
    }
    &:not(.dark) {
      color: var(--navy);
      .header-mobile-button span {
        background-color: var(--orange);
      }
    }
    li span {
      background-color: var(--navy);
    }
    padding: 20px;
    svg path:first-of-type {
      fill: var(--navy);
    }
    svg path:last-of-type {
      fill: var(--orange);
    }
    .header-mobile-button span {
      background-color: var(--orange);
    }
  }
  .logo {
    width: 100%;
    max-width: 181px;
    svg {
      width: 100%;
    }
  }
  ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0);
    a {
      transition: 0.2s;
      &:hover {
        color: var(--orange);
      }
    }
    span {
      display: block;
      width: 1px;
      height: 15px;
      background-color: var(--navy);
    }
  }
}

@media screen and (max-width: 990px) {
  header {
    .logo {
      max-width: 125px;
    }
    .header-mobile-button {
      display: flex;
      &.header-mobile-button-active {
        span {
          &:nth-child(2) {
            width: 0;
          }

          &:nth-child(1) {
            transform: translateY(9px) rotate(-45deg);
          }

          &:nth-child(3) {
            transform: translateY(-7px) rotate(45deg);
          }
        }
      }
    }
    nav {
      transition:
        max-height 0.2s,
        padding 0.2s;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background-color: white;
      color: black;
      padding: 0 20px;
      max-height: 0;
      overflow: hidden;
      ul {
        flex-direction: column;
        padding: 0;
        gap: 30px;
        li:has(span) {
          display: none;
        }
      }
    }
    &.v2 {
      margin-top: 30px;
      margin-bottom: -122px;
    }
  }
}
.pre-footer {
  .wrapper {
    position: relative;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow: hidden;
    color: white;
    padding: 80px 20px;
    &:has(iframe) {
      padding: 0;
      iframe {
        height: 366px;
        display: block;
        margin: 0;
        width: 100%;
      }
    }
  }
  .content {
    max-width: 542px;
  }
  .buttons {
    display: flex;
    gap: 20px;
    width: 100%;
    a {
      width: 100%;
    }
  }
}
@media screen and (max-width: 990px) {
  .pre-footer {
    .wrapper {
      padding: 250px 20px 40px 20px;
    }
    .content {
      max-width: unset;
    }
    .buttons {
      flex-direction: column;
    }
  }
}
footer {
  padding: 0 20px 20px 20px;
  .wrapper {
    padding: 80px 20px;
    color: white;
    background-color: var(--orange);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  .container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
  }
  .left {
    width: 100%;
    max-width: 333px;
    .logo {
      width: 100%;
      max-width: 219px;
    }
  }
  .right {
    width: 100%;
    max-width: 1027px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    .item {
      flex: 0 1 234px;
      .h4 {
        padding-bottom: 10px;
        margin-bottom: 22px;
        border-bottom: 1px solid #d7764a;
      }
      ul:not(.icons),
      div:not(.icons) {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }
      .icons {
        display: flex;
        gap: 10px;
        margin-bottom: 20px;
        cursor: pointer;
      }
    }
  }
}
@media screen and (max-width: 990px) {
  .footer {
    .container {
      flex-direction: column;
    }
    .left,
    .right {
      max-width: unset;
    }
    .right {
      justify-content: center;
      .item {
        flex-grow: 1;
      }
    }
    /* .right{
      flex-direction: column;
    } */
  }
}
.button {
  display: block;
  border: none;
  text-align: center;
  cursor: pointer;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 130%;
  padding: 16px 28px;
  background-color: var(--orange);
  border-radius: 10px;
  transition: transform 0.2s;
  width: fit-content;
  &:hover {
    transform: scale(1.05);
  }
  &:active {
    transform: scale(0.95);
  }
  &.v2 {
    background-color: transparent;
    backdrop-filter: blur(10px);
    box-shadow:
      -1px -1px 0 0 rgba(255, 255, 255, 0.15) inset,
      1px 1px 0.5px 0 rgba(255, 255, 255, 0.1) inset;
    background: rgba(255, 255, 255, 0);
  }
  &.v3 {
    background-color: white;
    color: var(--orange);
  }
  &.v4 {
    background-color: var(--navy);
    color: white;
  }
}

.section-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
  &.left {
    text-align: left;
  }
  &:not(.no-color) {
    .tagline {
      color: var(--orange);
    }
    .title {
      color: var(--brass);
    }
  }
}

@media screen and (max-width: 990px) {
  .section-title-wrapper {
    text-align: left;
  }
}

.therapy-card {
  flex: 1 1 200px;
  padding-right: 20px;
  margin-right: 20px;
  border-right: 1px solid var(--brass);
  &:last-child {
    border: none;
  }
  .eye4 {
    color: var(--orange);
  }
  .h4,
  .p9 {
    color: var(--brass);
  }
}
@media screen and (max-width: 990px) {
  .therapy-card {
    padding: 0 0 20px 0;
    margin: 0;
    border-right: none;
    border-bottom: 1px solid var(--brass);
    &:last-child {
      border: none;
      padding-bottom: 0;
    }
  }
}

.swiper-arrows {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  .swiper-arrow {
    transition: transform 0.2s;
    cursor: pointer;
    &:hover {
      transform: scale(1.05);
    }
    &:active {
      transform: scale(0.95);
    }
  }
}
.swiper-arrows.mobile {
  display: none;
}
@media screen and (max-width: 990px) {
  .swiper-arrows.desk {
    display: none;
  }
  .swiper-arrows.mobile {
    display: flex;
  }
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 20px;
  .item {
    user-select: none;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--brass);
    cursor: pointer;
    .question {
      display: flex;
      align-items: center;
      justify-content: space-between;
      .h4 {
        color: var(--brass);
      }
      svg {
        transition: transform 0.2s;
      }
    }
    .answer {
      overflow: hidden;
      max-height: 0;
      transition: 0.2s;
    }
  }
}

.title-text-section {
  .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
  }
  h2 {
    width: 100%;
    max-width: 705px;
    color: var(--brass);
  }
  p,
  .p8,
  .p9 {
    max-width: 705px;
  }
  &:has(.wrapper) {
    padding-left: 0;
    padding-right: 0;
  }
  .wrapper {
    position: relative;
    color: white;
    * {
      color: white;
    }
  }
}

@media screen and (max-width: 990px) {
  .title-text-section {
    .container {
      flex-direction: column;
      align-items: flex-start;
    }
    h2,
    p,
    .p8,
    .p9 {
      max-width: unset;
    }
  }
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  padding: 8px 10px;
  border-radius: 100px;
  border: 1px solid var(--orange);
  font-weight: 500;
}

.complex {
  .cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 20px;
  }
}

.posts-list {
  .list {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .item {
    width: calc(100% - ((100% - 1460px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    &:nth-child(odd) {
      margin-right: auto;
    }
    &:nth-child(even) {
      margin-left: auto;
      flex-direction: row-reverse;
    }
    .image {
      width: 100%;
      max-width: 935px;
      border-radius: 30px;
      overflow: hidden;
    }
    .content {
      width: 100%;
      max-width: 705px;
      display: flex;
      justify-content: space-between;
      gap: 30px;
      .left {
        width: 100%;
        max-width: 346px;
        .h2 {
          color: var(--brass);
        }
      }
      .right {
        width: 100%;
        max-width: 287px;
        .p9 {
          color: var(--orange);
        }
        ul {
          display: flex;
          gap: 6px;
          flex-wrap: wrap;
          align-items: flex-start;
          justify-content: flex-start;
        }
        .button {
          margin-top: auto;
        }
      }
    }
  }
}
@media screen and (max-width: 1500px) {
  .posts-list {
    .item {
      width: 100%;
    }
  }
}
@media screen and (max-width: 990px) {
  .posts-list {
    .item {
      width: 100%;
      flex-direction: column;
      &:nth-child(odd),
      &:nth-child(even) {
        margin-right: 0;
        margin-left: 0;
        flex-direction: column;
      }
      .image {
        max-width: unset;
      }
      .content {
        max-width: unset;
        flex-direction: column;
        .left,
        .right {
          max-width: unset;
        }
        .right {
          .button {
            width: 100%;
          }
        }
      }
    }
  }
}

.banner-default {
  padding: 20px 20px 0 20px;
  .wrapper {
    padding: 229px 20px 80px 20px;
    position: relative;
    color: white;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
  }
  .content {
    max-width: 557px;
  }
  .buttons {
    display: flex;
    gap: 20px;
  }
  .icons {
    background-color: var(--orange);
    color: white;
    padding: 24px 20px;
    border-radius: 0 0 20px 20px;
    .icons-wrapper {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      &.smaller {
        gap: 8px;
      }
      li {
        img {
          width: 46px;
        }
        display: flex;
        align-items: center;
        gap: 14px;
        text-transform: uppercase;
      }
    }
  }
}

@media screen and (max-width: 990px) {
  .banner-default {
    .bg-image {
      object-position: center top;
    }
    .wrapper {
      padding-top: 257px;
      padding-bottom: 20px;
    }
    &.v2 .wrapper {
      padding-top: 110px;
    }
    .content {
      max-width: unset;
    }
    .buttons {
      flex-direction: column;
      .button {
        width: 100%;
      }
    }
    .icons .icons-wrapper {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      &:has(span) {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        span {
          display: none;
        }
      }
    }
  }
}

.crisis {
  .title {
    display: flex;
    gap: 10px;
    color: var(--orange);
  }
  .p9 {
    padding: 20px;
    border: 1px solid var(--orange);
    border-radius: 10px;
  }
}

.questions {
  .container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    .left {
      max-width: 493px;
    }
    .faq {
      max-width: 767px;
    }
  }
}

@media screen and (max-width: 990px) {
  .questions {
    .left {
      max-width: unset;
    }
    .container {
      flex-direction: column;
    }
  }
}
