:root {
  --color-primary: #2f597d;
  --color-primary-light: #ebf6ff;
  --color-accent: #af9680;
  --color-green: #2e8033;
  --color-text: #1e1e1e;
  --color-white: #ffffff;
  --border-color: #1e1e1e;
  --border-radius-sm: 5px;
  --border-radius-full: 50px;
  /* --font-main: "Pangram", sans-serif; */
  --font-main: 'PPPangramSansRounded', sans-serif;
  --font-title: "Qestero", serif;
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
     ========================================================================== */
/**
   * Remove the margin in all browsers.
   */
body {
  margin: 0;
}

/**
   * Render the `main` element consistently in IE.
   */
main {
  display: block;
}

/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
     ========================================================================== */
/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
     ========================================================================== */
/**
   * Remove the gray background on active links in IE 10.
   */
a {
  background-color: transparent;
}

/**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */
b,
strong {
  font-weight: bolder;
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
   * Add the correct font size in all browsers.
   */
small {
  font-size: 80%;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
     ========================================================================== */
/**
   * Remove the border on images inside links in IE 10.
   */
img {
  border-style: none;
}

/* Forms
     ========================================================================== */
/**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
   * Correct the inability to style clickable types in iOS and Safari.
   */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
   * Remove the inner border and padding in Firefox.
   */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
   * Restore the focus styles unset by the previous rule.
   */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
   * Correct the padding in Firefox.
   */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */
progress {
  vertical-align: baseline;
}

/**
   * Remove the default vertical scrollbar in IE 10+.
   */
textarea {
  overflow: auto;
}

/**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */
[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
   * Remove the inner padding in Chrome and Safari on macOS.
   */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
     ========================================================================== */
/*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */
details {
  display: block;
}

/*
   * Add the correct display in all browsers.
   */
summary {
  display: list-item;
}

/* Misc
     ========================================================================== */
/**
   * Add the correct display in IE 10+.
   */
template {
  display: none;
}

/**
   * Add the correct display in IE 10.
   */
[hidden] {
  display: none;
}

/* Pangram Light */
@font-face {
  font-display: swap;
  font-family: "Pangram";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/pangram/Pangram-Sans-Light.woff2") format("woff2");
}

/* Pangram Medium */
@font-face {
  font-display: swap;
  font-family: "Pangram";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/pangram/Pangram-Sans-Medium.woff2") format("woff2");
}

/* Pangram SemiBold */
@font-face {
  font-display: swap;
  font-family: "Pangram";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/pangram/Pangram-Sans-Semibold.woff2") format("woff2");
}

/* Pangram Rounded */
@font-face {
  font-family: "PPPangramSansRounded";
  src: url("../fonts/pangram/PPPangramSansRounded-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PPPangramSansRounded";
  src: url("../fonts/pangram/PPPangramSansRounded-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PPPangramSansRounded";
  src: url("../fonts/pangram/PPPangramSansRounded-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Qestero Regular */
@font-face {
  font-display: swap;
  font-family: "Qestero";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/qestero/QESTERO-Regular.woff2?v=2") format("woff2");
}

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

html,
body {
  scrollbar-gutter: stable;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 500;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  font-weight: 400;
}

.wrapper {
  display: grid;
  grid-template-areas: "header" "main" "footer";
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 100%;
  min-height: 100vh;
}

main {
  grid-area: main;
}

.scroll-lock {
  overflow-y: hidden;
}

.link {
  width: fit-content;
  position: relative;
  display: inline-block;
  color: inherit;
  transition: color 0.3s linear;
}

/* базовая чёрная линия — видна всегда */
.link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.05em;
  width: 100%;
  height: 1px;
  background: #000;
}

/* анимированная линия — растёт при наведении */
.link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.05em;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.link:hover,
.link:focus-visible {
  color: var(--color-accent);
}

.link:hover::after,
.link:focus-visible::after {
  transform: scaleX(1);
}

.btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  padding: 11px 15px;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-decoration: none;
  background: var(--color-accent);
  border-radius: var(--border-radius-sm);
  border: 1px solid transparent;
  transition: 0.3s linear;
}

.btn span {
  /* transform: translateY(-3px); */
}

.btn svg {
  transition: transform 0.3s linear;
  transform-origin: right;
}

.btn:hover,
.btn:focus-visible {
  border-color: var(--color-white);
}

.btn:hover svg,
.btn:focus-visible svg {
  transform: scale(1.5);
  ;
}

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

.btn--outline {
  border-color: var(--border-color);
  background-color: transparent;
  color: var(--border-color);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  color: var(--color-white);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--full {
  width: 100%;
  justify-content: center;
  align-items: center;
}

.btn--full svg {
  transform-origin: left;
}

.btn--full:hover svg,
.btn--full:focus-visible svg {
  transform: scale(1.3);
}

.btn--round {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 1px solid var(--color-white);
  background: rgba(213, 192, 165, 0.1);
  gap: 10px;
  text-align: left;
  padding: 0 0 0 40px;
}

.btn--round span {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.btn--round svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s linear;
  transform-origin: left;
}

.btn--round:hover,
.btn--round:focus-visible {
  background-color: #fff;
  color: var(--color-primary);
}

.btn--round:hover svg,
.btn--round:focus-visible svg {
  transform: scale(1.5);
}

@media (max-width: 576px) {
  .btn--round {
    width: 145px;
    height: 145px;
  }

  .btn--round span {
    font-size: 0.875rem;
  }
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;

  pointer-events: none;
  transition: background-color 0.25s ease;
}

body.admin-bar .header {
  top: 32px;
}

@media (max-width: 768px) {
  body.admin-bar .header {
    top: 46px;
  }
}

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

.header .container {
  pointer-events: auto;
}

.header__inner.active .header__logo {
  position: relative;
  z-index: 6;
}

.header__inner.active .burger {
  position: relative;
  z-index: 6;
}

.header__inner.active .nav--header {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100dvh;
  padding: 140px 20px 20px;
  background: var(--color-white);
}

.header__inner.active .nav--header ul {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: auto 0;
  overflow: auto;
}

.header__inner.active .nav--header ul a {
  font-size: 2rem;
  color: var(--color-text);
}

.header__left {
  display: flex;
  align-items: center;
  gap: 25px;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 25px;
}

.header__desktop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding: 22px 0; */
  position: relative;
}

.header__logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  color: var(--color-white);
}

.header__logo-mark {
  display: block;
  width: 168px;
  height: auto;
}

.header__lang-switch {
  /* Arabic stays in the markup. Hidden until the site launches that language. */
  display: none;
  align-items: center;
  gap: 7px;

  list-style: none;
  color: var(--color-white);
}

.header__mobile {
  display: none;
}

.header .nav--header a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-main);
  font-weight: 500;
  color: var(--color-white);
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.header .nav--header a img {
  display: block;
  width: 18px;
  height: 18px;
}

.header .nav--header svg {
  transform: translateY(3px);
}

@media (max-width: 768px) {
  .header__desktop {
    display: none;
  }

  .header__mobile {
    position: relative;
    display: block;
    background: var(--color-primary);
  }

  .header__mobile-body {
    height: 56px;
  }

  .header__mobile .header__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .header__mobile .header__logo-mark {
    width: 148px;
    height: auto;
  }

  .header__mobile .burger {
    position: absolute;
    top: 50%;
    right: 18px;
    width: 22px;
    height: 44px;
    justify-content: center;
    gap: 4px;
    transform: translateY(-50%);
  }

  .header__mobile .burger__item {
    width: 18px;
    height: 1.5px;
    border-radius: 1px;
    background-color: #fff;
  }

  .header__mobile .burger.active .burger__item:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }

  .header__mobile .burger.active .burger__item:nth-child(2) {
    opacity: 0;
  }

  .header__mobile .burger.active .burger__item:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }
}

/* megamenu */
.menu-item--has-mega {
  position: relative;

  padding: 22px 0;
}

.menu-item--has-mega>a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: -60px;
  z-index: 100;

  width: min(680px, calc(100vw - 40px));
  max-height: calc(100dvh - 90px);
  overflow: auto;

  display: none;
  grid-template-columns: 127px minmax(0, 1fr);
  align-items: stretch;

  color: var(--color-primary) !important;

  background-color: #fff;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

@media (max-width: 1024px) {
  .mega-menu {
    left: -30px;
  }
}

.menu-item--has-mega.is-mega-open>.mega-menu {
  display: grid;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/*
 * Categories
 */

.mega-menu__categories {
  padding: 24px 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;

  background-color: var(--color-primary-light);
  border-right: 1px solid color-mix(in srgb,
      var(--color-primary) 50%,
      transparent);
}

.header .nav--header .mega-menu__category {
  position: relative;

  display: inline-block;

  color: color-mix(in srgb,
      var(--color-primary) 50%,
      transparent);

  font-size: 1rem;
  line-height: 1.4;

  text-decoration: none;
}

.nav--header .mega-menu__category::after {
  content: "";

  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 1px;

  background-color: var(--color-primary);

  transform: scaleX(0);
  transform-origin: left;

  transition: transform 0.2s ease;
}

.nav--header .mega-menu__category:focus-visible::after,
.nav--header .mega-menu__category:hover::after,
.nav--header .mega-menu__category.is-active::after {
  transform: scaleX(1);
}

.nav--header .mega-menu__category:hover,
.nav--header .mega-menu__category.is-active {
  color: var(--color-primary);
}


/*
 * Services
 */

.mega-menu__services {
  display: grid;
  min-width: 0;
}

.mega-menu__service-panel {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 12px;
  padding: 24px 28px;
  visibility: hidden;
  pointer-events: none;
}

.mega-menu__service-panel.is-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mega-menu__service-panel.is-active {
  visibility: visible;
  pointer-events: auto;
}

/* /megamenu */
.header .nav--header .mega-menu__service {
  position: relative;

  display: inline-block;
  height: fit-content;
  width: fit-content;

  color: var(--color-primary);

  font-size: 0.875rem;
  line-height: 1.4;

  text-decoration: none;

  transition: color 0.2s ease;
}

.nav--header .mega-menu__service::after {
  content: "";

  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 1px;

  background-color: var(--color-primary);

  transform: scaleX(0);
  transform-origin: left;

  transition: transform 0.2s ease;
}

.nav--header .mega-menu__service:hover::after,
.nav--header .mega-menu__service:focus-visible::after {
  transform: scaleX(1);
}

.header__mob-menu {
  position: fixed;
  top: 56px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9;

  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;

  padding: 18px 16px 32px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background-color: var(--color-primary);
  transform: translateY(-120%);
  transition: transform 0.3s linear;

  pointer-events: auto;
}

body.admin-bar .header__mob-menu {
  top: 102px;
}

.header__mob-menu.active {
  transform: translateY(0);
}

.header__mob-menu .nav--header,
.header__mob-menu .mob-sheet__list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.header__mob-menu .nav--header[hidden],
.header__mob-menu .mob-sheet[hidden] {
  display: none !important;
}

.header__mob-menu .nav--header ul {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.header__mob-menu .nav--header li {
  width: 100%;
}

.header__mob-menu .nav--header ul a,
.header__mob-menu .mob-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  padding: 10px 4px;
  border: 0;
  background: none;
  color: #fff;
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.header__mob-menu .nav--header ul a::after {
  content: none;
}

.header__mob-menu .mob-row--drill {
  justify-content: space-between;
}

.header__mob-menu .mob-row svg,
.header__mob-menu .mob-sheet__back svg {
  flex: none;
  transform: none;
}

.header__mob-menu .mob-sheet {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.header__mob-menu .mob-sheet__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin: 2px 2px 6px;
  padding: 8px 4px;
  border: 0;
  background: none;
  color: #fff;
  font-family: var(--font-main);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
}

.header__mob-menu .menu-item--has-mega {
  position: static;
  padding: 0;
}

@media (max-width: 768px) {
  .header:has(.header__mob-menu.active) {
    z-index: 10001;
  }
}

.page-cus .header {
  background-color: var(--color-primary);
  position: static;
}

.single-post .header,
.page-template-about .header {
  margin-bottom: 1px;
}

.anchor-icons {
  position: fixed;
  right: 60px;
  bottom: 60px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.anchor-icons__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.anchor-icons__btn img {
  width: 35px;
  height: 35px;
  display: block;
}

.anchor-icons__btn--phone {
  background: linear-gradient(135deg, #b8cce0 0%, #d6e4f0 100%);
}

.anchor-icons__btn--phone img {
  filter: brightness(0) saturate(100%) invert(35%) sepia(20%) saturate(1200%) hue-rotate(170deg) brightness(90%) contrast(90%);
}

.anchor-icons__btn--whatsapp {
  background: linear-gradient(135deg, #b8d8c0 0%, #e0f0e4 100%);
}

.anchor-icons__btn--whatsapp img {
  filter: brightness(0) saturate(100%) invert(55%) sepia(80%) saturate(500%) hue-rotate(80deg) brightness(95%) contrast(90%);
}

.anchor-icons__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.anchor-icons__btn:active {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .anchor-icons {
    right: 12px;
    bottom: 60px;
  }

  .anchor-icons__btn {
    width: 52px;
    height: 52px;
  }

  .anchor-icons__btn img {
    width: 26px;
    height: 26px;
  }
}

.footer {
  grid-area: footer;
  margin-top: 1px;
}

.footer__top {
  background: var(--color-primary);
  height: 70px;
  display: flex;
  align-items: center;
}

.footer__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__nav ul {
  display: flex;
  gap: 25px;
}

.footer__nav a {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-white);
  letter-spacing: -0.02em;
  text-decoration: none;

  position: relative;
  display: inline-block;
}

.footer__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.footer__nav a:hover::after,
.footer__nav a:focus-visible::after {
  transform: scaleX(1);
}

.footer__top-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.footer__top-logo img {
  display: block;
  width: 138px;
  height: auto;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  display: block;
  line-height: 0;
  transition: .3s linear;
}

.footer__social a:hover {
  transform: scale(1.2);
}

.footer__social img {
  display: block;
  width: 28px;
  height: 28px;
}

.footer address {
  font-style: normal;
}

.footer dd {
  margin: 0;
}

.footer__middle {
  background: var(--color-primary-light);
  padding: 40px 0;
}

.footer__middle-content {
  display: grid;
  grid-template-columns: minmax(200px, 354px) minmax(300px, 654px);
  justify-content: space-between;
  gap: 60px;
}

@media (max-width: 768px) {
  .footer__middle-content {
    grid-template-columns: 1fr;
    justify-content: center;
    place-items: center;
    gap: 20px;
  }
}

.footer__offer {
  max-width: 354px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (max-width: 576px) {
  .footer__offer {
    gap: 20px;
  }
}

.footer__offer-title {
  font-family: var(--font-title);
  font-size: 4rem;
  line-height: 1.1;
  color: var(--color-primary);
}

.footer__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-decoration: none;
  padding: 14px 15px;
  border-radius: var(--border-radius-sm);
}

.footer__info {
  display: flex;
  flex-direction: column;
  max-width: 654px;
  width: 100%;
  gap: 103px;
}

@media (max-width: 576px) {
  .footer__info {
    gap: 20px;
  }
}

.footer__info a {
  position: relative;
  text-decoration: none;
}

.footer__info a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.footer__info a:hover::after {
  transform: scaleX(1);
}


.footer__info-row {
  display: grid;
  grid-template-columns: 169px minmax(150px, 242px);
  gap: 84px;
}

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

@media (max-width: 576px) {
  .footer__info-row {
    gap: 20px;
  }
}

.footer__info-row dl {
  margin: 0;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__contacts .footer__contact-group:last-of-type {
  margin-top: auto;
}

.footer__contact-group {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer__label {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.footer__value {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-text);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.footer__address-group {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

@media (max-width: 576px) {
  .footer__address-group {
    gap: 20px;
  }
}

.footer__legal {
  width: 100%;
}

.footer__legal ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer__legal a {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  color: rgba(47, 89, 125, 0.5);
  letter-spacing: -0.02em;
  text-decoration: none;
  position: relative;
}

.footer__legal a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.footer__legal a:hover::after {
  transform: scaleX(1);
}

.footer__divider {
  height: 1px;
  background: var(--color-white);
  margin-top: 40px;
}

@media (max-width: 576px) {
  .footer__divider {
    margin-top: 20px;
  }
}

.footer__logo-row {
  margin-top: 15px;
}

.footer__logo-row img {
  display: block;
  width: 100%;
  max-width: 1320px;
  height: auto;
}

.footer__bar {
  background: var(--color-primary);
  height: 50px;
  display: flex;
  align-items: center;
}

.footer__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__design-label {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--color-primary-light);
  letter-spacing: -0.02em;
}

.footer__design-author {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--color-white);
  letter-spacing: -0.02em;
  text-decoration: none;
}

@media (max-width: 768px) {
  .footer__top-logo {
    position: static;
    transform: none;
  }

  .footer__top-inner {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
  }

  .footer__nav {
    order: 2;
  }

  .footer__offer-title {
    font-size: 3rem;
  }

  .footer__legal {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  .footer__offer {
    align-items: center;
    text-align: center;
  }

  .footer__info {
    align-items: center;
    text-align: center;
  }

  .footer__contacts,
  .footer__address-group {
    align-items: center;
  }

  .footer__legal ul {
    align-items: center;
  }
}

.container {
  width: 100%;
  max-width: 1440px;
  padding: 0 60px;
  margin: 0 auto;
}

.container--lg {
  max-width: 100%;
}

@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }
}

.nav--header {
  display: flex;
}

@media (max-width: 768px) {
  .nav--header {
    display: none;
  }
}

.nav--header ul {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav--header ul a {
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
}

.nav--header ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--color-white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav--header ul a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav--header-desk ul>a {
  padding: 22px 0;
}

.nav--footer .nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

@media (max-width: 768px) {
  .nav--footer .nav__list {
    flex-direction: row;
  }
}

.burger {
  position: relative;
  z-index: 2;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 15px;
  padding: 0;
  margin: 0;
  font-family: var(--font-main);
  border: 0;
  background: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }
}

.burger__item {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  transition: transform 0.3s linear, opacity 0.3s linear;
}

.burger__item:last-child {
  margin-bottom: 0;
}

.section__title {
  font-family: var(--font-title);
  font-size: clamp(3rem, 1.538vw + 2.615rem, 4rem);
  font-weight: 400;
  color: var(--color-primary);
  line-height: 110%;
}

@media (max-width: 576px) {
  .section__title {
    text-align: center;
  }
}

.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form__input {
  width: 100%;
  padding: 15px 8px;
  font-family: var(--font-main);
  font-size: 1rem;
  border: 0;
  border-radius: 5px;
  background-color: #ccc;
}

.form__input::placeholder {
  font-family: var(--font-main);
  font-size: 1rem;
}

.form__btn {
  margin: 0;
  padding: 15px 8px;
  border: 0;
  background-color: #ccc;
}

.dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(1100px, 92vw);
  max-width: 100%;
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.3s linear;
}

.dialog[open] {
  animation: slide-in-up 0.5s ease forwards;
}

.dialog[open]::backdrop {
  animation: fade-in 0.5s ease forwards;
}

.dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}

.dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.dialog__close img {
  width: 14px;
  height: 14px;
}

.dialog__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

@media (max-width: 768px) {
  .dialog__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

.dialog__image {
  position: relative;
  overflow: hidden;

  background-color: var(--color-primary);
}

@media (max-width: 768px) {
  .dialog__image {
    display: none;
  }
}

.dialog__image picture,
.dialog__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dialog__content {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--color-primary-light);
  overflow-y: auto;
  max-height: 92vh;
}

@media (max-width: 1300px) {
  .dialog__content {
    padding: 20px 24px;
  }
}

@media (max-width: 768px) {
  .dialog__content {
    padding: 40px 24px;
  }
}

.dialog__title {
  margin: 0 0 16px;
  font-family: var(--font-title);
  font-size: clamp(1.75rem, 2.2vw + 1rem, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-text);
}

@media (max-width: 1300px) {
  .dialog__title {
    font-size: 1.75rem;
  }
}

.dialog__subtitle {
  margin: 0 0 32px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text);
}

@media (max-width: 1300px) {
  .dialog__subtitle {
    margin: 0 0 20px;
  }
}

.dialog__address {
  margin: 40px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-primary);
  text-align: center;
  opacity: 0.7;
}

@media (max-width: 1300px) {
  .dialog__address {
    margin: 20px 0 0;
  }
}

/* ---------------- FORM ---------------- */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 1300px) {
  .form {
    gap: 15px;
  }
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__label {
  font-size: 14px;
  color: var(--color-text);
}

.form__input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: var(--color-white);
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-size: 15px;
  color: var(--color-text);
  transition: border-color 0.2s ease;
}

.form__input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form__radios {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
}

.form__radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--color-text);
}

