@charset "UTF-8";
/* RESET */
:where(*) {
  padding: 0;
  margin: 0;
  border: 0;
}

:where(*, *::before, *::after) {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:where(:focus, :active) {
  outline: none;
}

:where(nav, footer, header, aside) {
  display: block;
}

:where(html, body) {
  height: 100%;
  width: 100%;
  font-size: 16px;
  line-height: 1;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

:where(input, button, textarea) {
  font-family: inherit;
}

:where(input::-ms-clear) {
  display: none;
}

:where(button) {
  cursor: pointer;
}

:where(button::-moz-focus-inner) {
  padding: 0;
  border: 0;
}

:where(a, a:visited, a:hover, a:focus, a:active) {
  text-decoration: none;
  outline: none;
}

:where(address) {
  font-style: normal;
}

:where(ul) :where(li) {
  list-style: none;
}

:where(img) {
  vertical-align: top;
}

:where(h1, h2, h3, h4, h5, h6) {
  font-size: inherit;
  font-weight: 400;
}

.topbar {
  background-color: var(--color-dark);
  color: var(--color-bg-main);
  font-family: var(--font-body);
  font-size: var(--text-sm-size);
  line-height: var(--lh-text);
}
.topbar__wrapper_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}
.topbar__wrapper_inner_box {
  display: flex;
  gap: 20px;
}
.topbar__wrapper_inner_box a {
  color: var(--color-bg-main);
  transition: 0.3s ease;
  position: relative;
}
.topbar__wrapper_inner_box a:hover {
  color: var(--color-accent);
}
.topbar__wrapper_inner_box a::after {
  content: "";
  position: absolute;
  transition: 0.3s ease;
  opacity: 0;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background-color: var(--color-accent);
}
.topbar__wrapper_inner_box a:active::after {
  opacity: 1;
}
.topbar__wrapper_inner_box::before {
  content: "";
  width: 20px;
  height: 20px;
  background-color: var(--color-bg-main);
  mask: no-repeat center/contain;
  -webkit-mask: no-repeat center/contain;
}
.topbar-map::before {
  mask-image: url("../img/topbar/map-pin.svg");
  -webkit-mask-image: url("../img/topbar/map-pin.svg");
}
.topbar-time::before {
  mask-image: url("../img/topbar/time-line.svg");
  -webkit-mask-image: url("../img/topbar/time-line.svg");
}
.topbar-tel::before {
  mask-image: url("../img/topbar/phone-fill.svg");
  -webkit-mask-image: url("../img/topbar/phone-fill.svg");
}

@media (max-width: 1050px) {
  .topbar {
    display: none;
  }
}
.header {
  font-family: var(--font-body);
  font-size: var(--text-md-size);
  line-height: var(--lh-text);
}
.header__main_wrapper_inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 15px 0;
}
.header__main_wrapper_inner_social {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header__main_wrapper_inner_social_text {
  font-size: var(--text-sm-size);
}
.header__main_wrapper_inner_logo_link img {
  height: 90px;
  width: auto;
  aspect-ratio: 3/1;
  object-fit: contain;
}
.header__main_wrapper_inner_search {
  display: flex;
  justify-content: end;
  gap: 8px;
}
.header__main_wrapper_inner_search_label {
  display: flex;
  overflow: hidden;
  position: relative;
  align-items: center;
  height: 50px;
  flex: 1;
  max-width: 270px;
  padding: 0 20px;
  border-radius: 30px;
  border: 0.5px solid var(--color-dark);
}
.header__main_wrapper_inner_search_label_input {
  background-color: inherit;
  width: 100%;
  height: 100%;
  font-size: var(--text-md-size);
  border: none;
  outline: none;
  padding-right: 30px;
}
.header__main_wrapper_inner_search_label_input::-webkit-search-decoration, .header__main_wrapper_inner_search_label_input::-webkit-search-cancel-button, .header__main_wrapper_inner_search_label_input::-webkit-search-results-button, .header__main_wrapper_inner_search_label_input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  display: none;
}
.header__main_wrapper_inner_search_label_icon {
  position: absolute;
  right: 6px;
  height: 44px;
  width: 44px;
  background-color: currentColor;
  border: none;
  padding: 0;
  cursor: pointer;
  mask: url("../img/header/magnifying_glass.svg") no-repeat center/17px;
  -webkit-mask: url("../img/header/magnifying_glass.svg") no-repeat center/17px;
}
.header__main_wrapper_inner_search_label_icon:hover {
  opacity: 0.7;
}
.header__menu {
  background-color: var(--color-primary);
  position: relative;
}
.header__menu_wrapper {
  position: relative;
}
.header__menu_wrapper_inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.header__menu_wrapper_inner_navigation {
  display: flex;
  align-items: center;
}
.header__menu_wrapper_inner_button {
  margin: 15px 0;
}