.form__radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.form__radio .form__radio-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid transparent;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.form__radio input:checked+.form__radio-dot {
  background: var(--color-primary);
  box-shadow: inset 0 0 0 3px var(--color-white);
}

.form__radio input:focus-visible+.form__radio-dot {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.form__submit {
  margin-top: 12px;
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px;
  background: var(--color-primary);
  color: var(--color-white);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.15s ease;
}

.form__submit:hover {
  background: #244a68;
}

.form__submit:active {
  transform: translateY(1px);
}

.form__submit-arrow {
  flex: 0 0 auto;
}

/* ---------------- Keyframes ---------------- */
@keyframes slide-in-up {
  from {
    transform: translateY(20%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Visually hidden helper (for legend) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* CF7 STYLING */
/* successful sending */
.wpcf7 form.sent .wpcf7-response-output {
  background: var(--color-primary-light);
  border: 2px solid var(--color-primary);
  color: var(--color-text);
  padding: 15px 20px;
  border-radius: 4px;
  margin-top: 20px;
}

/* validation error */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  background: #fef2f2;
  border: 2px solid #dc2626;
  color: #dc2626;
  padding: 15px 20px;
  border-radius: 4px;
  margin-top: 20px;
}

/* error message */
.wpcf7-not-valid-tip {
  color: #dc2626;
  font-size: 13px;
  margin-top: 4px;
}

/* wrapper with overlay */
.wpcf7 {
  position: relative;
}

/* overlay hidden */
.wpcf7 form.submitting::after {
  content: "";
  position: absolute;
  inset: -10px;
  background: #ebf6ff40;
  backdrop-filter: blur(2px);
  z-index: 10;
  border-radius: 6px;
}

.wpcf7 form.submitting::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid var(--color-primary-light, #d1dbe4);
  border-top-color: var(--color-primary, #2c5a7c);
  border-radius: 50%;
  animation: cf7-spin 0.8s linear infinite;
  z-index: 11;
}

/* block interaction while sending */
.wpcf7 form.submitting {
  pointer-events: none;
}

.wpcf7 form.submitting * {
  cursor: wait;
}

@keyframes cf7-spin {
  to {
    transform: rotate(360deg);
  }
}

.slider {
  position: relative;
}

.slider--treatments .slider__controls {
  background-color: var(--color-primary-light);
}

.slider--team .slider__controls {
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-primary);
}

.slider--team .slider__btn {
  color: var(--color-white);
}

.slider .swiper {
  overflow-y: visible;
  padding-bottom: 40px;
}

@media (max-width: 1440px) {
  .slider .swiper {
    margin: 0 -60px 0;
    padding: 0 60px 40px;
  }
}

@media (max-width: 1024px) {
  .slider .swiper {
    margin: 0 -30px 0;
    padding: 0 30px 30px;
  }
}

.slider .swiper-slide {
  height: auto;
}

.slider .swiper-pagination {
  position: static;
  transform: translateY(0);
}

.slider .swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 3px !important;
  background-color: #d9d9d9;
  opacity: 1;
}

.slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
}

.slider__controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 24%;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 5px;
  min-width: 40px;
  min-height: 40px;
  width: 7%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: var(--color-primary-light);
}