@media (max-width: 900px) {
  .header__main_wrapper_inner {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
  }
  .header__main_wrapper_inner_social {
    flex: 1;
  }
  .header__main_wrapper_inner_social_text {
    display: none;
  }
  .header__main_wrapper_inner_logo_link img {
    height: 50px;
    width: auto;
    aspect-ratio: 3/1;
    object-fit: contain;
  }
  .header__main_wrapper_inner_search {
    flex: 1;
  }
  .header__main_wrapper_inner_search_label {
    display: none;
  }
}
@media (min-width: 900px) {
  .header__subbuttons,
  .header__mobile_dropdown {
    display: none;
  }
}
@media (max-width: 899px) {
  .header__subbuttons {
    display: block;
    background-color: var(--color-bg-main);
    position: relative;
    z-index: 999;
  }
  .header__subbuttons_list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  .header__subbuttons_item {
    flex: 1;
    display: flex;
  }
  .header__subbuttons_item:first-child {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
  }
  .header__subbuttons_link, .header__subbuttons_btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 10px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-dark);
    text-decoration: none;
    background: transparent;
    border: none;
    gap: 10px;
  }
  .header__subbuttons_btn svg {
    transition: 0.3s ease;
  }
  .header__subbuttons_btn.active svg {
    transform: rotate(180deg);
  }
  .header__mobile_dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-main);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .header__mobile_dropdown.burger-open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
  }
  .header__mobile_dropdown_inner {
    padding: 20px 15px;
  }
  .header__mobile_dropdown_inner .header__mobile_search {
    margin-bottom: 20px;
    width: 100%;
    display: block;
  }
  .header__mobile_dropdown_inner .header__mobile_search .header__main_wrapper_inner_search_label {
    width: 100%;
    display: flex;
    max-width: 100%;
  }
  .header__mobile_dropdown_inner .header__mobile_search .header__main_wrapper_inner_search_label_input {
    width: 100%;
  }
  .header__mobile_dropdown_inner .header__mobile_search .header__main_wrapper_inner_search_label_icon {
    background-color: var(--color-dark);
  }
  .header__mobile_dropdown_inner .nav__list {
    display: flex;
    flex-direction: column;
  }
  .header__mobile_dropdown_inner .nav__link {
    color: var(--color-primary);
    font-weight: var(--h-weight-bold);
  }
  .header__mobile_dropdown_inner .nav__mega-item .nav__link {
    color: var(--color-dark);
    font-weight: 400;
  }
}
@media (max-width: 600px) {
  .header__main_wrapper_inner_social {
    gap: 16px;
    position: fixed;
    right: 0;
    bottom: 50%;
    transform: translateY(50%);
    z-index: 11;
    flex-direction: column;
    display: flex;
    align-items: flex-end;
  }
  .header__main_wrapper_inner_social_icon {
    border-radius: 10px 0 0 10px !important;
    height: 37px !important;
    width: 37px !important;
  }
  .header__main_wrapper_inner_social_icon:hover {
    width: 55px !important;
  }
  .header__main_wrapper_inner_social_icon span {
    height: 22px !important;
    width: 22px !important;
  }
}
@media (max-width: 899px) {
  .nav__inner {
    margin-top: 10px;
    color: var(--color-dark);
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .nav__inner_box {
    display: flex;
    flex-direction: column;
    padding-left: 28px;
    gap: 30px;
    position: relative;
  }
  .nav__inner_box::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: var(--color-primary);
  }
  .nav__inner .inner-map::before {
    mask: url(../img/topbar/map-pin.svg) no-repeat center/cover;
  }
  .nav__inner .inner-map a {
    color: currentColor;
  }
  .nav__inner .inner-time::before {
    mask: url(../img/topbar/time-line.svg) no-repeat center/cover;
  }
  .nav__inner .inner-tel::before {
    mask: url(../img/topbar/phone-fill.svg) no-repeat center/cover;
  }
  .nav__inner .inner-tel a {
    color: currentColor;
  }
  .nav {
    z-index: 9999999999;
    font-family: var(--font-heading);
    background-color: var(--color-bg-main);
    position: fixed;
    top: 140px;
    bottom: 0;
    width: 100%;
    margin-left: -15px;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    padding: 5px 15px 50px 15px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    will-change: transform, opacity, visibility;
  }
  .nav__list {
    display: flex;
    flex-direction: column;
    color: var(--color-beige);
    font-weight: var(--h-weight-semi);
  }
  .nav__item {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    gap: 10px;
  }
  .nav__item:has(> ul) > .nav__link::after {
    content: "";
    display: flex;
    mask: url(../img/homepage/Vector_arrow_right.svg) no-repeat center/contain;
    width: 13px;
    height: 13px;
    background-color: currentColor;
  }
  .nav__item.is-open > .nav__mega {
    display: flex;
  }
  .nav__item.is-open > .nav__link {
    color: var(--color-accent);
  }
  .nav__item.is-open > .nav__link::after {
    transform: rotate(90deg);
  }
  .nav__link {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s ease;
  }
  .nav__mega {
    display: none;
    flex-direction: column;
    padding-left: 15px;
    gap: 10px;
  }
  .nav__mega-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .nav__mega-column.is-open > .nav__mega-list {
    display: flex;
  }
  .nav__mega-column.is-open > .nav__mega-title > .nav__link::after {
    transform: rotate(90deg);
  }
  .nav__mega-column:has(> ul) > .nav__mega-title > .nav__link::after {
    content: "";
    mask: url(../img/homepage/Vector_arrow_right.svg) no-repeat center/contain;
    width: 13px;
    height: 13px;
    background-color: currentColor;
    transition: 0.3s ease;
  }
  .nav__mega-title {
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .nav__mega-title .nav__link {
    font-weight: var(--h-weight-bold);
    color: var(--color-primary);
  }
  .nav__mega-list {
    display: none;
    flex-direction: column;
    gap: 20px;
  }
  .nav__mega-item {
    color: var(--color-dark);
    font-weight: 400;
  }
  .nav__mega-item .nav__link {
    position: relative;
  }
  .burger-open {
    transform: translateX(0%);
    opacity: 1;
    visibility: visible;
  }
  .burgerTrigger {
    background: transparent;
  }
  .burgerTrigger_inner {
    display: flex;
    width: 36px;
    height: 24px;
    position: relative;
  }
  .burgerTrigger_inner span {
    position: absolute;
    height: 3px;
    background: var(--color-beige);
    transition: all 300ms;
    transform-origin: center;
    width: 100%;
    left: 0;
  }
  .burgerTrigger_inner span:nth-child(1) {
    top: 0px;
  }
  .burgerTrigger_inner span:nth-child(2) {
    top: calc(50% - 1px);
  }
  .burgerTrigger_inner span:nth-child(3) {
    top: calc(100% - 2px);
  }
  .burgerTrigger.burger-animated .burgerTrigger_inner span {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    transition-delay: 0ms;
  }
  .burgerTrigger.burger-animated .burgerTrigger_inner span:nth-child(2) {
    opacity: 0;
    transition-delay: 40ms;
  }
  .burgerTrigger.burger-animated--cross .burgerTrigger_inner span {
    transition: transform 220ms ease, opacity 120ms ease;
  }
  .burgerTrigger.burger-animated--cross .burgerTrigger_inner span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
    transition-delay: 0ms;
  }
  .burgerTrigger.burger-animated--cross .burgerTrigger_inner span:nth-child(2) {
    opacity: 0;
    transition-delay: 0ms;
  }
  .burgerTrigger.burger-animated--cross .burgerTrigger_inner span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
    transition-delay: 0ms;
  }
}
@media (min-width: 900px) {
  .burgerTrigger {
    display: flex;
  }
  .nav__inner {
    display: none;
  }
  .nav {
    font-family: var(--font-heading);
    height: 100%;
  }
  .nav__list {
    display: flex;
    flex-direction: row;
    height: 100%;
    color: var(--color-beige);
    font-weight: var(--h-weight-semi);
  }
  .nav__item {
    height: 100%;
  }
  .nav__item:has(> ul) > .nav__link::after {
    content: "";
    mask: url(../img/homepage/Vector_arrow_right.svg) no-repeat center/contain;
    width: 13px;
    height: 13px;
    background-color: currentColor;
    transform: rotate(90deg);
  }
  .nav__item:hover > .nav__mega {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
  }
  .nav__item:first-child .nav__link {
    padding-left: 0;
  }
  .nav__item:last-child .nav__link {
    padding-right: 0;
  }
  .nav__link {
    display: flex;
    align-items: center;
    color: inherit;
    font-weight: 400;
    transition: 0.3s;
    height: 100%;
    padding: 10px 20px;
    gap: 6px;
  }
  .nav__link:hover {
    color: var(--color-accent);
  }
  .nav__mega {
    display: flex;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    border-top: none;
    position: absolute;
    padding: 20px;
    gap: 20px;
    border-radius: 0 0 10px 10px;
    top: 100%;
    left: 0;
    background: var(--color-bg-main);
    z-index: 999;
    flex-wrap: wrap;
  }
  .nav__mega .nav__link {
    padding: 10px;
  }
  .nav__mega-column {
    display: flex;
    flex-direction: column;
    min-width: calc((100% - 120px) / 5);
    max-width: 249px;
    flex: 1 0 auto;
  }
  .nav__mega-title .nav__link {
    transition: 0.2s ease;
    font-weight: var(--h-weight-bold);
    color: var(--color-primary);
  }
  .nav__mega-title .nav__link:hover {
    color: var(--color-dark);
  }
  .nav__mega-list {
    display: flex;
    flex-direction: column;
  }
  .nav__mega-item {
    color: var(--color-dark);
  }
  .nav__mega-item .nav__link {
    position: relative;
  }
  .nav__mega-item .nav__link::before {
    content: "";
    position: absolute;
    mask: url(../img/homepage/Vector_arrow_right.svg) no-repeat center/contain;
    background: inherit;
    width: 13px;
    height: 13px;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.2s ease;
  }
  .nav__mega-item .nav__link:hover {
    color: var(--color-primary);
  }
  .nav__mega-item .nav__link:hover::before {
    background: currentColor;
  }
  body:has(main .aboutHero, main .articlesHero, main .contacts) .nav__mega {
    background: var(--color-primary) !important;
  }
  body:has(main .aboutHero, main .articlesHero, main .contacts) .nav__mega-title .nav__link {
    color: var(--color-beige);
  }
  body:has(main .aboutHero, main .articlesHero, main .contacts) .nav__mega-title .nav__link:hover {
    color: var(--color-accent);
  }
  body:has(main .aboutHero, main .articlesHero, main .contacts) .nav__mega-item {
    color: var(--color-bg-main);
  }
  body:has(main .aboutHero, main .articlesHero, main .contacts) .nav__mega-item .nav__link:hover {
    color: var(--color-accent);
  }
  body:has(main .aboutHero, main .articlesHero, main .contacts) .nav__mega-item .nav__link:hover::before {
    background: currentColor;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: fit-content;
  padding: 0 20px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: var(--text-md-size);
  font-weight: var(--h-weight-semi);
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
}
.btn:disabled {
  cursor: not-allowed;
  pointer-events: none;
}

.btn--green {
  background: var(--color-accent);
  color: var(--color-dark);
}
.btn--green:hover, .btn--green:active {
  background-color: #7bc403;
}
.btn--green:disabled {
  background-color: #c9e59b;
}

.btn--blue {
  background: var(--color-primary);
  color: var(--color-beige);
}
.btn--blue:hover, .btn--blue:active {
  background-color: #1f849d;
}
.btn--blue:disabled {
  background-color: #6da4b1;
}

.btn--tab {
  background: var(--color-bg-main);
  color: var(--color-primary);
}
.btn--tab:hover, .btn--tab:active {
  background-color: var(--color-white);
}
.btn--tab:disabled {
  background-color: #6da4b1;
}
.btn--tab.active {
  background: var(--color-primary);
  color: var(--color-beige);
}

.btn--beige {
  background: var(--color-beige);
  color: var(--color-primary);
}
.btn--beige:hover, .btn--beige:active {
  background: var(--color-primary);
  color: var(--color-beige);
}
.btn--beige:disabled {
  background: var(--color-primary);
  color: var(--color-beige);
}

.btn--dark {
  background: var(--color-dark);
  border: 1px solid var(--color-beige);
  color: var(--color-beige);
}
.btn--dark:hover, .btn--dark:active {
  background: var(--color-beige);
  color: var(--color-dark);
}
.btn--dark:disabled {
  background: var(--color-beige);
  color: var(--color-dark);
}

button.btn,
input.btn {
  appearance: none;
}

@media (max-width: 900px) {
  .btn {
    height: 40px;
  }
}
@media (max-width: 600px) {
  .btn {
    font-size: var(--text-sm-size);
  }
}
html {
  scroll-behavior: smooth !important;
  scrollbar-gutter: stable;
}

:root {
  /* Colors */
  --color-bg-main: #f0f0f0;
  --color-beige: #d3c4af;
  --color-primary: #205a68;
  --color-dark: #31302c;
  --color-accent: #acd63c;
  --color-white: #ffffff;
  /* Fonts */
  --font-heading: "Bitter", serif;
  --font-body: "Alice", serif;
  /* Line-heights */
  --lh-heading: 1.3;
  --lh-text: 1.5;
  /* Headings */
  --h1-size: 3rem; /* 48px */
  --h2-size: 2.25rem; /* 36px */
  --h3-size: 1.5rem; /* 24px */
  --h4-size: 1.25rem; /* 20px */
  --h5-size: 1rem; /* 16px */
  --h-weight-bold: 700;
  --h-weight-semi: 600;
  /* Text */
  --text-lg-size: 1.125rem; /* 18px */
  --text-md-size: 1rem; /* 16px */
  --text-sm-size: 0.875rem; /* 14px */
}

@media (max-width: 768px) {
  :root {
    --h1-size: 1.8rem; /* 24 */
    --h2-size: 1.25rem; /* 20 */
    --h3-size: 1.125rem; /* 18 */
    --h4-size: 1rem; /* 16 */
    --h5-size: 1rem; /* 16 */
    --text-lg-size: 1rem; /* 16 */
  }
}
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  font-weight: var(--h-weight-bold);
}