@media (max-width: 1440px) {
  .slider__controls {
    display: none;
  }
}

.slider__controls:has(.swiper-button-lock) {
  display: none;
}

.slider__btn {
  display: flex;
  align-items: center;
  width: 100%;
  color: var(--color-primary);
  background: none;
  border: 0;
}

.slider__btn--prev {
  justify-content: flex-end;
}

.slider__btn--next {
  justify-content: flex-start;
}

.hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
  margin-bottom: 100px;
}

@media (max-width: 768px) {
  .hero {
    margin-bottom: 40px;
  }
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg picture,
.hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  filter: blur(0);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.22) 90px, rgba(0, 0, 0, 0) 200px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.81) 100%);
}

.hero__inner {
  display: flex;
  flex-direction: column;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__desktop {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 100px;
}

.hero__desktop-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.hero .section__title {
  margin-bottom: 10px;
  color: var(--color-white);
}

@media (max-width: 576px) {
  .hero .section__title {
    text-align: left;
  }
}

.hero__subtitle {
  margin-bottom: 40px;
  font-size: 1.25rem;
  color: var(--color-primary-light);
  letter-spacing: -0.02em;
}

.hero__btn {
  width: 100%;
  max-width: 287px;
}

@media (max-width: 576px) {
  .hero__mob-bg {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100dvh;
  }
}

.intro {
  margin-bottom: 100px;
}

@media (max-width: 768px) {
  .intro {
    margin-bottom: 40px;
  }
}

.intro__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 50px;
}

.intro__text {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 0 0 654px;
  max-width: 654px;
}

.intro__body {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.intro__body p {
  max-width: 654px;
}

.intro__image {
  width: 100%;
  height: 600px;
}

@media (max-width: 576px) {
  .intro__image {
    margin: 0 -30px;
    width: auto;
  }
}

.intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

.intro__link {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

@media (max-width: 1024px) {
  .intro__header {
    flex-direction: column;
    gap: 30px;
  }

  .intro__text {
    flex: none;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .intro {
    padding: 60px 0;
  }

  .intro__header {
    align-items: center;
    text-align: center;
  }

  .intro__text {
    align-items: center;
  }

  .intro__body {
    align-items: center;
  }

  .intro__body p {
    text-align: center;
  }

  .intro__image {
    height: 182px;
  }

  .intro__link {
    align-items: center;
  }
}

.about {
  margin-bottom: 100px;
}

@media (max-width: 768px) {
  .about {
    margin-bottom: 40px;
  }
}

.about__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 100px;
}

.about__subtitle {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  margin-bottom: 13px;
  max-width: 654px;
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.about__body p {
  max-width: 654px;
}

.about__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 12px;
}

@supports (grid-template-rows: subgrid) {
  .about__cards {
    grid-template-rows: auto auto auto;
  }
}

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

@media (max-width: 576px) {
  .about__cards {
    grid-template-columns: 1fr;
    place-items: center;
  }
}

.about__card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@supports (grid-template-rows: subgrid) {
  .about__card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    gap: 0;
    align-items: start;
  }
}

.about__card img {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}

@media (max-width: 576px) {
  .about__card img {
    align-self: center;
    justify-self: center;
  }
}

.about__card-title {
  margin-bottom: 13px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.about__card-text {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

@media (max-width: 1024px) {
  .about__header {
    flex-direction: column;
    gap: 30px;
  }

  .about__cards {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .about__header {
    align-items: center;
    text-align: center;
  }

  .about__subtitle {
    text-align: center;
    max-width: 200px;
    margin: 0 auto 13px;
  }

  .about__body {
    align-items: center;
  }

  .about__body p {
    text-align: center;
  }

  .about__cards {
    flex-direction: column;
    align-items: center;
  }

  .about__card {
    align-items: center;
    text-align: center;
  }
}

.procedures {
  margin-bottom: 100px;
}

@media (max-width: 768px) {
  .procedures {
    margin-bottom: 40px;
  }
}

@media (max-width: 576px) {
  .procedures .container {
    padding: 0;
  }
}

.procedures__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 12px;
}

@media (max-width: 576px) {
  .procedures__grid {
    gap: 0;
  }
}

.procedures__content {
  background: var(--color-primary);
  padding: 58px 50px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  color: var(--color-white);
}

.procedures__content .section__title {
  color: var(--color-white);
}

.procedures__body {
  display: flex;
  flex-direction: column;
  gap: 13px;
  max-width: 555px;
}

.procedures__body p {
  max-width: 555px;
}

.procedures__link {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.procedures__link:before {
  background-color: #fff;
}

.procedures__image {
  overflow: hidden;
  position: relative;
  display: flex;
}

.procedures__image picture {
  display: flex;
  width: 100%;
}

.procedures__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

  .procedures__content {
    order: 1;
    padding: 40px 30px;
    text-align: center;
    align-items: center;
  }

  .procedures__body {
    align-items: center;
  }

  .procedures__body p {
    text-align: center;
  }

  .procedures__image {
    order: 0;
    min-height: 300px;
  }

  .procedures__link {
    align-items: center;
  }
}

.schedule {
  position: relative;
  height: 720px;
  overflow: hidden;
  padding: 104px 0;
  background-color: var(--color-primary);
}

@media (max-width: 1024px) {
  .schedule {
    padding: 60px 0;
  }
}

.schedule__bg {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.schedule__bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
}

@media (max-width: 1024px) {
  .schedule__bg img {
    object-fit: cover;
    object-position: center;
  }
}

.schedule__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(47, 89, 125, 0.3137254902);
  display: none;
}

@media (max-width: 1024px) {
  .schedule__overlay {
    display: block;
  }
}

.schedule .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.schedule__inner {
  display: flex;
  flex-direction: column;
  gap: 85px;
  max-width: 494px;
}

.schedule__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.schedule__content .section__title {
  color: var(--color-white);
}

.schedule__text {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

@media (max-width: 576px) {
  .schedule {
    height: auto;
    min-height: 507px;
  }

  .schedule__overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
  }

  .schedule .container {
    align-items: center;
    justify-content: center;
  }

  .schedule__inner {
    align-items: center;
    text-align: center;
    gap: 50px;
    max-width: 342px;
  }

  .schedule__content {
    align-items: center;
  }

  .schedule__text {
    max-width: 312px;
  }
}

.treatments {
  overflow: hidden;
}

.treatments__content {
  margin-top: 50px;
  margin-bottom: 100px;
}

.treatments .section__title {
  text-align: center;
}

.treatments__button {
  margin-top: 40px;
}

.treatment-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.treatment-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 322 / 422;
  overflow: hidden;
  background: var(--color-primary-light);
}

.treatment-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.treatment-card__badge {
  position: absolute;
  top: 15px;
  left: 13px;
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 4px 11px;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: var(--border-radius-full);
  font-size: 12px;
}

.treatment-card__title {
  margin: 11px 0 17px;
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.15;
}

.treatment-card__title span {
  font-size: 12px;
}

.treatment-card__price {
  margin-top: auto;
}

.treatment-card__arrow {
  font-size: 20px;
  line-height: 1;
}

@media (max-width: 1199px) {
  .treatments__content {
    margin-top: 40px;
  }

  .treatment-card__title {
    font-size: 19px;
  }
}

@media (max-width: 767px) {
  .treatments__content {
    margin-top: 30px;
  }

  .treatments__slider {
    padding-bottom: 55px;
  }

  .treatments__pagination {
    bottom: 20px;
  }

  .treatment-card__title {
    margin-top: 10px;
    margin-bottom: 13px;
    font-size: 18px;
  }

  .treatment-card__badge {
    top: 10px;
    left: 10px;
  }
}

.team {
  text-align: center;
  margin-bottom: 100px;
}

@media (max-width: 768px) {
  .team {
    margin-bottom: 40px;
  }
}

.team__title {
  margin-bottom: 50px;
}

.team__slider {
  overflow: hidden;
  padding-bottom: 40px;
}

.team__pagination.swiper-pagination-lock {
  display: none;
}

.team__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.team__card-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 322 / 422;
  overflow: hidden;
  background: var(--color-primary-light);
}

.team__card-img-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team__info {
  display: flex;
  flex-direction: column;
  padding: 10px 0 0;
  text-align: left;
}

.team__badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.team__badge {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  padding: 5px 15px;
  border-radius: 50px;
}

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

.team__badge--light {
  background: var(--color-primary-light);
  color: var(--color-text);
}

.team__name {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: clamp(1.25rem, 0.385vw + 1.154rem, 1.5rem);
  line-height: 1.4;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.team__role {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: clamp(0.875rem, 0.192vw + 0.827rem, 1rem);
  line-height: 1.4;
  color: rgba(47, 89, 125, 0.5);
  letter-spacing: -0.02em;
}

.treatcat {
  padding: 50px 0 0;
}

.treatcat__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.treatcat__title {
  font-family: var(--font-title);
  font-size: 3rem;
  line-height: 1.1;
  color: var(--color-text);
  flex-shrink: 0;
}

.treatcat__nav {
  position: relative;
  display: flex;
  gap: 25px;
  align-items: center;
}

.treatcat__nav::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--pill-w, 0);
  border-radius: var(--border-radius-sm);
  background: var(--color-primary);
  pointer-events: none;
  z-index: 0;
  transform: translateX(var(--pill-x, 0));
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, width;
}

.treatcat__link {
  position: relative;
  z-index: 1;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #000;
  text-decoration: none;
  padding: 8px 25px;
  border-radius: var(--border-radius-sm);
  background: transparent;
  transition: color 0.25s ease;
}

.treatcat__link:visited {
  color: #000;
}

.treatcat__link:hover,
.treatcat__link:focus-visible,
.treatcat__link.is-pill,
.treatcat__link.is-pill:visited {
  color: #fff;
}

@media (max-width: 768px) {
  .treatcat__row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .treatcat__nav {
    gap: 20px;
    flex-wrap: wrap;

    padding-left: 0;
  }

  .treatcat__link {
    font-size: 1rem;
    padding: 6px 15px;
  }
}

@media (max-width: 576px) {
  .treatcat__title {
    font-size: 2rem;
  }

  .treatcat__nav {
    gap: 12px;
  }
}

.treatcards {
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.treatcards__inner {
  display: none;
  grid-template-columns: 1fr;
  gap: 10px;
}

.treatcards__inner.is-active {
  display: grid;
}

.treatcards__card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
}

.treatcards__card:hover .treatcards__info {
  background-color: var(--color-primary-light);
}

@media (max-width: 576px) {
  .treatcards__card {
    grid-template-columns: 1fr;
    margin: 0 -30px;
  }
}

.treatcards__card--reverse .treatcards__image {
  order: 2;
}

@media (max-width: 576px) {
  .treatcards__card--reverse .treatcards__image {
    order: -1;
  }
}

.treatcards__image {
  position: relative;
  width: 100%;
  min-width: 0;
  align-self: stretch;
  background: var(--color-primary-light);
  overflow: hidden;
}

.treatcards__image::before {
  content: "";
  display: block;
  padding-top: calc(555 / 655 * 100%);
}

.treatcards__image picture,
.treatcards__image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.treatcards__image img {
  object-fit: cover;
  object-position: center;
}

.treatcards__info {
  align-self: stretch;
  height: 100%;
  flex-shrink: 0;
  background: var(--color-white);
  padding: 85px 64px 93px 61px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color 0.3s linear;
}

.treatcards__title {
  font-family: var(--font-title);
  font-size: 4rem;
  line-height: 1.1;
  color: var(--color-primary);
}

.treatcards__desc {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--color-text);
  letter-spacing: -0.02em;
  max-width: 530px;
}

.treatcards__link {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

@media (max-width: 1024px) {

  .treatcards__card,
  .treatcards__card--reverse {
    flex-direction: column;
    min-height: auto;
  }

  .treatcards__image,
  .treatcards__info {
    width: 100%;
  }

  .treatcards__info {
    padding: 40px 30px;
    gap: 30px;
  }

  .treatcards__title {
    font-size: 3rem;
  }

  .treatcards__desc {
    font-size: 1.25rem;
  }

  .treatcards__link {
    font-size: 1.25rem;
  }
}

@media (max-width: 576px) {
  .treatcards__title {
    font-size: 2.25rem;
  }

  .treatcards__desc {
    font-size: 1rem;
  }

  .treatcards__link {
    font-size: 1rem;
  }
}

.offers {
  padding: 50px 0 100px;
}

.offers__title {
  font-family: var(--font-title);
  font-size: 4rem;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: 50px;
}

.offers__slider {
  overflow: hidden;
}

.offers__slider .swiper-slide {
  width: 322px;
}

.offers__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.offers__card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 322 / 422;
  overflow: hidden;
  background: var(--color-primary-light);
}

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

.offers__badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  padding: 5px 10px;
  border-radius: 50px;
}

.offers__card-title {
  flex-grow: 1;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

@media (max-width: 576px) {
  .offers__title {
    font-size: 2.25rem;
  }

  .offers__card-btn {
    width: 100%;
  }
}

.menu {
  position: relative;
  margin-bottom: 100px;
  overflow: hidden;
  background: var(--color-primary);
  color: var(--color-white);
}

.menu__inner {
  position: relative;
  padding: 100px 0;
}

.menu__images {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.menu__image-wrap {
  position: absolute;
  top: 100px;
  bottom: 100px;
  width: 360px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.menu__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(0.97);
  transition: transform 0.5s ease;
}

.menu__list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu__item {
  position: relative;
  width: 100%;
  text-align: center;
}

.menu__link {
  position: relative;
  z-index: 3;
  display: inline-block;
  padding: 0;
  color: #ffffff50;
  background: transparent;
  border: 0;
  font-family: var(--font-title);
  font-size: clamp(3rem, 1.538vw + 2.615rem, 4rem);
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s linear;

}

.menu__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.05em;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.35s ease;
}

.menu__item:hover .menu__link::after {
  width: 100%;
}

.menu__item:hover .menu__link {
  color: #fff;
}

.menu__description {
  position: absolute;
  top: 50%;
  left: calc(50% + 190px);
  width: min(400px, 50vw - 300px);
  margin: 0;
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px) translateY(-50%);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.menu__item:hover .menu__description {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) translateY(-50%);
}

.menu__item:nth-child(1):hover~* .menu__image-wrap {
  opacity: 0;
}


.menu:has(.menu__item:nth-child(1):hover) .menu__image-wrap--face {
  opacity: 1;
  visibility: visible;
}

.menu:has(.menu__item:nth-child(1):hover) .menu__image-wrap--face .menu__image {
  transform: scale(1);
}

.menu:has(.menu__item:nth-child(2):hover) .menu__image-wrap--laser {
  opacity: 1;
  visibility: visible;
}

.menu:has(.menu__item:nth-child(2):hover) .menu__image-wrap--laser .menu__image {
  transform: scale(1);
}

.menu:has(.menu__item:nth-child(3):hover) .menu__image-wrap--iv {
  opacity: 1;
  visibility: visible;
}

.menu:has(.menu__item:nth-child(3):hover) .menu__image-wrap--iv .menu__image {
  transform: scale(1);
}

.menu:has(.menu__item:nth-child(4):hover) .menu__image-wrap--body {
  opacity: 1;
  visibility: visible;
}

.menu:has(.menu__item:nth-child(4):hover) .menu__image-wrap--body .menu__image {
  transform: scale(1);
}

.menu__image-wrap {
  right: calc(50% + 190px);
}

@media (max-width: 1199px) {
  .menu__image-wrap {
    width: 300px;
    right: calc(50% + 170px);
  }

  .menu__description {
    left: calc(50% + 170px);
    width: min(350px, 50vw - 250px);
  }
}

@media (max-width: 767px) {
  .menu {
    min-height: auto;
    margin-bottom: 40px;
  }

  .menu__inner {
    min-height: auto;
    padding: 60px 20px;
  }

  .menu__images {
    display: none;
  }

  .menu__list {
    gap: 50px;
  }

  .menu__item {
    text-align: center;
  }

  .menu__link {
    font-size: 38px;
  }

  .menu__description {
    display: none;
  }
}

@media (max-width: 575px) {
  .menu__inner {
    padding: 50px 20px;
  }

  .menu__list {
    gap: 40px;
  }

  .menu__link {
    font-size: 34px;
  }
}

.about-hero {
  background: var(--color-primary);
  padding: 99px 0 20px;
}

.about-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 89px;
}