h1 {
  font-size: var(--h1-size);
  line-height: var(--lh-heading);
}

h2 {
  font-size: var(--h2-size);
  line-height: 1;
}

h3 {
  font-size: var(--h3-size);
  line-height: var(--lh-text);
}

h4 {
  font-size: var(--h4-size);
  line-height: var(--lh-text);
}

h5 {
  font-size: var(--h5-size);
  font-weight: var(--h-weight-semi);
  line-height: var(--lh-text);
}

html {
  background-color: var(--color-bg-main);
}

body {
  background-color: var(--color-bg-main);
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: var(--text-md-size);
  line-height: var(--lh-text);
  font-weight: 400;
  color: var(--color-dark);
  min-height: 100vh;
}

main {
  flex: 1;
}

.wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

.icon {
  height: 30px;
  width: 30px;
  border-radius: 30px;
  position: relative;
  transition: 0.3s ease;
}
.icon span {
  display: flex;
  position: absolute;
  background-color: var(--color-white);
}
.icon-telegram {
  background-color: #2f89ce;
}
.icon-telegram:hover {
  background-color: #3aa9fe;
}
.icon-telegram_vector {
  height: 13px;
  width: 15px;
  left: 7px;
  top: 9px;
  mask: url("../img/header/VectorTelegram.svg") no-repeat center/contain;
  -webkit-mask: url("../img/header/VectorTelegram.svg") no-repeat center/contain;
}
.icon-whatsapp {
  background-color: #48c95f;
}
.icon-whatsapp:hover {
  background-color: #57e570;
}
.icon-whatsapp_vector {
  height: 16px;
  width: 16px;
  left: 7px;
  top: 7px;
  mask: url("../img/header/VectorWhatsapp.svg") no-repeat center/contain;
  -webkit-mask: url("../img/header/VectorWhatsapp.svg") no-repeat center/contain;
}
.icon-viber {
  background-color: #7c509a;
}
.icon-viber:hover {
  background-color: #a669cf;
}
.icon-viber_vector {
  height: 17px;
  width: 16px;
  left: 7px;
  top: 8px;
  mask: url("../img/header/VectorViber.svg") no-repeat center/contain;
  -webkit-mask: url("../img/header/VectorViber.svg") no-repeat center/contain;
}

.hero {
  background-color: var(--color-beige);
  height: calc(100vh - 260px);
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right;
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  z-index: 1;
  content: "";
  position: absolute;
  width: 100%;
  inset: 0;
  background: linear-gradient(270deg, rgba(211, 196, 175, 0.05) 36.28%, rgba(211, 196, 175, 0.5) 39.4%, rgba(211, 196, 175, 0.75) 43.85%, #d3c4af 47.42%);
  pointer-events: none;
}
.hero-arrow {
  position: absolute;
  cursor: pointer;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50px;
  background-color: var(--color-beige);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-arrow::before {
  content: "";
  height: 12px;
  width: 100%;
  mask: url("../img/homepage/hero-arrow.svg") no-repeat center/contain;
  -webkit-mask: url("../img/homepage/hero-arrow.svg") no-repeat center/contain;
  background-color: var(--color-primary);
}
.hero__wrapper {
  position: relative;
  z-index: 1;
}
.hero__wrapper_inner {
  width: 50%;
  display: flex;
  flex-direction: column;
  color: var(--color-primary);
  gap: 24px;
}
.hero__wrapper_inner_text {
  font-size: var(--h3-size);
}
.hero__wrapper_inner_discount {
  background-position: 50% 30%;
  width: fit-content;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 5rem;
  line-height: 100%;
  letter-spacing: 0;
  text-transform: uppercase;
  background-image: url("../img/homepage/discount-text.webp");
  background-size: cover;
  background-repeat: no-repeat;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}
@media (max-width: 1050px) {
  .hero {
    height: calc(100vh - 140px);
  }
  .hero__bg {
    object-fit: cover;
    object-position: center;
  }
  .hero::before {
    display: none;
  }
  .hero::after {
    z-index: 0;
    content: "";
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: var(--color-beige);
    opacity: 0.5;
  }
  .hero-arrow {
    display: none;
  }
  .hero__wrapper_inner {
    width: 100%;
  }
  .hero__wrapper_inner_discount {
    font-size: 3.5rem;
    filter: contrast(1.1) drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.4));
    font-weight: 700;
  }
}
@media (max-width: 900px) {
  .hero {
    padding: 90px 0;
    align-items: start;
    height: calc(100vh - 201px);
  }
  .hero__wrapper_inner_text {
    max-width: 260px;
  }
}
/* ШПАРГАЛКА ПО ЛИСТОЧКАХ:
  --s : розмір (напр. 80px)
  --r : поворот (напр. 45deg або -20deg)
  --z : шар/z-index (напр. -1 щоб під текст)
  --f : дзеркало (ставити -1 щоб розвернути горизонтально)
приклад:  <div class="leaf leaf-1" style="top:10%; left:5%; --s:80px; --r:20deg; --z:-1;"></div>
*/
:has(> .leaf) {
  isolation: isolate;
  position: relative;
}

@property --wind {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@property --drift {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
.leaf {
  position: absolute;
  pointer-events: none;
  z-index: var(--z, -1);
  width: var(--s, 60px);
  height: var(--s, 60px);
  will-change: transform;
  background-size: contain !important;
  background-repeat: no-repeat;
  background-position: center;
  transform: translateY(var(--drift)) rotate(calc(var(--r, 0deg) + var(--wind)));
  animation: leafFloat 5s ease-in-out infinite, leafSway 7s ease-in-out infinite;
}
.leaf:nth-child(even) {
  animation-delay: -1.3s;
}
.leaf:nth-child(3n) {
  animation-delay: -2.5s;
  animation-duration: 6s, 9s;
}

@keyframes leafFloat {
  0%, 100% {
    --drift: 0px;
  }
  50% {
    --drift: -8px;
  }
}
@keyframes leafSway {
  0%, 100% {
    --wind: -4deg;
  }
  50% {
    --wind: 4deg;
  }
}
.leaf-1 {
  background-image: url("../img/decor/leaf_vector_1.svg");
}

.leaf-2 {
  background-image: url("../img/decor/leaf_vector_2.svg");
}

.leaf-3 {
  background-image: url("../img/decor/Leaf_vector_circle.svg");
}

.leaf-4 {
  background-image: url("../img/decor/leafs.svg");
}

@media (max-width: 768px) {
  .leaf {
    opacity: 0.85;
  }
  .nomob {
    display: none !important;
  }
}
.about {
  padding: 115px 0 90px 0;
}
.about__wrapper {
  gap: 90px;
}
.about__wrapper_intro {
  display: flex;
  flex-direction: row;
  gap: 30px;
}
.about__wrapper_intro_img {
  width: 50%;
  height: 350px;
  border-radius: 10px;
  overflow: hidden;
}
.about__wrapper_intro_img img {
  height: 100%;
  width: auto;
  object-fit: cover;
}
.about__wrapper_intro_content {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}
.about__wrapper_intro_content_title {
  color: var(--color-primary);
}
.about__wrapper_intro_content_text span {
  color: var(--color-primary);
}
.about__wrapper_features {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}
.about__wrapper_features_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 0 calc((100% - 90px) / 4);
}
.about__wrapper_features_item_title {
  font-size: var(--h4-size);
  line-height: var(--lh-text);
}

@media (max-width: 1050px) {
  .about {
    padding: 75px 0;
  }
  .about__wrapper {
    gap: 75px;
  }
  .about__wrapper_intro {
    flex-direction: column-reverse;
  }
  .about__wrapper_intro_img {
    width: 100%;
  }
  .about__wrapper_intro_img img {
    width: 100%;
  }
  .about__wrapper_intro_content {
    width: 100%;
  }
  .about__wrapper_features_item {
    flex: 0 0 calc((100% - 30px) / 2);
  }
}
@media (max-width: 600px) {
  .about__wrapper {
    gap: 50px;
  }
  .about__wrapper_intro_content_btn {
    width: 100%;
  }
  .about__wrapper_features_item {
    flex: 100%;
  }
}
.services {
  background-color: var(--color-primary);
  padding: 90px 0;
}
.services__wrapper {
  gap: 60px;
}
.services__wrapper_title {
  color: var(--color-beige);
}
.services__wrapper_container {
  display: flex;
  flex-direction: row;
  gap: 30px;
  flex-wrap: wrap;
}

@media (max-width: 1050px) {
  .services {
    padding: 75px 0;
  }
}
.services-card {
  width: calc((100% - 30px) / 2);
  height: 380px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.services-card:hover .services-card_img {
  transform: scale(1.05);
}
.services-card:hover .services-card_decor {
  opacity: 1;
}
.services-card:active .services-card_decor {
  background-color: #6da4b1;
}
.services-card_img {
  position: absolute;
  offset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: 0.5s ease;
  transform: scale(1);
}
.services-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  height: 200px;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(217, 217, 217, 0) 0%, #f0f0f0 58.65%);
}
.services-card_title {
  font-size: var(--h4-size);
  line-height: var(--lh-text);
  z-index: 2;
  position: relative;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 30px;
}
.services-card_decor {
  position: absolute;
  opacity: 0;
  right: 30px;
  top: 30px;
  height: 65px;
  width: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  border-radius: 30px;
  transition: 0.5s ease;
}
@media (max-width: 800px) {
  .services-card {
    width: 100%;
  }
}
.doctors {
  background-color: var(--color-beige);
  padding: 90px 0;
}
.doctors__wrapper {
  gap: 60px;
}
.doctors__wrapper_title {
  color: var(--color-primary);
}
.doctors__wrapper_container {
  display: flex;
  flex-direction: row;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (max-width: 1050px) {
  .doctors {
    padding: 75px 0;
  }
  .doctors__wrapper {
    gap: 30px;
  }
  .doctors__wrapper_container {
    justify-content: center;
  }
}
.doctors-card {
  width: calc((100% - 30px) / 2);
  max-width: 570px;
  position: relative;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  z-index: 1;
}
.doctors-card_img {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  max-height: 400px;
  width: calc((100% - 30px) / 2);
  max-width: 320px;
}
.doctors-card_img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: top center;
  user-select: none;
}
.doctors-card_img_like {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 1;
}
.doctors-card_content {
  width: calc((100% - 30px) / 2);
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
}
.doctors-card_content_title {
  color: var(--color-primary);
}
.doctors-card_content_name {
  font-size: var(--h5-size);
  font-weight: var(--h-weight-semi);
}
.doctors-card_content_text {
  flex: 1;
}
.doctors-card_content_nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
@media (max-width: 1050px) {
  .doctors-card {
    width: 100%;
  }
  .doctors-card_content {
    gap: 20px;
  }
}
@media (max-width: 550px) {
  .doctors-card_img {
    width: 100%;
  }
  .doctors-card_content {
    width: 100%;
  }
}
.like {
  background-color: inherit;
  display: flex;
  gap: 5px;
  flex-direction: column;
  font-size: var(--text-sm-size);
  color: var(--color-primary);
  align-items: center;
}
/* Плавна зміна кольору серця */
.like__svg path {
  transition: fill 0.3s ease;
}

/* Анімація биття (збільшення і повернення) */
@keyframes heartPop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}
/* Клас, який запускає анімацію */
.like__svg.is-popping {
  animation: heartPop 0.3s ease-in-out;
}

.reviews {
  padding: 90px 0;
}
.reviews__wrapper {
  gap: 60px;
}
.reviews__wrapper_inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.reviews__wrapper_inner_title {
  color: var(--color-primary);
}
.reviews__wrapper_inner_nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.reviews__wrapper_container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.reviews__slider_track_list_slide {
  background-color: var(--color-white);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.reviews__slider_track_list_slide::after {
  content: "";
  position: absolute;
  background: url(../img/header/logo.webp) no-repeat center/cover;
  height: 35px;
  width: 50px;
  right: 20px;
  top: 20px;
}
.reviews__slider_track_list_slide_name {
  color: var(--color-primary);
  font-size: var(--h4-size);
}
.reviews__dots {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 5px;
}
.reviews__dots-dot {
  height: 20px;
  width: 20px;
  border-radius: 99px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}
.reviews__dots-dot.is-active {
  width: 40px;
  border-radius: 99px;
}

@media (max-width: 1050px) {
  .reviews {
    padding: 50px 0;
  }
  .reviews__wrapper {
    gap: 30px;
  }
  .reviews__wrapper_inner_nav {
    gap: 10px;
  }
}
.splide-nav__btn {
  height: 50px;
  width: 50px;
  background-color: rgba(164, 159, 159, 0.6);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  touch-action: manipulation;
}
.splide-nav__btn:hover {
  background-color: rgba(202, 193, 193, 0.6);
}
.photo-galery {
  padding: 90px 0;
  background-color: var(--color-primary);
}
.photo-galery__wrapper {
  gap: 60px;
}
.photo-galery__wrapper_inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.photo-galery__wrapper_inner_title {
  color: var(--color-beige);
}
.photo-galery__wrapper_inner_nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.photo-galery__wrapper_container {
  display: flex;
  flex-direction: row;
  gap: 30px;
}
.photo-galery__slider, .photo-galery__bigslider {
  width: calc((100% - 30px) / 2);
}
.photo-galery__slider .splide__track, .photo-galery__bigslider .splide__track {
  height: 375px;
  border-radius: 10px;
}
.photo-galery__slider .splide__slide, .photo-galery__bigslider .splide__slide {
  border-radius: 10px;
  overflow: hidden;
}
.photo-galery__slider .splide__slide img, .photo-galery__bigslider .splide__slide img {
  cursor: pointer;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .photo-galery {
    padding: 50px 0;
  }
  .photo-galery__wrapper_inner_nav .splide-nav__btn {
    display: none;
  }
  .photo-galery__wrapper_container {
    flex-direction: column;
  }
  .photo-galery__slider {
    display: none;
    width: 100%;
  }
  .photo-galery__bigslider {
    width: 100%;
  }
}
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-modal.is-open {
  display: flex;
  opacity: 1;
}
.gallery-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}
.gallery-modal__slider {
  margin: auto;
}
.gallery-modal__content {
  position: relative;
  z-index: 2;
  width: 90vw;
  max-width: 1200px;
  margin: 5vh auto;
  display: flex;
  flex-direction: column;
  align-self: center;
}
.gallery-modal__content .splide {
  width: 100%;
}
.gallery-modal__content .splide .splide__slide {
  display: flex;
  justify-content: center;
}
.gallery-modal__content .splide .splide__slide img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
}
.gallery-modal__content .splide .splide__arrows {
  position: absolute;
  width: 100%;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
}
.gallery-modal__content .splide .splide__pagination {
  bottom: -2rem;
}
.gallery-modal__close {
  position: fixed;
  top: 10px;
  right: 20px;
  background: none;
  border: none;
  font-size: 3rem;
  color: var(--color-white);
  cursor: pointer;
  z-index: 10;
}