.about-hero__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.about-hero__info {
  flex: 0 0 511px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-hero__rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-hero__rating img {
  display: block;
}

.about-hero__rating-inner {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.about-hero__rating-text {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.about-hero__stars {
  display: block;
  width: 64px;
  height: 12px;
}

.about-hero .section__title {
  color: var(--color-white);
}

.about-hero__desc {
  max-width: 654px;
  width: 100%;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.about-hero__photos {
  display: flex;
  overflow: auto;
  gap: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.about-hero__photos::-webkit-scrollbar {
  display: none;
}

@media (max-width: 1440px) {
  .about-hero__photos {
    margin: 0 -60px;
    padding: 0 60px;
  }
}

@media (max-width: 1024px) {
  .about-hero__photos {
    margin: 0 -30px;
    padding: 0 30px;
  }
}

.about-hero__photos img {
  display: block;
}

@media (max-width: 1024px) {
  .about-hero__header {
    flex-direction: column;
  }

  .about-hero__info {
    flex: none;
    width: 100%;
  }

  .about-hero__desc {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .about-hero {
    padding: 40px 0 20px;
  }

  .about-hero__inner {
    gap: 30px;
  }

  .about-hero__header {
    gap: 20px;
  }

  .about-hero__photos {
    grid-template-columns: 1fr;
  }
}

.about-intro {
  padding: 100px 0;
}

.about-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-intro__col {
  display: flex;
  flex-direction: column;
  gap: 55px;
  align-items: stretch;
  justify-content: space-between;
}

.about-intro__text-block {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-intro__heading {
  font-family: var(--font-title);
  font-size: 3rem;
  line-height: 1.1;
  color: var(--color-primary);
  max-width: 654px;
}

.about-intro__body {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.about-intro__info-block {
  display: grid;
  grid-template-columns: minmax(150px, 287px) minmax(200px, 321px);
  gap: 12px;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
}

@media (max-width: 576px) {
  .about-intro__info-block {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.about-intro__details {
  display: flex;
  flex-direction: column;
}

@media (max-width: 576px) {
  .about-intro__details {
    gap: 20px;
  }
}

.about-intro__address {
  max-width: 194px;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

@media (max-width: 576px) {
  .about-intro__address {
    max-width: 100%;
  }
}

.about-intro__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 60px;
  margin-top: auto;
}

@media (max-width: 1024px) {
  .about-intro__buttons {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .about-intro__buttons {
    margin-bottom: 0;
  }
}

.about-intro__social {
  display: flex;
  align-items: center;
  gap: 15px;
}

.about-intro__social a {
  transition: .3s linear;
}

.about-intro__social a:hover {
  transform: scale(1.2);
}

.about-intro__small-img {
  flex-shrink: 0;
  overflow: hidden;
}

.about-intro__small-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 576px) {
  .about-intro__small-img img {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

.about-intro__large-img {
  width: 100%;
  height: 100%;
}

.about-intro__large-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-intro__footer-text {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  max-width: 654px;
  margin-left: auto;
}

.about-intro__footer-text p {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

@media (max-width: 1024px) {
  .about-intro__grid {
    grid-template-columns: 1fr;
  }

  .about-intro__info-block {
    flex-direction: column;
  }

  .about-intro__details {
    max-width: 100%;
  }

  .about-intro__small-img {
    width: 100%;
  }

  .about-intro__large-img {
    height: 400px;
  }

  .about-intro__footer-text {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .about-intro {
    padding: 60px 0;
  }

  .about-intro__heading {
    font-size: 1.5rem;
    text-align: center;
  }

  .about-intro__col {
    align-items: center;
    text-align: center;
  }

  .about-intro__details {
    align-items: center;
  }
}

.about-commitment {
  margin-bottom: 100px;
}

.about-commitment__title {
  margin-bottom: 50px;
}

.about-commitment__cards {
  display: flex;
  overflow: auto;
  gap: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.about-commitment__cards::-webkit-scrollbar {
  display: none;
}

@media (max-width: 1440px) {
  .about-commitment__cards {
    margin: 0 -60px;
    padding: 0 60px;
  }
}

@media (max-width: 1024px) {
  .about-commitment__cards {
    margin: 0 -30px;
    padding: 0 30px;
  }
}

.about-commitment__card {
  flex: 0 0 321px;
  height: 409px;
  display: flex;
  flex-direction: column;
  background-color: var(--color-primary-light);
}

.about-commitment__card--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-commitment__card-inner {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}

.about-commitment__card-inner img {
  display: block;
  width: 44px;
  height: 44px;
}

.about-commitment__card-text {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .about-commitment {
    margin-bottom: 40px;
  }
}

.about-mission {
  margin-bottom: 12px;
}

.about-mission__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 576px) {
  .about-mission__grid {
    margin: 0 -30px;
  }
}

.about-mission__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-mission__card {
  background: var(--color-primary);
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.about-mission__title {
  color: var(--color-white);
}

.about-mission__text {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: clamp(1rem, 0.385vw + 0.904rem, 1.25rem);
  line-height: 1.4;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

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

  .about-mission__image {
    height: 300px;
  }

  .about-mission__card {
    padding: 30px;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .about-mission {
    padding: 60px 0;
  }

  .about-mission__image {
    height: 200px;
  }
}

.about-vision {
  margin-bottom: 12px;
}

.about-vision__inner {
  padding: 50px;
  background: var(--color-primary-light);
}

@media (max-width: 1024px) {
  .about-vision__inner {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .about-vision__inner {
    margin: 0 -30px;
  }
}

.about-vision .section__title {
  margin-bottom: 90px;
  color: #000;
}

@media (max-width: 1024px) {
  .about-vision .section__title {
    margin-bottom: 40px;
  }
}

.about-vision__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 125px;
}

@media (max-width: 1024px) {
  .about-vision__grid {
    gap: 40px;
  }
}

.about-vision__item {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

@media (max-width: 768px) {
  .about-vision__item {
    gap: 20px;
  }
}

.about-vision__item img {
  display: block;
  width: 44px;
  height: 44px;
}

.about-vision__text {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

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

  .about-vision__item {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .about-vision {
    padding: 60px 0;
  }

  .about-vision__item {
    align-items: center;
  }
}

.about-philosophy {
  margin-bottom: 100px;
}

.about-philosophy__inner {
  position: relative;
  padding: 50px;
  background: var(--color-primary);
}

@media (max-width: 1024px) {
  .about-philosophy__inner {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .about-philosophy__inner {
    margin: 0 -30px;
  }
}

.about-philosophy__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

@media (max-width: 768px) {
  .about-philosophy__grid {
    gap: 20px;
  }
}

.about-philosophy__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.about-philosophy .section__title {
  color: var(--color-white);
}

.about-philosophy__text {
  font-weight: 500;
  font-size: clamp(1rem, 0.385vw + 0.904rem, 1.25rem);
  line-height: 1.4;
  color: var(--color-white);
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.about-philosophy__image {
  transform: translateY(50px);
  overflow: hidden;
}

@media (max-width: 1024px) {
  .about-philosophy__image {
    transform: translateY(20px);
  }
}

.about-philosophy__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  display: block;
}

@media (max-width: 768px) {
  .about-philosophy__image img {
    width: 100%;
    height: auto;
    object-position: bottom;
    display: block;
  }
}

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

  .about-philosophy__card {
    align-items: center;
    text-align: center;
  }
}

.about-team {
  margin-bottom: 100px;
}

.about-team__title {
  text-align: center;
  margin-bottom: 50px;
}

.about-team__list {
  display: flex;
  flex-direction: column;
}

.about-team__card {
  padding: 20px 54px 20px 0;
}

@media (max-width: 992px) {
  .about-team__card {
    padding: 20px 0;
  }
}

.about-team__divider {
  height: 1px;
  background: var(--color-primary);
}

.about-team__row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}

.about-team__photo {
  flex: 0 0 321px;
  height: 423px;
  overflow: hidden;
  background: var(--color-primary-light);
}

.about-team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-team__info {
  flex: 1;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 15px;
}

.about-team__badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.about-team__badge {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  padding: 5px 15px;
  border-radius: 50px;
}

.about-team__badge--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.about-team__badge--light {
  background: var(--color-primary-light);
  color: var(--color-text);
}

.about-team__name {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.about-team__bio {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.about-team__bio p {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.about-team__btn {
  max-width: 287px;
  margin-top: 27px;
}

@media (max-width: 768px) {
  .about-team__row {
    flex-direction: column;
    align-items: center;
  }

  .about-team__photo {
    flex: none;
    width: 100%;
    max-width: 321px;
    height: 300px;
  }

  .about-team__info {
    max-width: 100%;
    text-align: center;
  }

  .about-team__badges {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .about-team {
    margin-bottom: 40px;
  }
}

.service-hero {
  position: relative;
  background-color: var(--color-primary-light);
  margin-bottom: 100px;
}

@media (max-width: 768px) {
  .service-hero {
    margin-bottom: 40px;
  }
}

.service-hero__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  direction: ltr;
  align-items: stretch;
  /* Высота как у hero статьи блога (.article-hero), потолок уменьшен до 620 */
  min-height: clamp(520px, calc(100dvh - 67px), 620px);
}

.service-hero picture {
  display: block;
  position: relative;
  width: calc(100% + 60px);
  max-width: 720px;
  height: 100%;
  margin-left: -60px;
  aspect-ratio: 720 / 611;
  overflow: hidden;
  background: var(--color-primary-light);
}

/* Выше 1440px контейнер центрируется и уезжает от краёв экрана, поэтому
   картинку вытягиваем к левому краю и растягиваем до текстовой колонки.
   656px — ширина колонки, 60px — вылет, который она и так делала.
   aspect-ratio 720/611 намеренно оставлен: на больших экранах картинка
   растёт пропорционально, а min-height работает как пол, а не как потолок. */
@media (min-width: 1441px) {
  .service-hero picture {
    --rc-hero-bleed: calc((100vw - 1440px) / 2);
    width: calc(656px + 60px + var(--rc-hero-bleed));
    max-width: none;
    margin-left: calc(-60px - var(--rc-hero-bleed));
  }
}

.service-hero__text-block {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
  max-width: 483px;
}

@media (max-width: 768px) {
  .service-hero__text-block {
    grid-column: auto;
    padding: 40px 0;
  }
}

.service-hero__title {
  margin-bottom: 50px;
  color: #000;
}

@media (max-width: 768px) {
  .service-hero__title {
    margin-bottom: 30px;
  }
}

.service-hero__text {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 45px;
}

@media (max-width: 768px) {
  .service-hero__text {
    margin-bottom: 30px;
  }
}

.service-hero__btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-hero__btn {
  max-width: 322px;
}

@media (max-width: 768px) {
  .service-hero__btn {
    max-width: 100%;
  }
}

.service-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1024px) {
  .service-hero picture {
    width: calc(100% + 30px);
    margin-left: -30px;
  }
}

@media (max-width: 768px) {
  .service-hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .service-hero picture {
    width: calc(100% + 30px);
    max-width: none;
    margin-left: -30px;
  }
}

.service-about {
  margin-bottom: 100px;
}

@media (max-width: 768px) {
  .service-about {
    margin-bottom: 40px;
  }
}

.service-about__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 100px;
}

@media (max-width: 1024px) {
  .service-about__inner {
    gap: 20px;
  }
}

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

.service-about__text-block {
  max-width: 483px;
}

.service-about__title {
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .service-about__title {
    margin-bottom: 30px;
  }
}

.service-about__text {
  margin-bottom: 80px;
}

@media (max-width: 768px) {
  .service-about__text {
    margin-bottom: 30px;
  }
}

.service-about__images {
  max-width: 321px;
  display: flex;
  gap: 5px;
}

.service-about__images picture {
  display: block;
  width: 158px;
  max-width: calc((100% - 5px) / 2);
  aspect-ratio: 158 / 201;
  overflow: hidden;
  background: var(--color-primary-light);
}

.service-about__images img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-about__image {
  min-width: 0;
  align-self: start;
  width: 100%;
  max-width: 654px;
}

.service-about__image picture {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 654 / 594;
  overflow: hidden;
  background: var(--color-primary-light);
}

.service-about__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-benefits {
  margin-bottom: 100px;
}

@media (max-width: 768px) {
  .service-benefits {
    margin-bottom: 40px;
  }
}

.service-benefits__title {
  margin-bottom: 50px;
  text-align: center;
}

@media (max-width: 768px) {
  .service-benefits__title {
    margin-bottom: 30px;
  }
}

.service-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 12px;
}

.service-benefits__card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  min-height: 321px;
  background-color: var(--color-primary-light);
}

/* 1 — white */

.service-benefits__card:nth-child(1) {
  background-color: #fff;
}

.service-benefits__card:nth-child(1) p {
  color: var(--color-text);
}

/* 2 — dark */

.service-benefits__card:nth-child(2) {
  background-color: var(--color-primary);
}

.service-benefits__card:nth-child(2) p {
  color: var(--color-white);
}

/* 3 — light */

.service-benefits__card:nth-child(3) {
  background-color: var(--color-primary-light);
}

.service-benefits__card:nth-child(3) p {
  color: var(--color-text);
}

/* 4 — dark */

.service-benefits__card:nth-child(4) {
  background-color: var(--color-primary);
}

.service-benefits__card:nth-child(4) p {
  color: var(--color-white);
}

/* 5 — dark */

.service-benefits__card:nth-child(5) {
  background-color: var(--color-primary);
}

.service-benefits__card:nth-child(5) p {
  color: var(--color-white);
}

/* 6 — light */

.service-benefits__card:nth-child(6) {
  background-color: var(--color-primary-light);
}

.service-benefits__card:nth-child(6) p {
  color: var(--color-text);
}

/* 7 — dark */

.service-benefits__card:nth-child(7) {
  background-color: var(--color-primary);
}

.service-benefits__card:nth-child(7) p {
  color: var(--color-white);
}

/* 8 — white */

.service-benefits__card:nth-child(8) {
  background-color: #fff;
}

.service-benefits__card:nth-child(8) p {
  color: var(--color-text);
}

@media (max-width: 1024px) {
  /* 1 — white */

  .service-benefits__card:nth-child(1) {
    background-color: #fff;
  }

  .service-benefits__card:nth-child(1) p {
    color: var(--color-text);
  }

  /* 2 — dark */

  .service-benefits__card:nth-child(2) {
    background-color: var(--color-primary);
  }

  .service-benefits__card:nth-child(2) p {
    color: var(--color-white);
  }

  /* 3 — dark */

  .service-benefits__card:nth-child(3) {
    background-color: var(--color-primary);
  }

  .service-benefits__card:nth-child(3) p {
    color: var(--color-white);
  }

  /* 4 — light */

  .service-benefits__card:nth-child(4) {
    background-color: var(--color-primary-light);
  }

  .service-benefits__card:nth-child(4) p {
    color: var(--color-text);
  }

  /* 5 — light */

  .service-benefits__card:nth-child(5) {
    background-color: var(--color-primary-light);
  }

  .service-benefits__card:nth-child(5) p {
    color: var(--color-text);
  }

  /* 6 — dark */

  .service-benefits__card:nth-child(6) {
    background-color: var(--color-primary);
  }

  .service-benefits__card:nth-child(6) p {
    color: var(--color-white);
  }

  /* 7 — dark */

  .service-benefits__card:nth-child(7) {
    background-color: var(--color-primary);
  }

  .service-benefits__card:nth-child(7) p {
    color: var(--color-white);
  }

  /* 8 — white */

  .service-benefits__card:nth-child(8) {
    background-color: #fff;
  }

  .service-benefits__card:nth-child(8) p {
    color: var(--color-text);
  }
}

.service-benefits__card:first-child {
  padding: 0;
}

.service-benefits__card:first-child p {
  max-width: 70%;
}

.service-benefits__card:last-child {
  padding: 0;
  justify-content: flex-end;
  align-items: flex-end;
}

.service-benefits__card:last-child p {
  max-width: 70%;
}

.service-benefits__card.image {
  position: relative;
}

.service-benefits__card.image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

@media (max-width: 576px) {
  .service-benefits__card {
    padding: 10px;
  }

  .service-benefits__card:first-child p {
    max-width: 100%;
  }

  .service-benefits__card:last-child p {
    max-width: 100%;
  }
}


/* benefits badges  */
.service-benefits-badges {
  overflow: hidden;

  margin-bottom: 100px;
}

@media (max-width: 768px) {
  .service-benefits-badges {
    margin-bottom: 40px;
  }
}

.service-benefits-badges__inner {
  width: 100%;
}

.service-benefits-badges__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.service-benefits-badges__title {
  margin: 0;
}

.service-benefits-badges__intro {
  max-width: 500px;
  margin-left: auto;
}

.service-benefits-badges__intro p {
  margin: 0;
}

.service-benefits-badges__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.service-benefits-badges__card {
  min-height: 321px;
  padding: 20px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;

  background-color: var(--color-primary-light);
}

.service-benefits-badges__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 5px 15px;
  border-radius: 999px;

  background-color: var(--color-primary);
  color: var(--color-white);

  font-size: clamp(1rem, 0.39vw + 0.909rem, 1.25rem);
  font-weight: 500;
  line-height: 1.4;
}

.service-benefits-badges__text {
  max-width: 90%;
  margin: 0;

  color: var(--color-text);
}

/* =========================
   DESKTOP
   ========================= */

/* 1 — light */

.service-benefits-badges__card:nth-child(1) {
  background-color: var(--color-primary-light);
}

.service-benefits-badges__card:nth-child(1) .service-benefits-badges__badge {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.service-benefits-badges__card:nth-child(1) .service-benefits-badges__text {
  color: var(--color-text);
}

/* 2 — dark */

.service-benefits-badges__card:nth-child(2) {
  background-color: var(--color-primary);
}

.service-benefits-badges__card:nth-child(2) .service-benefits-badges__badge {
  background-color: var(--color-primary-light);
  color: var(--color-text);
}

.service-benefits-badges__card:nth-child(2) .service-benefits-badges__text {
  color: var(--color-white);
}

/* 3 — light */

.service-benefits-badges__card:nth-child(3) {
  background-color: var(--color-primary-light);
}

.service-benefits-badges__card:nth-child(3) .service-benefits-badges__badge {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.service-benefits-badges__card:nth-child(3) .service-benefits-badges__text {
  color: var(--color-text);
}

/* 4 — dark */

.service-benefits-badges__card:nth-child(4) {
  background-color: var(--color-primary);
}

.service-benefits-badges__card:nth-child(4) .service-benefits-badges__badge {
  background-color: var(--color-primary-light);
  color: var(--color-text);
}

.service-benefits-badges__card:nth-child(4) .service-benefits-badges__text {
  color: var(--color-white);
}

/* 5 — dark */

.service-benefits-badges__card:nth-child(5) {
  background-color: var(--color-primary);
}

.service-benefits-badges__card:nth-child(5) .service-benefits-badges__badge {
  background-color: var(--color-primary-light);
  color: var(--color-text);
}

.service-benefits-badges__card:nth-child(5) .service-benefits-badges__text {
  color: var(--color-white);
}

/* 6 — light */

.service-benefits-badges__card:nth-child(6) {
  background-color: var(--color-primary-light);
}

.service-benefits-badges__card:nth-child(6) .service-benefits-badges__badge {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.service-benefits-badges__card:nth-child(6) .service-benefits-badges__text {
  color: var(--color-text);
}

/* 7 — dark */

.service-benefits-badges__card:nth-child(7) {
  background-color: var(--color-primary);
}

.service-benefits-badges__card:nth-child(7) .service-benefits-badges__badge {
  background-color: var(--color-primary-light);
  color: var(--color-text);
}

.service-benefits-badges__card:nth-child(7) .service-benefits-badges__text {
  color: var(--color-white);
}

/* 8 — light */

.service-benefits-badges__card:nth-child(8) {
  background-color: var(--color-primary-light);
}

.service-benefits-badges__card:nth-child(8) .service-benefits-badges__badge {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.service-benefits-badges__card:nth-child(8) .service-benefits-badges__text {
  color: var(--color-text);
}


/* =========================
   TABLET — 2 COLUMNS
   ========================= */

@media (max-width: 1024px) {
  .service-benefits-badges__header {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .service-benefits-badges__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-benefits-badges__card {
    min-height: 260px;
  }

  .service-benefits-badges__card:nth-child(1) {
    background-color: var(--color-primary-light);
  }

  .service-benefits-badges__card:nth-child(1) .service-benefits-badges__badge {
    background-color: var(--color-primary);
    color: var(--color-white);
  }

  .service-benefits-badges__card:nth-child(1) .service-benefits-badges__text {
    color: var(--color-text);
  }

  .service-benefits-badges__card:nth-child(2) {
    background-color: var(--color-primary);
  }

  .service-benefits-badges__card:nth-child(2) .service-benefits-badges__badge {
    background-color: var(--color-primary-light);
    color: var(--color-text);
  }

  .service-benefits-badges__card:nth-child(2) .service-benefits-badges__text {
    color: var(--color-white);
  }

  .service-benefits-badges__card:nth-child(3) {
    background-color: var(--color-primary);
  }

  .service-benefits-badges__card:nth-child(3) .service-benefits-badges__badge {
    background-color: var(--color-primary-light);
    color: var(--color-text);
  }

  .service-benefits-badges__card:nth-child(3) .service-benefits-badges__text {
    color: var(--color-white);
  }

  .service-benefits-badges__card:nth-child(4) {
    background-color: var(--color-primary-light);
  }

  .service-benefits-badges__card:nth-child(4) .service-benefits-badges__badge {
    background-color: var(--color-primary);
    color: var(--color-white);
  }

  .service-benefits-badges__card:nth-child(4) .service-benefits-badges__text {
    color: var(--color-text);
  }

  .service-benefits-badges__card:nth-child(5) {
    background-color: var(--color-primary-light);
  }

  .service-benefits-badges__card:nth-child(5) .service-benefits-badges__badge {
    background-color: var(--color-primary);
    color: var(--color-white);
  }

  .service-benefits-badges__card:nth-child(5) .service-benefits-badges__text {
    color: var(--color-text);
  }

  .service-benefits-badges__card:nth-child(6) {
    background-color: var(--color-primary);
  }

  .service-benefits-badges__card:nth-child(6) .service-benefits-badges__badge {
    background-color: var(--color-primary-light);
    color: var(--color-text);
  }

  .service-benefits-badges__card:nth-child(6) .service-benefits-badges__text {
    color: var(--color-white);
  }

  .service-benefits-badges__card:nth-child(7) {
    background-color: var(--color-primary);
  }

  .service-benefits-badges__card:nth-child(7) .service-benefits-badges__badge {
    background-color: var(--color-primary-light);
    color: var(--color-text);
  }

  .service-benefits-badges__card:nth-child(7) .service-benefits-badges__text {
    color: var(--color-white);
  }

  .service-benefits-badges__card:nth-child(8) {
    background-color: var(--color-primary-light);
  }

  .service-benefits-badges__card:nth-child(8) .service-benefits-badges__badge {
    background-color: var(--color-primary);
    color: var(--color-white);
  }

  .service-benefits-badges__card:nth-child(8) .service-benefits-badges__text {
    color: var(--color-text);
  }
}

@media (max-width: 576px) {

  .service-benefits-badges__header {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  .service-benefits-badges__intro {
    max-width: none;
    margin-left: 0;
  }

  .service-benefits-badges__text {
    max-width: 100%;
  }
}

/* /benefits badges */

.service-advantages {
  margin-bottom: 100px;
}

@media (max-width: 768px) {
  .service-advantages {
    margin-bottom: 40px;
  }
}

.service-advantages__header {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 47px;
}

@media (max-width: 768px) {
  .service-advantages__header {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }
}

.service-advantages__header .section__title {
  margin-bottom: 0;
  line-height: 1.1;
}

.service-advantages__header-text {
  max-width: 516px;
  padding-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.service-advantages__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

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

.service-advantages__grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-advantages__card {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 50px;
  background-color: var(--color-primary-light);
}

@media (max-width: 576px) {
  .service-advantages__card {
    padding: 15px;
    gap: 20px;
  }
}

.service-advantages__card-title {
  font-size: clamp(1.25rem, 0.385vw + 1.154rem, 1.5rem);
  font-weight: 500;
}

.service-advantages__image img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.service-faq {
  margin-bottom: 100px;
}

@media (max-width: 768px) {
  .service-faq {
    margin-bottom: 40px;
  }
}

.service-faq__inner {
  display: flex;
  flex-direction: column;
}

.service-faq__title {
  margin-bottom: 50px;
}

@media (max-width: 576px) {
  .service-faq__title {
    margin-bottom: 30px;
  }
}

.service-faq__item {
  border-bottom: 1px solid var(--color-primary);
}

.service-faq__item:first-child {
  border-top: 1px solid transparent;
}

.service-faq__question {
  width: 100%;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: color 0.25s ease;
}

.service-faq__question:hover {
  color: var(--color-primary);
}

.service-faq__question-text {
  font-size: clamp(1.25rem, 0.385vw + 1.154rem, 1.5rem);
  line-height: 1.4;
}

.service-faq__icon {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.service-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
  overflow: hidden;
}

.service-faq__answer-inner {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-faq__answer-inner p {
  margin: 0;
  padding: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
}

.service-faq__item.is-open .service-faq__answer {
  grid-template-rows: 1fr;
}

.service-faq__item.is-open .service-faq__answer-inner {
  opacity: 1;
  transform: translateY(0);
}

.service-faq__item.is-open .service-faq__icon {
  transform: rotate(180deg);
}

.service-treatments {
  margin-bottom: 100px;
}

@media (max-width: 768px) {
  .service-treatments {
    margin-bottom: 40px;
  }
}

.service-treatments .section__title {
  margin-bottom: 50px;
  text-align: left;
}

@media (max-width: 768px) {
  .service-treatments .section__title {
    margin-bottom: 30px;
  }
}

.service-treatments .treatments__content {
  margin: 0;
}

.service-areas {
  margin-bottom: 100px;
}

@media (max-width: 768px) {
  .service-areas {
    margin-bottom: 40px;
  }
}

.service-areas .section__title {
  margin-bottom: 50px;
  text-align: center;
}

@media (max-width: 768px) {
  .service-areas .section__title {
    margin-bottom: 30px;
  }
}

.service-areas__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

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

.service-areas__text-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 50px;
  background-color: var(--color-primary-light);
}

@media (max-width: 576px) {
  .service-areas__text-block {
    padding: 15px;
    gap: 20px;
  }
}

.service-areas__item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-areas__item-title {
  font-size: clamp(1.25rem, 0.385vw + 1.154rem, 1.5rem);
  font-weight: 500;
}

.service-areas__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* default page styles  */
.default {
  padding: 50px 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
}

.default>*+* {
  margin-top: 1.25em;
}

.default p {
  margin: 0 0 1.25em;
}

.default p:last-child {
  margin-bottom: 0;
}

.default h1,
.default h2,
.default h3,
.default h4,
.default h5,
.default h6 {
  margin: 1.75em 0 0.6em;
  line-height: 1.25;
  font-weight: 400;
  color: var(--color-text);
}

.default> :first-child {
  margin-top: 0;
}

.default h1:not(.section__title) {
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
}

.default h2 {
  font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2rem);
}

.default h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.5rem);
}

.default h4 {
  font-size: 1.125rem;
}

.default h5 {
  font-size: 1rem;
}

.default h6 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.default .section__title {
  margin-top: 0;
}

.default a {
  width: fit-content;
  position: relative;
  display: inline-block;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s linear;
}

.default a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.05em;
  width: 100%;
  height: 1px;
  background: #000;
}

.default a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.05em;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.default a:hover {
  color: var(--color-accent);
}

.default a:hover::after {
  transform: scaleX(1);
}

.default a.wp-block-button__link::before,
.default a.wp-block-button__link::after,
.default a.wp-element-button::before,
.default a.wp-element-button::after,
.default .wp-block-tag-cloud a::before,
.default .wp-block-tag-cloud a::after {
  display: none;
}

.default ul,
.default ol {
  margin: 0 0 1.25em;
  padding-left: 1.5em;
}

.default ul {
  list-style: disc;
}

.default ol {
  list-style: decimal;
}

.default li+li {
  margin-top: 0.35em;
}

.default ul ul,
.default ol ol,
.default ul ol,
.default ol ul {
  margin: 0.35em 0 0;
}

.default blockquote {
  margin: 1.5em 0;
  padding: 0.5em 0 0.5em 1.25em;
  border-left: 3px solid currentColor;
  font-style: italic;
  opacity: 0.9;
}

.default blockquote cite {
  display: block;
  margin-top: 0.5em;
  font-size: 0.875em;
  font-style: normal;
  opacity: 0.7;
}

.default code,
.default kbd,
.default samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: rgba(0, 0, 0, 0.06);
  padding: 0.15em 0.4em;
  border-radius: 4px;
}

.default pre {
  margin: 1.5em 0;
  padding: 1em 1.25em;
  overflow: auto;
  background: rgba(0, 0, 0, 0.06);
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  line-height: 1.5;
}

.default pre code {
  background: none;
  padding: 0;
  border-radius: 0;
}

.default img,
.default video,
.default iframe,
.default embed,
.default object {
  max-width: 100%;
  height: auto;
}

.default img {
  border-radius: var(--border-radius-sm);
}

.default figure {
  margin: 1.5em 0;
}

.default figcaption {
  margin-top: 0.5em;
  font-size: 0.875rem;
  text-align: center;
  opacity: 0.7;
}

.default table {
  width: 100%;
  margin: 1.5em 0;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.default th,
.default td {
  padding: 0.6em 0.8em;
  border: 1px solid rgba(0, 0, 0, 0.15);
  text-align: left;
  vertical-align: top;
}

.default th {
  font-weight: 600;
  background: rgba(0, 0, 0, 0.04);
}

.default caption {
  caption-side: bottom;
  margin-top: 0.5em;
  font-size: 0.875rem;
  opacity: 0.7;
}

.default hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.default .alignleft {
  float: left;
  margin: 0.25em 1.5em 1em 0;
}

.default .alignright {
  float: right;
  margin: 0.25em 0 1em 1.5em;
}

.default .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.default .alignwide {
  width: min(100vw - 2rem, 1100px);
  margin-left: 50%;
  transform: translateX(-50%);
}

.default .alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
  border-radius: 0;
}

.default .wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.25em;
}

.default .wp-block-column {
  flex: 1 1 0;
  min-width: 0;
}

@media (max-width: 600px) {
  .default .wp-block-columns {
    flex-direction: column;
  }
}

.default .wp-block-button__link {
  display: inline-block;
  padding: 0.7em 1.4em;
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  transition: background 0.2s ease;
}

.default .wp-block-button__link:hover {
  background: var(--color-accent);
}

.default .is-style-outline .wp-block-button__link {
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
}

.default .is-style-outline .wp-block-button__link:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.default .wp-block-separator {
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  margin: 2em auto;
  max-width: 100px;
}

.default .wp-block-separator.is-style-wide {
  max-width: 100%;
}

.default .wp-block-separator.is-style-dots {
  border: 0;
  text-align: center;
  max-width: none;
}

.default .wp-block-separator.is-style-dots::before {
  content: "···";
  letter-spacing: 1em;
  padding-left: 1em;
  font-size: 1.5rem;
  opacity: 0.5;
}

.default .wp-block-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 2em;
  color: var(--color-white);
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.default .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}

.default .wp-block-cover .wp-block-cover__image-background,
.default .wp-block-cover video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.default .wp-block-media-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.5em;
}

.default .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media {
  order: 2;
}

@media (max-width: 600px) {
  .default .wp-block-media-text {
    grid-template-columns: 1fr;
  }

  .default .wp-block-media-text .wp-block-media-text__media {
    order: 0 !important;
  }
}

.default .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin: 1.5em 0;
  padding: 0;
  list-style: none;
}

.default .wp-block-gallery .wp-block-image {
  margin: 0;
}

.default .wp-block-embed {
  margin: 1.5em 0;
}

.default .wp-block-embed__wrapper {
  position: relative;
}

.default .wp-block-embed iframe {
  width: 100%;
  border-radius: var(--border-radius-sm);
}

.default .wp-block-file {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1em;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-sm);
}

.default .wp-block-file a:first-child {
  flex: 1;
}

.default .wp-block-pullquote {
  margin: 2em 0;
  padding: 1.5em 1em;
  text-align: center;
  border-top: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  font-size: 1.25rem;
  font-style: italic;
}

.default .wp-block-pullquote cite {
  display: block;
  margin-top: 0.75em;
  font-size: 0.8em;
  font-style: normal;
  opacity: 0.7;
}

.default .wp-block-verse,
.default pre.wp-block-preformatted {
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.default .wp-block-latest-posts,
.default .wp-block-archives {
  padding-left: 1.25em;
}

.default .wp-block-latest-posts li,
.default .wp-block-archives li {
  margin-bottom: 0.4em;
}

.default .wp-block-tag-cloud a {
  display: inline-block;
  margin: 0 0.4em 0.4em 0;
  padding: 0.3em 0.7em;
  border: 1px solid currentColor;
  border-radius: var(--border-radius-full);
  font-size: 0.85rem;
  text-decoration: none;
}

.default .wp-block-search__inside-wrapper {
  display: flex;
  gap: 0.5rem;
}

.default .wp-block-search__input {
  flex: 1;
  padding: 0.6em 0.8em;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font: inherit;
}

.default .wp-block-search__button {
  padding: 0.6em 1.2em;
  border: 0;
  border-radius: var(--border-radius-sm);
  background: var(--color-primary);
  color: var(--color-white);
  cursor: pointer;
}

.default .wp-block-quote {
  margin: 1.5em 0;
  padding-left: 1.25em;
  border-left: 3px solid currentColor;
}

.default .wp-block-quote cite {
  display: block;
  margin-top: 0.5em;
  font-size: 0.875em;
  opacity: 0.7;
}

.default .wp-block-details {
  margin: 1.5em 0;
  padding: 0.75em 1em;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
}

.default .wp-block-details summary {
  cursor: pointer;
  font-weight: 600;
}

.default .wp-caption {
  max-width: 100%;
}

.default .wp-caption-text,
.default .wp-block-image figcaption {
  font-size: 0.875rem;
  text-align: center;
  opacity: 0.7;
}

.default .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .default .alignwide {
    width: 100%;
    margin-left: 0;
    transform: none;
  }
}

.blog-toolbar {
  background: var(--color-primary-light);
}

.blog-toolbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 100px;
}

.blog-toolbar__title {
  margin: 0;
  flex-shrink: 0;
  font-family: var(--font-title);
  font-size: 48px;
  font-weight: 400;
  line-height: normal;
  color: var(--color-primary);
}

.blog-toolbar__filters {
  display: flex;
  align-items: center;
  gap: 30px;
}

.blog-toolbar__filter {
  position: relative;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.2px;
  color: var(--color-primary);
}

.blog-toolbar__filter::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.blog-toolbar__filter:hover::after,
.blog-toolbar__filter:focus-visible::after {
  transform: scaleX(1);
}

.blog-toolbar__filter.is-active {
  color: var(--color-text);
}

.blog-toolbar__filter.is-active::after {
  transform: scaleX(1);
  transition: none;
}

.blog-toolbar__search {
  position: relative;
  flex-shrink: 0;
  width: 199px;
  height: 39px;
}

.blog-toolbar__search-icon {
  position: absolute;
  left: 8px;
  top: 7px;
  width: 26px;
  height: 26px;
  pointer-events: none;
}

.blog-toolbar__search-input {
  width: 100%;
  height: 39px;
  margin: 0;
  padding: 0 40px;
  border: 1px solid rgba(47, 89, 125, 0.5);
  border-radius: 5px;
  background: transparent;
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.2px;
  text-align: center;
  color: var(--color-primary);
}

.blog-toolbar__search-input::placeholder {
  color: rgba(47, 89, 125, 0.5);
}

.blog-toolbar__search-input:focus,
.blog-toolbar__search-input:not(:placeholder-shown) {
  padding-right: 12px;
  text-align: left;
}

.blog-toolbar__search-input:focus {
  outline: 1px solid var(--color-primary);
  outline-offset: 1px;
}

.blog-list {
  padding: 100px 0 80px;
  background: var(--color-white);
}

.blog-list__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 8px;
  row-gap: 40px;
}

.blog-card[hidden] {
  display: none;
}

.blog-card__photo {
  position: relative;
  height: 258px;
  overflow: hidden;
}

.blog-card__photo img {
  display: block;
  width: 100%;
  height: 258px;
  object-fit: cover;
}

.blog-card__tag {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 5px 10px;
  border-radius: 50px;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.14px;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-top: 20px;
}

.blog-card__date,
.blog-card__excerpt {
  margin: 0;
  color: rgba(47, 89, 125, 0.5);
  font-family: var(--font-main);
  font-weight: 500;
  line-height: 1.4;
}

.blog-card__date {
  font-size: 12px;
  letter-spacing: -0.12px;
}

.blog-card__title {
  margin: 0;
  color: var(--color-primary);
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.2px;
}

.blog-card__excerpt {
  font-size: 14px;
  letter-spacing: -0.14px;
}

.blog-card__more {
  margin-top: 11px;
  color: var(--color-primary);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.14px;
  text-decoration: none;
}

.blog-card__more::before {
  background: var(--color-primary);
}

.blog-list__empty {
  margin: 40px 0 0;
  color: rgba(47, 89, 125, 0.5);
  font-family: var(--font-main);
  font-size: 16px;
}

.blog-pager[hidden] {
  display: none;
}

.blog-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 48px;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.16px;
}

.blog-pager__page {
  padding: 0 6px;
  border: 0;
  background: none;
  color: var(--color-primary);
  opacity: 0.5;
  font: inherit;
  cursor: pointer;
  transition: opacity 0.3s linear;
}

.blog-pager__page:hover,
.blog-pager__page:focus-visible {
  opacity: 1;
}

.blog-pager__page.is-current {
  opacity: 1;
  transition: none;
}

@media (max-width: 900px) {
  .blog-toolbar__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "title search"
      "filters filters";
    align-items: center;
    column-gap: 20px;
    row-gap: 16px;
    min-height: 0;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .blog-toolbar__title {
    grid-area: title;
  }

  .blog-toolbar__filters {
    grid-area: filters;
  }

  .blog-toolbar__search {
    grid-area: search;
    justify-self: end;
  }
}

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

@media (max-width: 640px) {
  .blog-toolbar__title {
    font-size: 36px;
  }

  .blog-toolbar__filters {
    gap: 16px;
    flex-wrap: wrap;
  }

  .blog-toolbar__inner {
    grid-template-areas:
      "title title"
      "filters filters"
      "search search";
  }

  .blog-toolbar__search {
    justify-self: stretch;
    width: 100%;
  }

  .blog-list {
    padding-top: 40px;
  }

  .blog-list__grid {
    grid-template-columns: 1fr;
  }
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  height: auto;
  min-height: clamp(520px, calc(100dvh - 67px), 756px);
  margin-top: 0;
  background: var(--color-primary);
  color: #fff;
}

.article-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(24px, 12vh, 120px);
  min-width: 0;
  padding: clamp(24px, 6vh, 60px);
}

.article-hero__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.article-hero__date {
  font-family: "Pangram", sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.5);
}

.article-hero__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
}

.article-hero__lead {
  margin: 0;
  font-family: "Pangram", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.article-hero__photo {
  position: relative;
  min-width: 0;
  min-height: 280px;
}

.article-hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-page .schedule {
  margin-bottom: 0;
}

.article-layout {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  column-gap: 68px;
  align-items: start;
  padding-top: 100px;
  padding-bottom: 100px;
}

.article-aside {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 265px;
  min-width: 265px;
  max-width: 265px;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.article-aside::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.article-toc,
.article-book {
  background: var(--color-primary-light);
  border-radius: 5px;
  padding: 20px 30px;
}

.article-toc__title {
  margin: 0 0 20px;
  font-family: "Pangram", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}

.article-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-toc__link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: "Pangram", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s linear;
}

.article-toc__link::after {
  content: "";
  display: block;
  height: 0;
  border-bottom: 1px dashed currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.article-toc__link.is-active,
.article-toc__link:hover,
.article-toc__link:focus-visible {
  color: var(--color-primary);
}

.article-toc__link.is-active::after,
.article-toc__link:hover::after,
.article-toc__link:focus-visible::after {
  transform: scaleX(1);
}

.article-toc__link.is-active:hover,
.article-toc__link.is-active:focus-visible {
  color: var(--color-accent);
}

.article-book {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.article-book__icon {
  width: 41px;
  height: 41px;
  margin-bottom: 20px;
}

.article-book__title {
  margin: 0 0 10px;
  font-family: "Pangram", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}

.article-book__text {
  width: 100%;
  margin: 0 0 30px;
  font-family: "Pangram", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}

.article-book__btn {
  width: 100%;
  min-height: 42px;
  margin-bottom: 20px;
  justify-content: space-between;
  padding: 11px 15px;
  border-radius: 5px;
  background: var(--color-primary);
  color: #fff;
  font-family: "Pangram", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.article-book__points {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.article-book__points li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: "Pangram", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.article-book__points img {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.article-body {
  display: flex;
  flex-direction: column;
  gap: 80px;
  min-width: 0;
}

.service-copy {
  margin-bottom: 100px;
}

.section.text-block {
  margin-bottom: 100px;
}

@media (max-width: 768px) {
  .service-copy,
  .section.text-block {
    margin-bottom: 40px;
  }
}

.service-copy .service-faq {
  margin-bottom: 0;
}

.article-block {
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
}

.article-block__lead {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-block.is-highlight,
.article-block.is-highlight .article-block__lead,
.article-block.is-highlight .article-block__copy {
  gap: 50px;
}

.article-block.is-media-side {
  flex-direction: row;
  align-items: flex-start;
  gap: 60px;
}

.article-block.is-media-left {
  flex-direction: row-reverse;
}

.article-block__copy {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 1 1 auto;
  min-width: 0;
}

.article-block.is-media-side .article-block__figure {
  flex: 0 0 299px;
  width: 299px;
  margin: 0;
}

.article-block.is-media-side .article-block__figure img {
  width: 100%;
  height: auto;
  display: block;
}

.article-block__title {
  margin: 0;
  font-family: var(--font-title);
  font-style: normal;
  font-weight: 400;
  font-size: 48px;
  line-height: 53px;
  color: var(--color-text);
}

.article-block.is-highlight .article-block__title,
.article-body .service-faq.is-highlight .service-faq__title {
  color: var(--color-primary);
}

.article-text__body,
.article-text__body p {
  font-family: "Pangram", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.article-text__body p {
  margin: 0 0 16px;
}

.article-text__body p:last-child {
  margin-bottom: 0;
}

.article-text__body a {
  position: relative;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s linear;
}

.article-text__body a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.05em;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.article-text__body a:hover,
.article-text__body a:focus-visible {
  color: var(--color-accent);
}

.article-text__body a:hover::after,
.article-text__body a:focus-visible::after {
  transform: scaleX(1);
}

.article-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.article-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Pangram", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.article-list img {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
}

.article-block__figure {
  margin: 0;
}

.article-block__figure img {
  width: 100%;
  height: auto;
  display: block;
}

.article-cards__grid {
  display: grid;
  gap: 12px;
}

.article-cards__grid--cols-1 {
  grid-template-columns: minmax(0, 1fr);
}

.article-cards__grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-cards__grid--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  padding: 30px;
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-primary-light);
  transition: background-color 0.3s linear;
}

a.article-card.is-light:hover,
a.article-card.is-light:focus-visible {
  background-color: #fff;
}

a.article-card.is-dark:hover,
a.article-card.is-dark:focus-visible {
  background-color: #3a6d96;
}

.article-card.is-compact {
  min-height: 321px;
}

.article-card.is-compact.is-icon-top .article-card__text {
  min-height: calc(2 * 1.4em);
}

.article-card.is-compact .article-card__badge {
  padding: 5px 15px;
  border-radius: 50px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.article-card.is-light.is-compact .article-card__badge {
  background: var(--color-primary);
  color: #fff;
}

.article-card.is-dark.is-compact .article-card__badge {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.article-card.is-span {
  grid-column: 1 / -1;
  min-height: 0;
}

.article-card.is-dark {
  background: var(--color-primary);
  color: #fff;
}

.article-card.is-light {
  background: var(--color-primary-light);
  color: var(--color-text);
}

.article-card.is-icon-left,
.article-card.is-icon-right {
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 64px;
  padding: 35px 30px;
  min-height: 0;
}

.article-card.is-icon-right {
  flex-direction: row-reverse;
}

.article-card.is-icon-top .article-card__icon {
  width: 44px;
  height: 44px;
}

.article-card.is-icon-left .article-card__icon,
.article-card.is-icon-right .article-card__icon {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
}

.article-card__icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.article-card.is-dark .article-card__icon {
  filter: brightness(0) invert(1);
}

.article-card__badge {
  display: inline-flex;
  align-self: flex-start;
  font-family: "Pangram", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.article-card.is-dark .article-card__badge {
  color: #fff;
}

.article-card.is-light .article-card__badge {
  color: var(--color-text);
}

.article-card__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.article-card__title {
  margin: 0;
  font-family: "Pangram", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: inherit;
}

.article-card__text,
.article-card__text p,
.article-card__text li {
  margin: 0;
  font-family: "Pangram", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: inherit;
}

.article-card__text p + p,
.article-card__text ul,
.article-card__text ol {
  margin-top: 10px;
}

.article-card__text ul,
.article-card__text ol {
  margin-bottom: 0;
}

.article-card__text ul {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.article-card__text ol {
  padding-left: 1.1em;
  list-style: decimal;
}

.article-card__text ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.article-card__text ul li::before {
  content: "";
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  margin-top: 1px;
  background: url("../img/article/check.svg?v=2") center / contain no-repeat;
}

.article-card.is-above,
.article-card.is-cover {
  padding: 0;
  overflow: hidden;
  min-height: 0;
  justify-content: flex-start;
  gap: 0;
  background: transparent;
  color: var(--color-text);
}

.article-card.is-above {
  background: var(--color-primary-light);
  border-radius: 5px;
}

.article-card.is-above .article-card__media img {
  width: 100%;
  height: 238px;
  object-fit: cover;
  display: block;
}

.article-card.is-above .article-card__badge,
.article-card.is-above .article-card__copy {
  padding-right: 30px;
  padding-left: 30px;
}

.article-card.is-above .article-card__badge {
  margin-top: 20px;
}

.article-card.is-above .article-card__copy {
  gap: 10px;
  padding-top: 10px;
  padding-bottom: 30px;
}

.article-card.is-cover {
  color: #fff;
}

.article-cards__grid--cols-2 .article-card.is-cover {
  min-height: 490px;
}

.article-cards__grid--cols-3 .article-card.is-cover {
  min-height: 321px;
}

.article-card.is-cover .article-card__media {
  position: absolute;
  inset: 0;
}

.article-card.is-cover .article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-card.is-cover .article-card__badge,
.article-card.is-cover .article-card__copy,
.article-card.is-cover .article-card__icon {
  position: relative;
  z-index: 1;
}

.article-card.is-light.is-cover .article-card__badge,
.article-card.is-dark.is-cover .article-card__badge {
  margin: 30px 0 0 30px;
  padding: 5px 15px;
  border-radius: 50px;
  background: var(--color-primary);
  color: #fff;
  font-family: "Pangram", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.article-card.is-dark.is-above .article-card__badge,
.article-card.is-light.is-above .article-card__badge {
  color: var(--color-text);
}

.article-card.is-cover .article-card__copy {
  margin-top: auto;
  padding: 0 30px 30px;
}

.article-card.is-above .article-card__badge {
  padding: 5px 15px;
  border-radius: 5px;
  background: #fff;
  color: var(--color-text);
}

.article-table__wrap {
  overflow-x: auto;
}

.article-table__grid {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-primary-light);
  background: #fff;
  font-family: "Pangram", sans-serif;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.article-table__grid th,
.article-table__grid td {
  padding: 11px 39px;
  border-bottom: 1px solid var(--color-primary-light);
  border-right: 1px solid var(--color-primary-light);
  background: #fff;
  text-align: left;
  vertical-align: middle;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-text);
}

.article-table__grid th:last-child,
.article-table__grid td:last-child {
  border-right: 0;
}

.article-table__grid thead th:nth-child(1),
.article-table__grid tbody th {
  width: 1%;
  white-space: nowrap;
}

.article-table__grid thead th {
  background: var(--color-primary-light);
  color: var(--color-text);
  font-size: 20px;
  font-weight: 600;
}

.article-table__grid tbody th {
  font-size: 18px;
  font-weight: 600;
  background: #fff;
}

.article-body .service-faq {
  margin-bottom: 0;
}

.article-body .service-faq__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-text);
}

.article-body .service-faq.is-highlight .service-faq__title {
  color: var(--color-primary);
}

.article-body .service-faq__inner {
  gap: 20px;
}

.article-body .service-faq__question {
  padding: 20px 0;
}

.article-body .service-faq__question-text {
  font-family: "Pangram", sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.article-body .service-faq__icon {
  width: 15px;
  height: 7px;
}

.article-body .service-faq__answer-inner p {
  font-family: "Pangram", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}

@media (max-width: 1100px) {
  .article-hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .article-hero__copy {
    justify-content: flex-start;
    gap: 24px;
    min-height: 0;
    max-width: none;
    padding: 40px 24px;
  }

  .article-hero__title {
    font-size: 42px;
  }

  .article-hero__photo {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .article-layout {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .article-aside {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: none;
    max-height: none;
    overflow: visible;
  }

  .article-block.is-media-side,
  .article-block.is-media-left {
    flex-direction: column;
    gap: 40px;
  }

  .article-block.is-highlight.is-media-side {
    gap: 50px;
  }

  .article-block.is-media-side .article-block__figure {
    flex-basis: auto;
    width: 100%;
  }

  .article-block.is-media-side .article-block__figure img {
    height: auto;
  }

  .article-cards__grid,
  .article-cards__grid--cols-2,
  .article-cards__grid--cols-3 {
    grid-template-columns: 1fr;
  }

  .article-card.is-cover {
    min-height: 321px;
  }

  .article-card.is-icon-left,
  .article-card.is-icon-right {
    flex-direction: column;
    gap: 20px;
  }
}

/* Treatment pages: new flexible blocks follow the existing service sections. */
.service-copy .article-block__lead {
  gap: 50px;
}

.service-copy .article-text__body,
.service-copy .article-text__body p,
.service-copy .article-text__body li,
.service-copy .article-list li {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--color-text);
}

.service-copy .service-faq__title {
  margin: 0 0 50px;
  font-family: var(--font-title);
  font-size: clamp(3rem, 1.538vw + 2.615rem, 4rem);
  font-weight: 400;
  line-height: 110%;
  color: var(--color-primary);
}

.service-copy .service-faq__inner {
  gap: 0;
}

.service-copy .service-faq__question-text {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: clamp(1.25rem, 0.385vw + 1.154rem, 1.5rem);
  line-height: 1.4;
  letter-spacing: 0;
  color: inherit;
}

.service-copy .service-faq__answer-inner p {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .service-copy .article-block__lead {
    gap: 30px;
  }

  .service-copy .service-faq__title {
    margin-bottom: 30px;
  }
}