@media (max-width: 900px) {
  .gallery-modal__content {
    width: 95vw;
  }
}
.feedback {
  padding: 90px 0;
  background-color: var(--color-beige);
}
.feedback__wrapper {
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.feedback__wrapper_text {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 370px;
}
.feedback__wrapper_text_title {
  color: var(--color-primary);
}
.feedback__wrapper_form {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.Form {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  position: relative;
}
.Form_label {
  display: flex;
  flex: 1;
  padding: 0 20px;
  height: 50px;
  min-height: 50px;
  border: 1px solid var(--color-dark);
  border-radius: 30px;
  max-width: 270px;
  transition: 0.3s;
}
.Form_label_input {
  background-color: inherit;
  width: 100%;
  font-size: var(--h5-size);
}
.Form_label_input::placeholder {
  color: var(--color-dark);
  opacity: 0.6;
}
label.is-invalid {
  border: 1px solid red;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {
  -webkit-text-fill-color: var(--color-dark) !important;
  caret-color: var(--color-dark) !important;
  font-family: var(--font-body) !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  font-style: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  border-radius: inherit !important;
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  box-shadow: 0 0 0 1000px transparent inset !important;
  background-color: transparent !important;
  -webkit-background-clip: text !important;
}

@media (max-width: 1050px) {
  .feedback__wrapper {
    justify-content: center;
  }
  .feedback__wrapper_form {
    width: 100%;
    max-width: 370px;
  }
  .Form {
    flex-direction: column;
  }
  .Form_label {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .feedback__wrapper {
    flex-direction: column;
  }
}
.aboutHero {
  padding: 90px 0;
  background: url(../img/About/abstraction.svg) no-repeat top/contain;
}
.aboutHero__wrapper_content {
  max-width: 670px;
}
.aboutHero__wrapper_container {
  position: relative;
  overflow: hidden;
}
.aboutHero__wrapper_container_picture {
  overflow: hidden;
  border-radius: 78% 20% 78% 20%/78% 20% 78% 20%;
  transform: rotate(-8deg);
  width: 70%;
  margin: 200px auto 300px auto;
}
.aboutHero__wrapper_container_picture img {
  width: 100%;
  height: 100%;
  transform: rotate(8deg) scale(1.15);
  object-fit: cover;
}
.aboutHero__wrapper_container_cards {
  position: static !important;
}
.aboutHero__wrapper_container_cards_card {
  position: absolute;
  display: flex;
  gap: 20px;
  width: 100%;
  min-height: 300px;
  max-width: 270px;
  padding: 30px;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  border: 0.5px solid var(--color-dark);
  background-color: var(--color-white);
  text-align: center;
}
.aboutHero__wrapper_container_cards_card_circle {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  border-radius: 999px;
  min-height: 85px;
  min-width: 85px;
  width: 85px;
}
.aboutHero__wrapper_container_cards .card_1 {
  top: 0%;
  left: 25%;
}
.aboutHero__wrapper_container_cards .card_2 {
  top: 35%;
  left: 0%;
}
.aboutHero__wrapper_container_cards .card_3 {
  bottom: 0%;
  right: 30%;
}
.aboutHero__wrapper_container_cards .card_4 {
  bottom: 25%;
  right: 0%;
}

@media (max-width: 900px) {
  .aboutHero {
    padding: 50px 0;
  }
  .aboutHero__wrapper_container_picture {
    width: 100%;
    margin: 100px auto 100px auto;
  }
  .aboutHero__wrapper_container_cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1px;
    background-color: var(--color-dark);
    width: 100%;
    margin: 0 auto;
    background-clip: padding-box;
  }
  .aboutHero__wrapper_container_cards_card {
    position: static;
    gap: 20px;
    width: 100%;
    min-height: 0;
    max-width: none;
    padding: 10px;
    border-radius: 0px;
    border: none;
    background-color: var(--color-bg-main);
    text-align: center;
  }
  .aboutHero__wrapper_container_cards_card_circle {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    border-radius: 999px;
    min-height: 85px;
    min-width: 85px;
    width: 85px;
  }
  .aboutHero__wrapper_container_cards_card_text {
    display: none;
  }
}
.aboutClinic {
  padding: 90px 0;
  background: var(--color-beige);
}
.aboutClinic__wrapper {
  gap: 90px;
  height: 100%;
}
.aboutClinic__wrapper_intro {
  display: flex;
  flex: 1;
  flex-direction: row;
  gap: 30px;
}
.aboutClinic__wrapper_intro_img {
  flex: 1;
  min-height: 270px;
  width: 50%;
  border-radius: 10px;
  overflow: hidden;
  background: url(../img/homepage/aboutIntro.webp) no-repeat center/cover;
}
.aboutClinic__wrapper_intro_content {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.aboutClinic__wrapper_intro_content_title {
  color: var(--color-primary);
}
.aboutClinic__wrapper_intro_content_subtitle {
  color: var(--color-primary);
}
.aboutClinic__wrapper_intro_content_list {
  padding-left: 25px;
}
.aboutClinic__wrapper_intro_content_list_item {
  list-style-type: disc;
}

@media (max-width: 900px) {
  .aboutClinic {
    padding: 50px 0;
  }
  .aboutClinic__wrapper_intro {
    flex-direction: column-reverse;
  }
  .aboutClinic__wrapper_intro_img {
    width: 100%;
  }
  .aboutClinic__wrapper_intro_content {
    width: 100%;
  }
}
.aboutValues {
  padding: 90px 0;
}
.aboutValues__wrapper {
  gap: 30px;
  height: 100%;
}
.aboutValues__wrapper_intro {
  display: flex;
  flex: 1;
  flex-direction: row;
  gap: 30px;
}
.aboutValues__wrapper_intro_img {
  height: 100%;
  min-height: 270px;
  width: 50%;
  border-radius: 10px;
  overflow: hidden;
}
.aboutValues__wrapper_intro .img-Useful {
  background: url(../img/About/useful.webp) no-repeat center/cover;
}
.aboutValues__wrapper_intro .img-Values {
  background: url(../img/About/values.webp) no-repeat center/cover;
}
.aboutValues__wrapper_intro_content {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.aboutValues__wrapper_intro_content_title {
  color: var(--color-primary);
}
.aboutValues__wrapper_intro_content_subtitle {
  color: var(--color-primary);
}
.aboutValues__wrapper_intro_content_list {
  padding-left: 25px;
}
.aboutValues__wrapper_intro_content_list_item {
  list-style-type: disc;
}

@media (max-width: 900px) {
  .aboutValues {
    padding: 50px 0;
  }
  .aboutValues__wrapper_intro {
    flex-direction: column;
  }
  .aboutValues__wrapper_intro_img {
    width: 100%;
  }
  .aboutValues__wrapper_intro_content {
    width: 100%;
  }
}
.aboutGet {
  background-color: var(--color-beige);
  padding: 90px 0;
}
.aboutGet__wrapper {
  gap: 60px;
}
.aboutGet__wrapper_title {
  color: var(--color-primary);
}
.aboutGet__wrapper_container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px 10px;
}
.aboutGet__wrapper_container_item {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 30px;
}
.aboutGet__wrapper_container_item_circle {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 165px;
  width: 165px;
  border-radius: 165px;
  padding: 5px;
  background: url(../img/About/Ellipse.svg) no-repeat center/contain;
  background-color: var(--color-primary);
  background-origin: content-box;
  background-clip: padding-box;
}
.aboutGet__wrapper_container_item_circle svg {
  height: 80px;
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2509803922));
}
.aboutGet__wrapper_container_item_text {
  text-align: center;
  max-width: 220px;
}

@media (max-width: 1100px) {
  .aboutGet__wrapper_container {
    justify-content: center;
  }
}
@media (max-width: 900px) {
  .aboutGet {
    padding: 50px 0;
  }
}
.galeryHero {
  padding: 20px 0 0 0;
  background-color: var(--color-beige);
  background-image: url(../img/About/abstraction.svg);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
}
.galeryHero__wrapper {
  flex-direction: row;
  gap: 30px;
}
.galeryHero__wrapper_content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-primary);
  width: 50%;
  gap: 30px;
}
.galeryHero__wrapper_picture {
  width: 50%;
  background: url(../img/Galery/scale.webp) no-repeat right bottom/contain;
  height: 100%;
  min-height: 360px;
}

@media (max-width: 769px) {
  .galeryHero__wrapper {
    flex-direction: column;
  }
  .galeryHero__wrapper_content {
    width: 100%;
  }
  .galeryHero__wrapper_picture {
    width: 100%;
  }
}
.gallery-slider {
  padding: 90px 0;
}
.gallery-slider__wrapper {
  gap: 60px;
}

.outer-tabs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px 30px;
  justify-content: flex-start;
}
.outer-tabs:has(.outer-tabs__item:nth-child(3)) {
  justify-content: space-between;
}
.outer-tabs__item {
  display: flex;
  align-items: center;
  height: 50px;
  width: fit-content;
  padding: 0 20px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: var(--text-md-size);
  font-weight: var(--h-weight-semi);
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease;
  background-color: var(--color-beige);
  color: var(--color-primary);
}
.outer-tabs__item span {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.outer-tabs__item span::after {
  content: "";
  mask-image: url(../img/Galery/arrow.svg);
  display: block;
  width: 20px;
  height: 12px;
  background-color: var(--color-primary);
}
.outer-tabs .active {
  color: var(--color-beige);
  background-color: var(--color-primary);
}
.outer-tabs .active span::after {
  background-color: var(--color-beige);
}

.gallery-tab-pane {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}
.gallery-tab-pane.active {
  display: block;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  transition: height 0.4s ease-in-out;
  overflow: hidden;
  will-change: height;
}
.photo-grid.fade-anim {
  animation: fadeIn 0.4s ease-in-out;
}
.photo-grid__item {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}
.photo-grid__item img {
  width: 100%;
  height: 400px;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.photo-grid__item img:hover {
  transform: scale(1.03);
}

.custom-pagination {
  margin-top: 60px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
}
.custom-pagination_btn {
  height: 50px;
  width: 50px;
  background-color: rgba(164, 159, 159, 0.6);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  touch-action: manipulation;
  position: relative;
  border: none;
  cursor: pointer;
}
.custom-pagination_btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.custom-pagination_btn:hover {
  background-color: rgba(202, 193, 193, 0.6);
}
.custom-pagination_btn::before {
  position: absolute;
  content: "";
  background-color: #31302c;
  height: 20px;
  width: 12px;
}
.custom-pagination_btn--prev::before {
  mask-image: url(../img/homepage/Vector_arrow_left.svg);
}
.custom-pagination_btn--next::before {
  mask-image: url(../img/homepage/Vector_arrow_right.svg);
}
.custom-pagination .pages {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.custom-pagination .pages button,
.custom-pagination .pages .page-btn {
  font-family: var(--font-body);
  font-size: var(--h4-size);
  font-weight: var(--h-weight-bold);
  color: #918e82;
  background-color: inherit;
  border: none;
  cursor: pointer;
}
.custom-pagination .pages .active {
  color: var(--color-dark);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 900px) {
  .gallery-slider {
    padding: 50px 0;
  }
  .gallery-slider__wrapper {
    gap: 20px;
  }
  .outer-tabs {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  .outer-tabs__item {
    width: 100%;
  }
  .gallery-content {
    margin-top: 30px;
  }
  .photo-grid {
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
  }
  .custom-pagination {
    margin-top: 20px;
  }
}
@media (max-width: 500px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}
:root {
  --gallery-per-page: 9;
}

@media (max-width: 900px) {
  :root {
    --gallery-per-page: 8;
  }
}
@media (max-width: 500px) {
  :root {
    --gallery-per-page: 6;
  }
}
.doctorsHero {
  background-color: var(--color-beige);
  height: calc(90vh - 260px);
  position: relative;
  display: flex;
  align-items: center;
}
.doctorsHero::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-image: url(../img/About/abstraction.svg);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: 100% 50%;
}
.doctorsHero__bgImg {
  z-index: 0;
  position: absolute;
  bottom: 0;
  right: 0;
  height: 100%;
  width: 50%;
  background-image: url(../img/Doctors/doctors_hero.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.doctorsHero__bgImg_stripes {
  position: absolute;
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: row;
}
.doctorsHero__bgImg_stripes_stripe {
  background-color: var(--color-beige);
  height: 100%;
}
.doctorsHero__bgImg_stripes_stripe--1 {
  margin-left: 4px;
  width: 11px;
}
.doctorsHero__bgImg_stripes_stripe--2 {
  margin-left: 14px;
  width: 19px;
}
.doctorsHero__bgImg_stripes_stripe--3 {
  margin-left: 17px;
  width: 19px;
}
.doctorsHero__bgImg_stripes_stripe--4 {
  margin-left: 23px;
  width: 28px;
}
.doctorsHero__bgImg_stripes_stripe--5 {
  margin-left: 45px;
  width: 19px;
}
.doctorsHero__wrapper_content {
  z-index: 1;
  height: 100%;
  width: 50%;
  color: var(--color-primary);
  max-width: 570px;
}
@media (max-width: 900px) {
  .doctorsHero::after {
    z-index: 0;
    content: "";
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: var(--color-bg-main);
    opacity: 0.3;
  }
  .doctorsHero::before {
    display: none;
  }
  .doctorsHero__bgImg {
    width: 100%;
  }
  .doctorsHero__bgImg_stripes {
    display: none;
  }
  .doctorsHero__wrapper_content {
    width: 100%;
  }
}
.aboutDoctors {
  padding: 90px 0;
}
.aboutDoctors__wrapper {
  flex-direction: row;
  gap: 30px;
}
.aboutDoctors__wrapper_img {
  display: flex;
  flex-direction: row;
  gap: 30px;
  width: 50%;
}
.aboutDoctors__wrapper_img_box {
  border-radius: 10px;
  overflow: hidden;
}
.aboutDoctors__wrapper_img_box img {
  max-height: 370px;
  height: 100%;
  width: fit-content;
  object-fit: contain;
}
.aboutDoctors__wrapper_content {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.aboutDoctors__wrapper_content_title {
  color: var(--color-primary);
}
.aboutDoctors__wrapper_content_text {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.aboutDoctors__wrapper_content_text ul {
  padding-left: 25px;
}
.aboutDoctors__wrapper_content_text ul li {
  list-style: disc;
}
.aboutDoctors__wrapper_content_list {
  padding-left: 25px;
}
.aboutDoctors__wrapper_content_list_item {
  list-style-type: disc;
}

.doctorsInfo {
  background-color: var(--color-primary);
  color: var(--color-beige);
  padding: 90px 0;
}
.doctorsInfo__wrapper {
  flex-direction: row;
  gap: 30px;
}
@media (max-width: 1300px) {
  .doctorsInfo__wrapper .leaf {
    display: none;
  }
}
.doctorsInfo__wrapper_content {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.doctorsInfo__wrapper_content_text ul {
  padding-left: 25px;
}
.doctorsInfo__wrapper_content_text ul li {
  list-style: disc;
}
.doctorsInfo__wrapper_content_list {
  padding-left: 25px;
}
.doctorsInfo__wrapper_content_list_item {
  list-style-type: disc;
}

@media (max-width: 900px) {
  .aboutDoctors {
    padding: 50px 0;
  }
  .aboutDoctors__wrapper {
    flex-direction: column;
  }
  .aboutDoctors__wrapper_img {
    width: 100%;
  }
  .aboutDoctors__wrapper_content {
    width: 100%;
  }
  .doctorsInfo {
    padding: 50px 0;
  }
  .doctorsInfo__wrapper {
    flex-direction: column;
  }
  .doctorsInfo__wrapper_content {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .aboutDoctors__wrapper_content_btn {
    width: 100%;
  }
}
.articlesHero {
  padding: 90px 0;
  background: url(../img/About/abstraction.svg) no-repeat left top/contain;
}
.articlesHero__wrapper {
  gap: 60px;
}
.articlesHero__wrapper_content {
  max-width: 570px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.articlesHero__wrapper_content_title {
  color: var(--color-primary);
}
@media (hover: hover) {
  .articlesHero .articles-slide:hover {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transform: scale(1.03);
  }
}

.articles-slide {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s ease;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
}
.articles-slide_box {
  display: flex;
  flex-direction: column;
}
.articles-slide_box_img {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 370px;
}
.articles-slide_box_img img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}
.articles-slide_box_content {
  display: flex;
  flex: 1;
  justify-content: space-between;
  flex-direction: column;
  gap: 10px;
  background-color: var(--color-white);
  padding: 30px;
}
.articles-slide_box_content_title {
  color: var(--color-primary);
}
.articles-slide_box_content_info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 900px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}
.articles-pagination .navigation {
  margin: 0;
}
.articles-pagination .screen-reader-text {
  display: none;
}
.articles-pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
}
.articles-pagination .page-numbers {
  text-decoration: none;
  color: #a49f9f;
  font-weight: 700;
  font-size: 18px;
  transition: 0.3s ease;
  padding: 10px 10px;
}
.articles-pagination .page-numbers.current {
  color: #414140;
}
.articles-pagination .page-numbers:not(.prev):not(.next):hover {
  color: #414140;
}
.articles-pagination .page-numbers:nth-child(2) {
  margin-left: 10px;
}
.articles-pagination .page-numbers:nth-last-child(2) {
  margin-right: 10px;
}
.articles-pagination .prev,
.articles-pagination .next {
  height: 50px;
  width: 50px;
  background-color: rgba(164, 159, 159, 0.6);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
}
.articles-pagination .prev:hover,
.articles-pagination .next:hover {
  background-color: rgba(202, 193, 193, 0.6);
}
.articles-pagination .prev svg,
.articles-pagination .next svg {
  display: block;
}
.articles-pagination .prev.disabled,
.articles-pagination .next.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.related-slider {
  padding: 90px 0;
  background-color: var(--color-beige);
}
.related-slider__wrapper_inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.related-slider__wrapper_inner_header {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.related-slider__wrapper_inner_header_title {
  color: var(--color-primary);
}
.related-slider__wrapper_inner_header_nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.serviceHero {
  padding: 20px 0 0 0;
  background-color: var(--color-beige);
  background-image: url(../img/About/abstraction.svg);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
}
.serviceHero__wrapper {
  flex-direction: row;
  gap: 30px;
}
.serviceHero__wrapper_content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-primary);
  width: 50%;
  gap: 30px;
}
.serviceHero__wrapper_picture {
  width: 50%;
  background: url(../img/service_template/serviceHero.webp) no-repeat right bottom/contain;
  height: 100%;
  min-height: 360px;
}

@media (max-width: 769px) {
  .serviceHero__wrapper {
    flex-direction: column;
  }
  .serviceHero__wrapper_content {
    width: 100%;
  }
  .serviceHero__wrapper_picture {
    width: 100%;
  }
}
.serviceClinic {
  padding: 90px 0;
}
.serviceClinic__wrapper {
  gap: 90px;
  height: 100%;
}
.serviceClinic__wrapper_intro {
  display: flex;
  flex: 1;
  flex-direction: row;
  gap: 30px;
}
.serviceClinic__wrapper_intro:nth-child(even) {
  flex-direction: row-reverse;
}
.serviceClinic__wrapper_intro_img {
  min-height: 270px;
  width: 50%;
  height: fit-content;
  border-radius: 10px;
  overflow: hidden;
}
.serviceClinic__wrapper_intro_img img {
  width: 100%;
}
.serviceClinic__wrapper_intro_content {
  width: 50%;
  display: flex;
  flex-direction: column;
  color: var(--color-primary);
}
.serviceClinic__wrapper_intro_content_title {
  color: var(--color-primary);
  margin-bottom: 30px;
}
.serviceClinic__wrapper_intro_content_title:not(:first-of-type) {
  margin-top: 30px;
}
.serviceClinic__wrapper_intro_content_list ul {
  padding-left: 25px;
}
.serviceClinic__wrapper_intro_content_list ul li {
  list-style: disc;
}

@media (max-width: 900px) {
  .serviceClinic {
    padding: 50px 0;
  }
  .serviceClinic__wrapper {
    gap: 30px;
  }
  .serviceClinic__wrapper_intro {
    flex-direction: column-reverse;
  }
  .serviceClinic__wrapper_intro:nth-child(even) {
    flex-direction: column-reverse;
  }
  .serviceClinic__wrapper_intro_img {
    width: 100%;
  }
  .serviceClinic__wrapper_intro_content {
    width: 100%;
  }
}
.priceAccordion {
  background-color: var(--color-beige);
  padding: 90px 0;
  background-image: url(../img/About/abstraction.svg);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% auto;
}
.priceAccordion .priceAccordion-wrapper {
  gap: 30px;
}
.priceAccordion .priceAccordion-wrapper .priceAccordion-wrapper-title {
  color: var(--color-primary);
  margin-bottom: 30px;
}
.tabs-list {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tabs-list::-webkit-scrollbar {
  display: none;
}

@media (max-width: 900px) {
  .tabs-list {
    justify-content: center;
  }
}
@media (max-width: 600px) {
  .tabs-list .tab-btn {
    flex-grow: 1;
  }
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
  animation: fadeIn 0.9s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: var(--font-heading);
}
.accordion__card {
  display: flex;
  flex-direction: column;
  gap: 0px;
  transition: 0.3s ease;
}
.accordion__card__topbox {
  background-color: var(--color-primary);
  height: 60px;
  padding: 20px;
  border-radius: 60px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.accordion__card__topbox-title {
  color: var(--color-bg-main);
  font-weight: var(--h-weight-semi);
}
.accordion__card__topbox-icon {
  mask-image: url(../img/homepage/Vector_arrow_right.svg);
  background-color: var(--color-bg-main);
  height: 20px;
  width: 12px;
  transition: 0.3s ease;
}
.accordion__card--open {
  gap: 20px;
}
.accordion__card--open .accordion__card__topbox-icon {
  transform: rotate(90deg);
}
.accordion__card--open .accordion__card__bottombox {
  grid-template-rows: 1fr;
}
.accordion__card__bottombox {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-in-out;
}
.accordion__card__bottombox-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}
.accordion__card__bottombox-box {
  background-color: var(--color-bg-main);
  border-radius: 30px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 20px;
}
.accordion__card__bottombox-box_text {
  color: var(--color-primary);
}
.accordion__card__bottombox-box_info {
  display: flex;
  flex-direction: row;
  gap: 40px;
}
.accordion__card__bottombox-box_info_btn {
  margin-left: auto;
  color: var(--color-primary);
  background-color: inherit;
  font-size: var(--h5-size);
  font-family: var(--font-heading);
}

@media (max-width: 900px) {
  .priceAccordion .priceAccordion-wrapper .priceAccordion-wrapper-title {
    margin-bottom: 0px;
  }
  .accordion__card__bottombox-box_text {
    flex: 1 0 auto;
  }
  .accordion__card__bottombox-box_info {
    flex: 1 0 auto;
  }
}
.listHero {
  background-color: var(--color-beige);
  background-image: url(../img/About/abstraction.svg);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}
.listHero__wrapper {
  flex-direction: row;
  gap: 30px;
  position: relative;
  min-height: 500px;
}
.listHero__wrapper_content {
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-primary);
  width: 60%;
  gap: 30px;
}
.listHero__wrapper_picture {
  position: absolute;
  z-index: 0;
  right: 0;
  min-height: 360px;
}
.listHero__wrapper_picture img {
  height: 100%;
  transform: translateX(20%);
}

@media (max-width: 900px) {
  .listHero__wrapper_content {
    width: 100%;
  }
  .listHero__wrapper_picture img {
    transform: translateX(40%);
  }
}
.listServices {
  padding: 90px 0;
}
.listServices__wrapper {
  gap: 30px;
}
.container-service {
  display: flex;
  flex-direction: row;
  border-radius: 10px;
  padding: 50px;
  gap: 30px 100px;
  background-color: var(--color-white);
  border: 0.5px solid var(--color-beige);
  justify-content: space-between;
}
.container-service:nth-child(even) {
  flex-direction: row-reverse;
}
.container-service__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.container-service__content_title {
  text-transform: uppercase;
  color: var(--color-primary);
}
.container-service__content_title a {
  color: inherit;
}
.container-service__content_btn {
  margin-top: auto;
}
.container-service__img {
  flex: 1 0 auto;
  overflow: hidden;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 450px;
  max-height: 320px;
}
.container-service__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .listServices {
    padding: 50px 0;
  }
  .container-service {
    flex-direction: column-reverse;
    padding: 30px;
  }
  .container-service:nth-child(even) {
    flex-direction: column-reverse;
  }
}
@media (max-width: 600px) {
  .container-service {
    padding: 10px;
  }
  .container-service__content_btn {
    width: 100%;
  }
  .container-service__img {
    max-width: 100%;
  }
}
.footer {
  background-color: #31302c;
  padding: 90px 0;
  color: var(--color-beige);
}
.footer__wrapper {
  flex-direction: row;
  gap: 30px;
}
.footer__wrapper_column {
  display: flex;
  flex-direction: column;
  width: calc((100% - 90px) / 4);
  gap: 20px;
}
.footer__wrapper_column_logo a img {
  width: 100%;
  height: 100%;
}
.footer__wrapper_column_info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer__wrapper_column_info_text {
  font-family: var(--font-heading);
  font-weight: var(--h-weight-semi);
}
.footer__wrapper_column_info_link {
  font-family: var(--font-body);
  color: currentColor;
  font-weight: 400;
  transition: 0.3s ease;
}
.footer__wrapper_column_info_link:hover {
  color: var(--color-accent);
}
.footer__wrapper_column_info_link:active {
  text-decoration: underline;
}
.footer__wrapper_column_info_subtext {
  font-family: var(--font-body);
  font-weight: 400;
}
.footer__wrapper_column_info_subtext a {
  color: currentColor;
}
.footer__wrapper_column_social {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.footer-nav__list {
  display: flex;
  flex-direction: column;
  padding-left: 25px;
  gap: 20px;
}
.footer-nav__item {
  list-style-type: disc;
  transition: 0.3s ease;
}
.footer-nav__item:hover {
  color: var(--color-accent);
}
.footer-nav__item:active {
  text-decoration: underline;
}
.footer-nav__link {
  text-wrap: no-wrap;
  color: currentColor;
  transition: 0.3s ease;
}

@media (max-width: 900px) {
  .footer {
    padding: 50px 0;
  }
  .footer__wrapper {
    flex-direction: row;
    gap: 30px;
    flex-wrap: wrap;
  }
  .footer__wrapper_column {
    width: calc((100% - 30px) / 2);
  }
}
@media (max-width: 600px) {
  .footer {
    padding: 50px 0;
  }
  .footer__wrapper {
    flex-direction: column;
    gap: 30px;
    flex-wrap: wrap;
  }
  .footer__wrapper_column {
    width: 100%;
  }
}
.single-post {
  padding: 90px 0;
  background-color: var(--color-white);
}
.single-post__wrapper {
  gap: 60px;
}
.single-post__wrapper_item {
  max-width: 770px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.single-post__wrapper_item_title {
  text-align: center;
  color: var(--color-primary);
}
.single-post__wrapper_item_meta {
  margin-top: 30px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  position: relative;
}
.single-post__wrapper_item_meta::before {
  content: "";
  display: block;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 370px;
  height: 1px;
  background: linear-gradient(to right, rgba(49, 48, 44, 0) 0%, rgb(49, 48, 44) 50%, rgba(49, 48, 44, 0) 100%);
}
.single-post__wrapper_item_meta_reading {
  display: flex;
  align-items: center;
  gap: 10px;
}
.single-post__wrapper_item_content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.single-post__wrapper_item_content .wp-block-image {
  display: flex;
  justify-content: center;
  width: 100%;
  max-height: 370px;
}
.single-post__wrapper_item_content .wp-block-image img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 370px;
  object-fit: contain;
  border-radius: 30px;
  display: block;
}
.single-post__wrapper_item_content img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 370px;
  object-fit: contain;
  border-radius: 30px;
  display: block;
}
.single-post__wrapper_item_content ul,
.single-post__wrapper_item_content ol {
  padding-left: 20px;
}
.single-post__wrapper .single-post__wrapper_social {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
}

@media (max-width: 900px) {
  .single-post {
    padding: 50px 0;
    background-color: var(--color-white);
  }
  .single-post__wrapper {
    gap: 30px;
  }
}
.lang-switcher {
  display: flex;
  align-items: center;
}
.lang-switcher .glink {
  padding: 6px 8px;
  color: var(--color-dark);
  border-radius: 3px;
  cursor: pointer;
}
.lang-switcher .gt-current-lang {
  background: #dbd9d9;
}

body.lock-scroll {
  overflow: hidden;
  touch-action: none;
}

dialog.popup {
  border: none;
  border-radius: 8px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  background: #fff;
  margin: auto;
  max-height: 90vh;
  overflow-y: auto;
}
dialog.popup::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}
dialog.popup .Form {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 30px;
}
dialog.popup .Form_title {
  color: var(--color-primary);
  margin-bottom: 10px;
}
dialog.popup .Form_label {
  width: 100%;
  max-width: 100%;
}
dialog.popup .Form_label_input {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: var(--h5-size);
  resize: none;
  overflow: auto;
}
dialog.popup .popup__close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 8px;
  right: 10px;
  height: 36px;
  width: 36px;
  background: transparent;
  border: none;
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
  color: var(--color-dark);
  background-color: inherit;
  padding: 0;
  transition: 0.3s;
}
dialog.popup .popup__close:hover {
  color: var(--color-primary);
}

@media (max-width: 600px) {
  dialog.popup .Form {
    gap: 20px;
  }
  dialog.popup .Form_btn {
    width: 100%;
  }
}
.popup {
  border: none;
  padding: 0;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.popup.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.popup::backdrop {
  background: rgba(0, 0, 0, 0);
  transition: background 0.35s ease;
}

.popup.animate-in::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.popup.is-closing {
  opacity: 0;
  transform: translateY(20px) scale(0.96);
}

.popup.is-closing::backdrop {
  background: rgba(0, 0, 0, 0);
}

.contacts {
  padding: 90px 0;
}
.contacts__wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px 30px;
}
.contacts__wrapper_title {
  color: var(--color-primary);
}
.contacts__wrapper_top {
  display: flex;
  gap: 30px;
}
.contacts__wrapper_top_map, .contacts__wrapper_top_img {
  flex: 1;
  height: 450px;
  border-radius: 10px;
  overflow: hidden;
}
.contacts__wrapper_top_map iframe {
  width: 100%;
  height: 100%;
  display: block;
}
.contacts__wrapper_top_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.contacts__wrapper_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 20px;
}
.contacts__wrapper_grid_item {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contacts__wrapper_grid_item a {
  color: var(--color-dark);
}
.contacts__wrapper_grid_item_title {
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 10px;
}
.contacts__wrapper_grid_item_title::before {
  width: 33px;
  height: 33px;
  background-color: var(--color-primary);
  mask: no-repeat center/contain;
  -webkit-mask: no-repeat center/contain;
}
.contacts__wrapper_grid_item_title--address::before {
  content: "";
  mask-image: url("../img/topbar/map-pin.svg");
  -webkit-mask-image: url("../img/topbar/map-pin.svg");
}
.contacts__wrapper_grid_item_title--work::before {
  content: "";
  mask-image: url("../img/topbar/time-line.svg");
  -webkit-mask-image: url("../img/topbar/time-line.svg");
}
.contacts__wrapper_grid_item_title--phone::before {
  content: "";
  mask-image: url("../img/topbar/phone-fill.svg");
  -webkit-mask-image: url("../img/topbar/phone-fill.svg");
}
.contacts__wrapper_grid_item_text {
  font-size: var(--text-lg-size);
}
.contacts__wrapper_grid_item_text a {
  color: var(--color-dark);
  transition: color 0.3s ease;
}
.contacts__wrapper_grid_item_text a:hover {
  color: var(--color-primary);
}
.contacts__wrapper_grid_item_link {
  color: var(--color-dark);
  transition: color 0.3s ease;
}
.contacts__wrapper_grid_item_link:hover {
  color: var(--color-primary);
}

@media (max-width: 900px) {
  .contacts {
    padding: 50px 0;
  }
  .contacts__wrapper_top {
    flex-direction: column;
  }
  .contacts__wrapper_top_map, .contacts__wrapper_top_img {
    flex: none;
    width: 100%;
    height: 350px;
    max-height: 350px;
  }
  .contacts__wrapper_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
  }
}
@media (max-width: 600px) {
  .contacts__wrapper_grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-flow: row;
    gap: 30px;
  }
}
.Toast {
  position: fixed;
  inset: unset;
  margin: 0;
  border: none;
  top: 20px;
  right: 20px;
  padding: 14px 18px;
  background: var(--color-dark);
  color: var(--color-dark);
  border-radius: 8px;
  font-size: var(--h5-size);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 9999;
}
.Toast--show {
  opacity: 1;
  transform: translateY(0);
}
.Toast--error {
  background: red;
  color: var(--color-white);
}
.Toast--success {
  background: var(--color-accent);
}