/* =============================================================================
   Xnami — Palliative care centre
   Foundation + Header + Hero (desktop 1920 only)
   ========================================================================== */

/* --- Fonts ----------------------------------------------------------------- */

@font-face {
    font-family: "Noto Sans Armenian";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/NotoSansArmenian-Regular.ttf') format('truetype');
}

@font-face {
    font-family: "Noto Sans Armenian";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/NotoSansArmenian-Medium.ttf') format('truetype');
}

@font-face {
    font-family: "Noto Sans Armenian";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/NotoSansArmenian-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: "Noto Sans Armenian";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/NotoSansArmenian-Bold.ttf') format('truetype');
}

/* --- Tokens --------------------------------------------------------------- */

:root {
    --color-accent: #22a0a1;
    --color-text: #010101;
    --color-body: #1e1f24;
    --color-page: #f6f4f3;
    --color-surface: #ffffff;
    --color-text-inverse: #ffffff;

    --shadow-header: 0 4px 15px 0 rgba(72, 72, 72, 0.25);
    --scrim-hero: rgba(0, 0, 0, 0.28);

    --font-base: "Noto Sans Armenian", sans-serif;
    --radius-pill: 100px;

    --page-width: 1920px;
    --page-gutter: 240px;
    --container-width: 1440px;
}

/* --- Reset ---------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    margin: 0;
    min-width: 0;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: var(--color-page);
    color: var(--color-text);
    font-family: var(--font-base);
    font-size: 16px;
}

img {
    display: block;
}

.header ul,
.footer ul {
    list-style: none;
}

.header ul {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

/* The 1440px content column the whole design is built on (240px page gutters). */
.container {
    position: relative;
    width: var(--container-width);
    margin: 0 auto;
}

/* --- Buttons -------------------------------------------------------------- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.button--outline {
    width: 142px;
    height: 47px;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
}

.button--solid {
    width: 239px;
    height: 47px;
    background-color: var(--color-accent);
    color: var(--color-text-inverse);
}

.button--outline,
.button--solid,
.package__cta,
.package-order__cta,
.consult__submit,
.settings-submit,
.orders-form__submit {
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.button--outline:hover,
.consult__submit:hover,
.settings-submit:hover {
    background-color: var(--color-accent);
    color: var(--color-text-inverse);
}

.button--solid:hover,
.package__cta:hover,
.package-order__cta:hover {
    background-color: var(--color-surface);
    color: var(--color-accent);
}

/* --- Header --------------------------------------------------------------- */

.header {
    position: relative;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    height: 100px;
    padding: 0 var(--page-gutter);
    background-color: var(--color-surface);
    box-shadow: var(--shadow-header);
}

.header__logo {
    flex: none;
    width: 156px;
    height: 75px;
}

.header__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 23px;
    margin-left: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 23px;
}

.nav__link {
    display: block;
    font-size: 16px;
    line-height: 20px;
    white-space: nowrap;
}

.nav__link:hover {
    color: #22A0A1;
}

.nav__link--current {
    color: var(--color-accent);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page-head {
    margin-top: 20px;
    min-height: 50px;
}

.breadcrumb {
    margin: 0;
    font-size: 16px;
    line-height: normal;
    color: var(--color-text);
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.page-head__title {
    margin: 18px 0 0;
    color: var(--color-accent);
    font-size: 40px;
    font-weight: 700;
    line-height: normal;
}

.page-banner {
    display: block;
    width: 100%;
    max-height: 430px;
    margin: 24px 0 0;
    object-fit: cover;
    border-radius: 5px;
}

.page-content.editor {
    padding: 40px 0 60px;
    color: var(--color-body);
    font-size: 16px;
    line-height: 35px;
}

.page-content.editor > *:first-child {
    margin-top: 0;
}

.page-files {
    padding: 0 0 60px;
}

.page-files__title {
    margin: 48px 0 24px;
    color: var(--color-accent);
    font-size: 25px;
    font-weight: 400;
    line-height: 29px;
    text-transform: uppercase;
}

.page-files__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-files__list a {
    color: var(--color-accent);
    font-size: 16px;
    line-height: 29px;
}

.page-files__list a:hover {
    text-decoration: underline;
}

.services--page {
    margin-top: 40px !important;
}

/* --- Header tools --------------------------------------------------------- */

.header__tools {
    display: flex;
    flex: none;
    align-items: center;
    gap: 15px;
}

.tool {
    display: block;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.tool img,
.tool__icon {
    display: block;
    width: 100%;
    height: 100%;
}

.header__tools .tool__icon path {
    fill: var(--color-text);
    transition: fill 0.2s ease;
}

.header__tools .tool:hover .tool__icon path {
    fill: #22A0A1;
}

.tool--globe {
    width: 20px;
    height: 20px;
}

.lang {
    position: relative;
    width: 20px;
    height: 20px;
}

.lang__menu {
    position: absolute;
    top: calc(100% + 51px);
    left: -8px;
    z-index: 108;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 138px;
    height: 145px;
    margin: 0;
    padding: 9px 8px;
    list-style: none;
    border-radius: 11px;
    background-color: var(--color-surface);
    box-shadow: 0 4px 5.3px rgba(0, 0, 0, 0.32);
    box-sizing: border-box;
}

.lang__menu[hidden] {
    display: none;
}

.lang__option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 121px;
    height: 37px;
    padding: 0 4px;
    border: 0;
    border-radius: 7px;
    background: none;
    color: var(--color-text);
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

.lang__option img {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.lang__option[aria-selected="true"],
.lang__option:hover {
    background-color: #f6f6f6;
}

/* The exported account glyph is inset inside its 24px frame in the design. */
.tool--account {
    position: relative;
    overflow: hidden;
}

.tool--account img,
.tool--account .tool__icon {
    position: absolute;
    inset: 11.72% 14.61% 6.72%;
    width: auto;
    height: auto;
}

/* --- Hero ----------------------------------------------------------------- */

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 730px;
    width: 100%;
    overflow: hidden;
}

.hero__slider {
    position: absolute;
    inset: 0;
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.7s ease;
    will-change: transform;
    cursor: grab;
    touch-action: pan-y;
}

.hero__slider.is-dragging {
    cursor: grabbing;
    transition: none;
}

.hero__slide {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

.hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero__scrim {
    position: absolute;
    inset: 0;
    background-color: var(--scrim-hero);
}

.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 0 var(--page-gutter) 99px;
    pointer-events: none;
}

.hero__title {
    max-width: 1259px;
    margin: 0;
    color: var(--color-text-inverse);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.5;
    pointer-events: auto;
}

.hero__cta {
    pointer-events: auto;
}

/* --- About ---------------------------------------------------------------- */

.about {
    margin-top: 102px;
}

.about__inner {
    display: flex;
    align-items: stretch;
    gap: 9px;
}

.about__content {
    display: flex;
    flex-direction: column;
    flex: 1 1 65%;
    width: 65%;
    max-width: 65%;
    min-width: 0;
    justify-content: space-between;
}

.about__title {
    max-width: 573px;
    margin: 0;
    color: var(--color-accent);
    font-size: 40px;
    font-weight: 700;
    line-height: 49px;
}

.about__lead {
    max-width: 824px;
    margin: 23px 0 0;
    color: var(--color-body);
    font-size: 16px;
    line-height: 29px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.about__lead.editor > *:first-child {
    margin-top: 0;
}

.about__lead.editor > *:last-child {
    margin-bottom: 0;
}

.about__lead.editor p {
    margin: 0;
}

.about__stats {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin: 50px 0 0;
    padding-right: 62px;
}

.stat {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    margin: 0;
    text-align: center;
}

.stat__value {
    display: block;
    color: var(--color-accent);
    font-size: 60px;
    line-height: 73px;
    white-space: nowrap;
}

.stat__label {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-top: 5px;
    min-height: 50px;
    color: var(--color-body);
    font-size: 16px;
    line-height: 25px;
    white-space: normal;
}

.about__photo {
    overflow: hidden;
    border-radius: 5px;
}

.about__photo--wide {
    width: 100%;
    max-width: 100%;
    margin-top: 50px;
}

.about__photo--wide img {
    display: block;
    width: 100%;
    height: auto;
}

.about__photo--tall {
    flex: 1 1 50%;
    width: 35%;
    max-width: 35%;
    min-width: 0;
}

.about__photo--tall img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Section heading ------------------------------------------------------ */

.section-title {
    margin: 0;
    color: var(--color-accent);
    font-size: 40px;
    font-weight: 700;
    line-height: 49px;
    text-align: center;
}

/* --- Services ------------------------------------------------------------- */

.services {
    position: relative;
    height: auto;
    margin-top: 125px;
    overflow: hidden;
    padding-bottom: 68px;
}

.services__swoosh {
    position: absolute;
    left: -25px;
    top: 0;
    width: 2000px;
    height: 972px;
    transform: scaleX(-1);
    pointer-events: none;
}

.services__wave {
    position: absolute;
    left: 0;
    top: 758px;
    width: 1920px;
    height: 853px;
    overflow: hidden;
    pointer-events: none;
}

.services__wave img {
    position: absolute;
    left: -1.3%;
    top: 0;
    width: 101.61%;
    height: 100.04%;
    max-width: none;
}

.services__inner {
    display: flex;
    flex-direction: column;
    gap: 23px;
    height: auto;
    z-index: 1;
    padding-top: 71px;
}

.services__title {
    margin-bottom: 0;
}

.service-block {
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
    color: inherit;
    text-decoration: none;
}

.service-block--symptomatic {
    flex-direction: row;
    gap: 0;
    width: 1205px;
    max-width: calc(100% - 60px);
    margin-left: 60px;
}

.service-block--homecare {
    flex-direction: row-reverse;
    justify-content: flex-start;
    gap: 126px;
    width: 1225px;
    max-width: calc(100% - 138px);
    margin-left: 138px;
}

.service-block--consult {
    flex-direction: row;
    gap: 46px;
    width: 1150px;
    max-width: calc(100% - 61px);
    margin-left: 61px;
}

.service-block .service {
    flex: 1 1 0;
    min-width: 0;
    max-width: 628px;
}

.service-block--symptomatic .service {
    padding-top: 34px;
}

.service-block--consult .service {
    padding-top: 82px;
}

.service__icon {
    width: 40px;
    height: 40px;
}

.service__name {
    margin: 23px 0 0;
    color: var(--color-accent);
    font-size: 25px;
    font-weight: 500;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.service__text {
    margin: 28px 0 0;
    color: var(--color-body);
    font-size: 16px;
    line-height: 29px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.service__text.editor > *:first-child {
    margin-top: 0;
}

.service__text.editor > *:last-child {
    margin-bottom: 0;
}

.service__text.editor p {
    margin: 0;
}

.service-block .service-photo {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
}

.service-block .service-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-block--symptomatic .service-photo {
    width: 577px;
    max-width: 48%;
    aspect-ratio: 577 / 541;
}

.service-block--homecare .service-photo {
    width: 471px;
    max-width: 40%;
    aspect-ratio: 471 / 483;
}

.service-block--consult .service-photo {
    width: 476px;
    max-width: 42%;
    aspect-ratio: 476 / 523;
}

/* --- Packages ------------------------------------------------------------- */

.packages {
    position: relative;
    margin-top: 66px;
    padding-bottom: 70px;
    overflow: hidden;
}

.packages__curve {
    position: absolute;
    left: 0;
    top: 33px;
    z-index: 0;
    width: 1920px;
    height: 741px;
    pointer-events: none;
}

.packages__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.packages__title {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

.packages__panel {
    display: flex;
    justify-content: center;
    gap: 51px;
    width: 100%;
    margin-top: 72px;
    padding-bottom: 40px;
    margin-bottom: -10px;
}

.packages__panel[hidden],
.packages__panel.is-hidden {
    display: none !important;
}

.tabs {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 671px;
    height: 75px;
    margin-top: 72px;
    border-radius: 62px;
    background-color: var(--color-page);
    box-shadow: inset 0 0 0 1px #e8e8e8;
}

.tab {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    height: 75px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: none;
    color: var(--color-accent);
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    white-space: nowrap;
    cursor: pointer;
}

.tab--active {
    flex: none;
    width: 229px;
    border-radius: 62px;
    background-color: var(--color-accent);
    color: var(--color-text-inverse);
}

.package {
    display: flex;
    flex-direction: column;
    width: 369px;
    min-height: 594px;
    padding: 26px 24px 30px;
    border-radius: 15px;
    background-color: #f6f4f3;
    box-shadow: inset 0 0 0 1px var(--color-surface), 0 4px 34px 0 rgba(166, 165, 165, 0.25);
}

.package--2 {
    background-color: #22a0a1;
}

.package--2 .package__name,
.package--2 .package__note,
.package--2 .package__price,
.package--2 .package__features {
    color: var(--color-text-inverse);
}

.package--2 .package__features li::before {
    filter: brightness(0) invert(1);
}

.package--2 .package__cta {
    border-color: var(--color-surface);
    background-color: transparent;
    color: var(--color-text-inverse);
}

.package--2 .package__cta:hover {
    background-color: var(--color-surface);
    color: var(--color-accent);
}

.package__name {
    margin: 0 0 11px;
    color: var(--color-accent);
    font-size: 30px;
    font-weight: 700;
    line-height: 37px;
    white-space: nowrap;
}

.package__note {
    margin: 0;
    color: #191919;
    font-size: 12px;
    line-height: 15px;
    white-space: nowrap;
}

.package__price {
    margin: 7px 0 40px;
    color: #000000;
    font-weight: 700;
    line-height: 41px;
    white-space: nowrap;
}

.package__amount   { font-size: 30px; }
.package__gap      { font-size: 25px; }
.package__currency { font-size: 16px; }

.package__features {
    margin: 0 0 40px;
    color: var(--color-body);
    font-size: 16px;
    line-height: 29px;
    padding-left: 0;
}

.package__features li {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.package__features li + li {
    margin-top: 17px;
}

.package__features li::before {
    content: '';
    flex: none;
    width: 19px;
    height: 19px;
    background: url('../icons/check-circle.svg') no-repeat center / contain;
}

/* --- Package order (service / hospital tabs) ------------------------------ */

.packages__panel--order {
    justify-content: center;
}

.package-order {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1076px;
    min-height: 410px;
    padding: 28px 37px 22px;
    border-radius: 15px;
    background-color: #f6f4f3;
    box-shadow: inset 0 0 0 1px var(--color-surface), 0 4px 34px 0 rgba(166, 165, 165, 0.25);
}

.package-order__title {
    margin: 0 0 16px;
    color: var(--color-accent);
    font-size: 30px;
    font-weight: 600;
    line-height: normal;
}

.package-order__box {
    display: flex;
    gap: 24px;
    width: 100%;
    min-height: 195px;
    padding: 9px 18px 9px 17px;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    background-color: transparent;
}

.package-order__services {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    margin: 0;
    padding: 0 16px 0 0;
    border-right: 1px solid #d9d9d9;
    list-style: none;
}

.package-order__row {
    display: grid;
    grid-template-columns: 19px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 47px;
}

.package-order__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.package-order__icon {
    display: block;
    width: 19px;
    height: 19px;
}

.package-order__icon[hidden],
.package-order__icon--off[hidden],
.package-order__icon--on[hidden] {
    display: none !important;
}

.package-order__row.is-selected .package-order__icon--off {
    display: none !important;
}

.package-order__row:not(.is-selected) .package-order__icon--on {
    display: none !important;
}

.package-order__name {
    color: var(--color-body);
    font-size: 16px;
    line-height: 22px;
}

.package-order__price {
    color: var(--color-body);
    font-size: 16px;
    line-height: 22px;
    white-space: nowrap;
}

.package-order__meta {
    display: flex;
    flex: none;
    flex-direction: column;
    gap: 6px;
    width: 292px;
    padding-top: 8px;
}

.package-order__field {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 28px;
    padding: 0 10px;
    border: 0.2px solid #a2a2a2;
    border-radius: 5px;
    background-color: var(--color-surface);
}

.package-order__input {
    width: 100%;
    min-width: 0;
    padding: 0 22px 0 0;
    border: 0;
    background: transparent;
    color: #717171;
    font-family: inherit;
    font-size: 12px;
    line-height: normal;
}

.package-order__input:focus {
    outline: none;
}

.package-order__input::-webkit-calendar-picker-indicator {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.package-order__field-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    width: 13px;
    height: 13px;
    transform: translateY(-50%);
    pointer-events: none;
}

.package-order__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    margin-top: 18px;
}

.package-order__total {
    margin: 0;
    color: var(--color-accent);
    font-size: 30px;
    font-weight: 500;
    line-height: normal;
    white-space: nowrap;
}

.package-order__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 154px;
    height: 44px;
    border-radius: var(--radius-pill);
    background-color: var(--color-accent);
    color: var(--color-text-inverse);
    font-size: 16px;
    line-height: 20px;
}

.package-order__cta:hover {
    background-color: var(--color-surface);
    color: #22a0a1;
    border: 1px solid #22a0a1;
}

/* --- Team ----------------------------------------------------------------- */

.team {
    /* margin-top: 55px; */
}

.team__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 16px;
    height: auto;
    margin-top: auto;
}

.team__title {
    margin-bottom: 70px;
}

.member {
    flex: 1 1 calc((100% - 80px) / 6);
    width: calc((100% - 80px) / 6);
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

@media (max-width: 1500px) {
    .member {
        flex: 1 1 calc((100% - 80px) / 4);
        width: calc((100% - 80px) / 4);
        min-width: 0;
        color: inherit;
        text-decoration: none;
    }
}

a.member {
    cursor: pointer;
}

.member__photo {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
}

.member__photo--r5 {
    border-radius: 5px;
}

.member--lead .member__photo {
    box-shadow: 0 4px 15px 0 rgba(175, 175, 175, 0.25);
}

.member__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.member:hover .member__photo img {
    transform: scale(1.08);
}

/* Figma pans some portraits inside their frame; --c-* carry that crop. */
.member__photo img.crop {
    position: absolute;
    left: var(--c-x);
    top: var(--c-y);
    width: var(--c-w);
    height: 100%;
    max-width: none;
    object-fit: fill;
}

.member__name {
    margin: 14px 0 0;
    color: #000000;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.member--wide:hover .member__name {
    color: var(--color-accent);
}



.member__role {
    margin: 6px 0 0;
    color: var(--color-body);
    font-size: 16px;
    line-height: 20px;
    white-space: nowrap;
}

/* --- Reviews -------------------------------------------------------------- */

.reviews {
    margin-top: 93px;
}

.reviews__inner {
    height: 426px;
}

.reviews__title {
    margin-bottom: 0;
}

.reviews__controls {
    position: absolute;
    top: 35px;
    right: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.rev-nav {
    position: relative;
    flex-shrink: 0;
    width: 40.42px;
    height: 40.42px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.rev-nav:disabled {
    opacity: 0.35;
    cursor: default;
}

.rev-nav__ring {
    width: 100%;
    height: 100%;
}

/* The exported chevron is the unrotated glyph; Figma rotates its frame. */
.rev-nav__arrow {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 15.3px;
    height: 8.18px;
}

.rev-nav--prev .rev-nav__arrow { transform: translate(-50%, -50%) rotate(90deg); }
.rev-nav--next .rev-nav__arrow { transform: translate(-50%, -50%) rotate(-90deg); }

.reviews__counter {
    margin: 0;
    min-width: 2.75em;
    text-align: center;
    color: #3b3d46;
    font-size: 16px;
    font-weight: 300;
    line-height: 20px;
    white-space: nowrap;
}

.reviews__viewport {
    position: absolute;
    left: 0;
    top: 110px;
    width: 100%;
    height: 267px;
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
}

.reviews__viewport:active {
    cursor: grabbing;
}

.reviews__list {
    display: flex;
    gap: 17px;
    margin: 0;
    padding: 0;
    list-style: none;
    height: 100%;
    transition: transform 0.5s ease;
    will-change: transform;
}

.review {
    position: relative;
    flex: 0 0 347px;
    width: 347px;
    height: 267px;
    border-radius: 5px;
    background-color: var(--color-surface);
    box-shadow: 0 4px 11px 0 rgba(175, 175, 175, 0.25);
}

.review__text {
    position: absolute;
    left: 15px;
    top: 20px;
    width: 310px;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    color: var(--color-body);
    font-size: 16px;
    line-height: 29px;
}

.review__stars {
    position: absolute;
    left: 15px;
    top: 132px;
    display: flex;
    align-items: center;
    gap: 5px;
    width: auto;
    height: 15.41px;
}

.review__stars img {
    display: block;
    width: 15px;
    height: 15px;
}

.review__avatar {
    position: absolute;
    left: 15px;
    top: 172px;
    width: 65px;
    height: 65px;
}

.review__author {
    position: absolute;
    left: 96px;
    top: 178px;
    width: 119px;
    margin: 0;
    color: #000000;
    font-size: 20px;
    line-height: 24px;
}

.package__cta {
    display: flex;
    width: 100%;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-pill);
    background-color: var(--color-accent);
    color: var(--color-text-inverse);
    font-size: 16px;
    line-height: 20px;
}

/* --- Consultation --------------------------------------------------------- */

.consult {
    position: relative;
    height: 674px;
    margin-top: 84px;
    overflow: hidden;
}

.consult__photo {
    position: absolute;
    left: -0.01%;
    top: -225.57%;
    width: 100%;
    height: 522.3%;
    max-width: none;
    object-fit: cover;
    pointer-events: none;
}

.consult__scrim {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.consult__inner {
    position: relative;
    height: 674px;
    z-index: 1;
}

.consult__logo {
    position: absolute;
    left: 2px;
    top: 42px;
    width: 404px;
    height: 194px;
    object-fit: cover;
}

.consult__panel {
    position: absolute;
    right: 0;
    top: 45px;
    z-index: 2;
    width: 537px;
    height: 580px;
    overflow: hidden;
    border-radius: 5px;
    background-color: var(--color-surface);
    box-shadow: inset 0 0 0 1px #eeeeee;
}

.consult__form {
    position: absolute;
    left: 30px;
    top: 42px;
    width: 477px;
    height: 558px;
}

.consult__heading {
    position: absolute;
    left: 1px;
    top: 0;
    margin: 0;
    color: var(--color-accent);
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    white-space: nowrap;
}

.consult__success {
    position: absolute;
    left: 1px;
    top: 28px;
    z-index: 2;
    margin: 0;
    color: #2e7d32;
    font-size: 12px;
    line-height: 16px;
}

.field {
    position: absolute;
    left: 1px;
    display: block;
    width: 476px;
    background-color: var(--color-surface);
    border-radius: 6px;
}

.field--shift { left: 0; }

.field:nth-of-type(1) { top: 55px; height: 44px; }
.field:nth-of-type(2) { top: 110px; height: 45px; }
.field:nth-of-type(3) { top: 165px; height: 45px; }
.field:nth-of-type(4) { top: 220px; height: 45px; }
.field:nth-of-type(5) { top: 275px; height: 44px; }
.field--area { top: 329px; height: 103px; }

.field input,
.field textarea {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    padding: 14px 16px 0;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    background-color: transparent;
    color: var(--color-text);
    font-family: inherit;
    font-size: 12px;
    line-height: 16px;
    resize: none;
}

.field input::placeholder,
.field textarea::placeholder {
    color: transparent;
}

.field textarea {
    padding-top: 21px;
}

.field__hint {
    position: absolute;
    left: 16px;
    top: 14px;
    z-index: 2;
    color: #636363;
    font-size: 12px;
    line-height: 16px;
    pointer-events: none;
    white-space: nowrap;
}

.field--area .field__hint {
    top: 21px;
}

.field:has(input:not(:placeholder-shown), textarea:not(:placeholder-shown)) .field__hint {
    display: none;
}

.field__error {
    display: none;
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 3;
    color: #c51f41;
    font-size: 10px;
    line-height: 12px;
    white-space: nowrap;
    pointer-events: none;
}

.field--error .field__error {
    display: block;
}

.req {
    color: #c51f41;
}

.consult__submit {
    position: absolute;
    left: 1px;
    top: 455px;
    z-index: 5;
    display: flex;
    width: 127px;
    height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--color-accent);
    border-radius: 35px;
    background-color: var(--color-surface);
    color: var(--color-accent);
    font-family: inherit;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
}

/* --- Site notice ---------------------------------------------------------- */

.notice {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.notice[hidden] {
    display: none;
}

.notice__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(30, 31, 36, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.notice__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: min(100%, 420px);
    padding: 40px 32px;
    border-radius: 15px;
    background-color: var(--color-surface);
    box-shadow: 0 4px 34px rgba(34, 160, 161, 0.2);
    text-align: center;
}

.notice__text {
    margin: 0;
    color: var(--color-accent);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
}

.notice__close {
    min-width: 127px;
    height: 48px;
    padding: 0 28px;
}

body.is-notice-open {
    overflow: hidden;
}

body.is-notice-open > :not(.notice) {
    filter: blur(4px);
    pointer-events: none;
    user-select: none;
}

/* --- News ----------------------------------------------------------------- */

.news {
    margin-top: 67px;
}

.news__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    height: auto;
    margin-top: auto;
}

.news__title {
    margin-bottom: 60px;
}

.news--page {
    margin-top: 40px;
}

.news__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 55px 25px;
    height: auto;
    padding-bottom: 40px;
}

.news-card {
    flex: 1 1 calc((100% - 50px) / 3);
    width: calc((100% - 50px) / 3);
    max-width: 462.86px;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.news__grid .news-card {
    flex: 0 1 462.86px;
    width: 462.86px;
}

a.news-card:hover .news-card__name {
    color: var(--color-accent);
}

.news-card__photo {
    width: 100%;
    height: 313.03px;
    overflow: hidden;
    border-radius: 5px;
}

.news-card--lead .news-card__photo {
    box-shadow: 0 4px 15px 0 rgba(175, 175, 175, 0.25);
}

.news-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card__photo--crop img {
    width: 120.3%;
    max-width: none;
    margin-left: -0.07%;
    margin-top: -0.02%;
}

.news-card__name {
    margin: 16px 0 0;
    color: #000000;
    font-size: 25px;
    font-weight: 500;
    line-height: 31px;
    white-space: nowrap;
}

.news-card--lead .news-card__name {
    color: var(--color-accent);
}

.news-card__excerpt {
    margin: 15px 0 0;
    color: var(--color-body);
    font-size: 16px;
    line-height: 27px;
}

/* --- News detail ---------------------------------------------------------- */

.news-detail {
    margin-top: 40px;
    padding-bottom: 0;
}

.news-detail__top {
    display: flow-root;
}

.news-detail__cover {
    float: left;
    width: 746px;
    height: 505px;
    margin: 0 30px 24px 0;
    object-fit: cover;
    border-radius: 5px;
}

.news-detail__content {
    color: var(--color-body);
    font-size: 16px;
    line-height: 30px;
}

.news-detail__content p {
    margin: 0;
}

.news-detail__content strong {
    font-weight: 500;
}

.news-detail__media {
    margin-top: 48px;
}

.news-detail__media-title {
    margin: 0 0 37px;
    color: var(--color-accent);
    font-size: 25px;
    font-weight: 400;
    line-height: 29px;
    text-transform: uppercase;
}

.news-detail__gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 19px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-detail__gallery li {
    position: relative;
    width: auto;
    height: auto;
    overflow: hidden;
    border-radius: 5px;
    aspect-ratio: 345 / 233;
}

.news-detail__gallery a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
}

.news-detail__gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-detail__more a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.news-detail__more span {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    display: block;
    transform: translate(-50%, -50%);
    background: none;
    color: var(--color-text-inverse);
    font-size: 36px;
    font-weight: 600;
    line-height: 29px;
    white-space: nowrap;
}

.news-detail__extra {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.news-detail + .packages--page {
    margin-top: 95px;
}

/* --- Member detail -------------------------------------------------------- */

.member-detail {
    margin-top: 40px;
    padding-bottom: 0;
}

.member-detail__top {
    display: flow-root;
}

.member-detail__photo {
    float: left;
    width: 404px;
    height: 404px;
    margin: 0 22px 24px 0;
    overflow: hidden;
    border-radius: 5px;
}

.member-detail__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-detail__info {
    overflow: hidden;
}

.member-detail__name {
    margin: 0;
    color: var(--color-accent);
    font-size: 40px;
    font-weight: 500;
    line-height: normal;
}

.member-detail__role {
    margin: 9px 0 0;
    color: var(--color-body);
    font-size: 16px;
    line-height: normal;
}

.member-detail__bio {
    margin-top: 28px;
    color: var(--color-body);
    font-size: 16px;
    line-height: 29px;
}

.member-detail__subtitle {
    margin: 0 0 16px;
    font-size: 25px;
    line-height: 29px;
}

.member-detail__bio ul {
    margin: 0;
    padding-left: 24px;
}

.member-detail__bio li {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 29px;
}

.member-detail__bio strong {
    font-weight: 500;
}

.member-detail__bio p {
    margin: 16px 0 0;
}

.member-detail__media {
    margin-top: 48px;
}

.member-detail__media-title {
    margin: 0 0 37px;
    color: var(--color-accent);
    font-size: 25px;
    font-weight: 400;
    line-height: 29px;
    text-transform: uppercase;
}

.member-detail__gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 19px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.member-detail__gallery li {
    position: relative;
    width: auto;
    height: auto;
    overflow: hidden;
    border-radius: 5px;
    aspect-ratio: 345 / 233;
}

.member-detail__gallery a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
}

.member-detail__gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-detail__more a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.member-detail__more span {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    display: block;
    transform: translate(-50%, -50%);
    background: none;
    color: var(--color-text-inverse);
    font-size: 36px;
    font-weight: 600;
    line-height: 29px;
    white-space: nowrap;
}

.member-detail__extra {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --- Footer --------------------------------------------------------------- */

.footer {
    margin-top: 110px;
    padding: 25px 0 20px;
    background-color: var(--color-accent);
    color: var(--color-text-inverse);
}

.footer__inner {
    display: flex;
    flex-direction: column;
    height: auto;
}

.footer a {
    color: inherit;
}

.footer__main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    flex: 0 1 280px;
    min-width: 0;
}

.footer__logo {
    display: block;
    width: 227px;
    max-width: 100%;
    height: auto;
}

.footer__logo img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.social {
    display: flex;
    flex-wrap: wrap;
    gap: 6.8px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.social__link {
    display: block;
    width: 33.54px;
    height: 33.54px;
}

.social__link img {
    width: 100%;
    height: 100%;
}

.social__link--ring {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-text-inverse);
    border-radius: 100px;
}

.social__link--ring img {
    width: 14px;
    height: 14px;
}

.social__link--ring-shift {
    margin-top: 0.91px;
}

.footer__address {
    width: 100%;
    max-width: 258px;
    margin: 22px 0 0;
    font-size: 16px;
    line-height: 30px;
}

.footer__address br {
    display: none;
}

.footer__contacts {
    margin: 0;
    font-size: 16px;
    line-height: 25px;
}

.footer__nav {
    flex: 1 1 160px;
    margin: 0;
    padding: 140px 0 0;
    list-style: none;
    font-size: 16px;
    line-height: 39px;
}

.footer__nav--2 {
    padding-top: 135px;
}

.footer__rule {
    width: 100%;
    height: 0;
    margin: 48px 0 0;
    border: 0;
    border-top: 1px solid var(--color-text-inverse);
}

.footer__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 16px;
}

.footer__copy {
    position: relative;
    margin: 0;
    padding-left: 22px;
    font-size: 16px;
    line-height: 30px;
}

.footer__copy img {
    position: absolute;
    left: 0;
    top: 8px;
    width: 14px;
    height: 14px;
}

.footer__credit {
    margin: 0;
    font-size: 16px;
    line-height: 23px;
}

/* --- Inner pages ---------------------------------------------------------- */

.packages--page {
    margin-top: 0;
    padding-bottom: 0;
}

.packages--page .packages__curve {
    top: 0;
}

.content-page {
    margin-top: 40px;
    padding-bottom: 40px;
}

.content-page__prose {
    max-width: 1440px;
    color: var(--color-body);
    font-size: 16px;
    line-height: 27px;
}

.content-page__prose p {
    margin: 0 0 24px;
}

.faq {
    margin-top: 25px;
    padding-bottom: 0;
}

.faq__panel {
    padding: 40px 45px 45px;
    border-radius: 10px;
    background-color: var(--color-surface);
    box-shadow: 0 4px 11px 0 rgba(166, 165, 165, 0.25);
}

.faq__title {
    margin: 0 0 40px;
    color: var(--color-accent);
    font-size: 40px;
    font-weight: 700;
    line-height: normal;
}

.faq__grid {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.faq__col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.faq__item {
    height: auto;
    border-radius: 10px;
    background-color: var(--color-page);
}

.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 90px;
    padding: 16px 20px;
    color: var(--color-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 29px;
    cursor: pointer;
    list-style: none;
    box-sizing: border-box;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__question {
    flex: 1;
    min-width: 0;
}

.faq__icon {
    flex: none;
    width: 24px;
    height: 24px;
    display: block;
}

.faq__icon--closed {
    transform: rotate(-90deg);
}

.faq__icon--open {
    display: none;
    transform: rotate(-90deg);
}

.faq__item[open] summary {
    color: var(--color-accent);
}

.faq__item[open] .faq__icon--closed {
    display: none;
}

.faq__item[open] .faq__icon--open {
    display: block;
}

.faq__answer {
    overflow: hidden;
    height: 0;
}

.faq__item[open] > .faq__answer {
    height: auto;
}

.faq__item p {
    margin: 0;
    padding: 0 20px 24px;
    color: var(--color-body);
    font-size: 16px;
    line-height: 29px;
}

.faq + .packages--page {
    margin-top: 95px;
}

.reviews--page {
    margin-top: 64px;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
    padding-bottom: 95px;
}

.review--page {
    display: flex;
    flex-direction: column;
    width: auto;
    height: fit-content;
    padding: 15px 17px 20px 16px;
    box-sizing: border-box;
}

.review--page .review__text,
.review--page .review__stars,
.review--page .review__avatar,
.review--page .review__author {
    position: static;
    left: auto;
    top: auto;
}

.review--page .review__text {
    width: auto;
    max-height: 97px;
    flex: none;
    -webkit-line-clamp: 3;
}

.review--page .review__stars {
    display: flex;
    width: auto;
    height: 15px;
    margin-top: 15px;
}

.review--page .review__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.review--page .review__avatar {
    flex: none;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
}

.review--page .review__author {
    width: auto;
    margin: 0;
}

.contact-page {
    display: flex;
    gap: 107px;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 67px;
    padding-bottom: 95px;
}

.contact-page__info {
    display: flex;
    flex: none;
    flex-direction: column;
    gap: 52px;
    width: 504px;
    min-width: 0;
}

.contact-page__row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000000;
    font-size: 30px;
    line-height: 41px;
    text-decoration: none;
}

.contact-page__row:hover {
    color: var(--color-accent);
}

.contact-page__icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 3px;
    background-color: var(--color-accent);
}

.contact-page__icon img {
    display: block;
    width: 30px;
    height: auto;
}

.contact-page__social {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-page__social-link {
    display: block;
    width: 74px;
    height: 74px;
}

.contact-page__social-link img {
    display: block;
    width: 100%;
    height: 100%;
}

.contact-page__social-link--ring {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-accent);
    border-radius: 100px;
}

.contact-page__social-link--ring img {
    width: auto;
    height: auto;
    max-width: 31px;
    max-height: 31px;
}

.contact-page__form.consult__panel {
    position: relative;
    right: auto;
    top: auto;
    flex: none;
    width: 829px;
    max-width: 100%;
    height: auto;
    overflow: visible;
    border: 1px solid #eeeeee;
    box-shadow: none;
}

.contact-page__form .consult__form {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    padding: 33px 27px 33px;
}

.contact-page__form .consult__heading {
    position: static;
    display: block;
    width: 100%;
    margin: 0 0 24px;
    text-align: left;
    text-transform: none;
    white-space: normal;
}

.contact-page__form .field,
.contact-page__form .field:nth-of-type(n) {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: 44px;
    margin: 0 0 14px;
}

.contact-page__form .field--area {
    height: 103px;
    margin-bottom: 24px;
}

.contact-page__form .consult__submit {
    position: static;
    width: 127px;
    height: 48px;
    border: 1px solid var(--color-accent);
    border-radius: 35px;
    background-color: var(--color-surface);
    color: var(--color-accent);
}

.contact-page__form .consult__submit:hover {
    background-color: var(--color-accent);
    color: var(--color-text-inverse);
}

.contact-map {
    width: 100%;
    margin: 0;
    line-height: 0;
}

.contact-map__link {
    display: block;
    width: 100%;
}

.contact-map__iframe {
    display: block;
    width: 100%;
    height: 358px;
    border: 0;
}

body:has(.contact-page) .footer {
    margin-top: 0;
}

.reports {
    margin-top: 40px;
    padding-bottom: 60px;
}

.reports__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.settings > .reports__list {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    max-width: 1090px;
}

.reports__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 47px;
    padding: 10px 20px;
    border: 0.5px solid #b4b4b4;
    border-radius: 5px;
    background-color: var(--color-surface);
    color: var(--color-text);
    font-size: 16px;
    line-height: 20px;
    transition: background-color 0.2s ease;
}

.reports__item:hover {
    background-color: #efefef;
}

.reports__icon {
    display: block;
    flex: none;
    width: 26px;
    height: 26px;
}

/* --- About page ----------------------------------------------------------- */

.about-page__top {
    margin-top: 20px;
}

.about-page {
    padding-bottom: 10px;
}

.about--page {
    margin-top: 34px;
}

.about-page__photo--care {
    display: none;
}

.about-page__content.editor {
    margin-top: 48px;
    color: var(--color-body);
    font-size: 16px;
    line-height: 35px;
}

.about-page__content.editor > *:first-child {
    margin-top: 0;
}

.about-page__content.editor h2 {
    margin: 40px 0 16px;
    color: var(--color-accent);
    font-size: 25px;
    font-weight: 400;
    line-height: 35px;
}

.about-page__content.editor h2:first-child {
    margin-top: 0;
}

.about-page__content.editor p {
    margin: 0 0 12px;
}

.about-page__content.editor ul {
    margin: 0 0 24px;
    padding: 0 0 0 24px;
    list-style: disc;
}

.about-page__content.editor li {
    margin: 0;
    padding: 0;
    color: var(--color-body);
    font-size: 16px;
    line-height: 35px;
}

.about-page__content.editor li::marker {
    color: var(--color-accent);
}

.about-media {
    margin-top: 56px;
}

.about-media__title {
    margin: 0 0 37px;
    color: var(--color-accent);
    font-size: 25px;
    font-weight: 400;
    line-height: 29px;
    text-transform: uppercase;
}

.about-media__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 19px;
}

.about-media__item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 5px;
    aspect-ratio: 345 / 233;
}

.about-media__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-media__item--more::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.about-media__count {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    color: var(--color-text-inverse);
    font-size: 36px;
    font-weight: 600;
    line-height: 29px;
    white-space: nowrap;
}

.about-media__extra {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.partners {
    margin-top: 72px;
}

.partners__title {
    margin-bottom: 55px;
    text-align: left;
}

.partners__list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.partners__item {
    display: flex;
    flex: 1 1 200px;
    align-items: center;
    justify-content: center;
    width: 228px;
    max-width: calc((100% - 70px) / 6);
    min-width: 140px;
    height: 171px;
    padding: 0;
    overflow: hidden;
    border-radius: 5px;
    background-color: var(--color-surface);
    box-sizing: border-box;
}

.partners__item img {
    display: block;
    width: 228px;
    height: 171px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.85;
}

.partners__dots {
    display: none;
}

.about-page .packages--page {
    margin-top: 66px;
}

/* --- Service detail (home care) ------------------------------------------ */

.service-detail__top {
    margin-top: 20px;
}

.service-detail__hero {
    overflow: hidden;
    width: 100%;
    height: 480px;
    margin-top: 55px;
    border-radius: 10px;
}

.service-detail__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail__title {
    margin: 41px 0 41px;
    color: var(--color-accent);
    font-size: 40px;
    font-weight: 700;
    line-height: normal;
}

.service-detail__layout {
    display: flex;
    align-items: flex-start;
    gap: 44px;
}

.service-detail__content {
    flex: 1 1 0;
    min-width: 0;
    max-width: 1019px;
}

.service-detail__content.editor {
    color: var(--color-body);
    font-size: 16px;
    line-height: 29px;
}

.service-detail__content.editor > *:first-child {
    margin-top: 0;
}

.service-detail__content.editor p {
    margin: 0;
}

.service-detail__content.editor h2 {
    margin: 29px 0;
    color: var(--color-body);
    font-size: 25px;
    font-weight: 400;
    line-height: 29px;
}

.service-detail__content.editor ul {
    display: flex;
    flex-direction: column;
    gap: 29px;
    margin: 0 0 29px;
    padding: 0 0 0 24px;
    list-style: disc;
}

.service-detail__content.editor li {
    margin: 0;
    padding: 0;
    color: var(--color-body);
    font-size: 16px;
    line-height: 29px;
}

.service-detail__content.editor li::marker {
    color: var(--color-body);
}

.service-detail__content.editor strong,
.service-detail__content.editor b {
    font-weight: 500;
}

.service-detail__aside {
    display: flex;
    flex: none;
    flex-direction: column;
    gap: 19px;
    width: 377px;
    min-width: 0;
}

.service-detail__contacts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: 21px 24px;
    border-radius: 5px;
    background-color: var(--color-surface);
    box-shadow: 0 4px 4px 0 rgba(166, 165, 165, 0.25);
}

.service-detail__row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--color-text);
    font-size: 16px;
    line-height: 20px;
    text-decoration: none;
}

.service-detail__row--center {
    align-items: center;
    line-height: 39px;
}

.service-detail__row:hover {
    color: var(--color-accent);
}

.service-detail__icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 45px;
    height: 42px;
    border-radius: 3px;
    background-color: #f4f1eb;
}

.service-detail__icon img {
    width: 24px;
    height: 24px;
}

.service-detail__form.consult__panel {
    position: relative;
    right: auto;
    top: auto;
    width: 377px;
    height: auto;
    overflow: visible;
}

.service-detail__form .consult__form {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    padding: 27px 27px 27px;
}

.service-detail__form .consult__heading {
    position: static;
    margin: 0 0 27px;
    white-space: normal;
}

.service-detail__form .field,
.service-detail__form .field:nth-of-type(n) {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: 44px;
    margin: 0 0 11px;
}

.service-detail__form .field--area {
    height: 103px;
    margin-bottom: 23px;
}

.service-detail__form .consult__submit {
    position: static;
}

.service-detail__media {
    margin-top: 48px;
}

.service-detail__media-title {
    margin: 0 0 37px;
    color: var(--color-accent);
    font-size: 25px;
    font-weight: 400;
    line-height: 29px;
    text-transform: uppercase;
}

.service-detail__gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 19px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-detail__gallery li {
    position: relative;
    width: auto;
    height: auto;
    overflow: hidden;
    border-radius: 5px;
    aspect-ratio: 345 / 233;
}

.service-detail__gallery a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
}

.service-detail__gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail__more a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.service-detail__more span {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    display: block;
    transform: translate(-50%, -50%);
    background: none;
    color: var(--color-text-inverse);
    font-size: 36px;
    font-weight: 600;
    line-height: 29px;
    white-space: nowrap;
}

.service-detail__extra {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.service-detail + .packages--page {
    margin-top: 95px;
}

/* --- Work (vacancies) ----------------------------------------------------- */

.work {
    margin-top: 40px;
    /* padding-bottom: 95px; */
}

.work__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.work-card {
    display: flex;
    flex-direction: column;
    min-height: 221px;
    padding: 24px 20px 20px;
    border-radius: 5px;
    border-left: 1.5px solid var(--color-accent);
    background-color: var(--color-surface);
    color: inherit;
    box-sizing: border-box;
}

.work-card:hover {
    color: inherit;
}

.work-card__title {
    margin: 0;
    color: #000000;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.41;
    text-transform: capitalize;
}

.work-card__text {
    margin: 16px 0 0;
    max-height: 45px;
    overflow: hidden;
    color: #000000;
    font-size: 16px;
    line-height: 1.41;
    text-transform: capitalize;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.work-card__rule {
    width: 100%;
    height: 0;
    margin-top: 20px;
    border-top: 0.5px solid #d9d9d9;
}

.work-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 16px;
}

.work-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 125px;
    height: 31px;
    padding: 0 14px;
    border: 0.5px solid #bababa;
    border-radius: 20px;
    background-color: #efefef;
    color: #000000;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.41;
    box-sizing: border-box;
    white-space: nowrap;
}

.work-chip__icon {
    flex: none;
    width: 12px;
    height: 12px;
}

.work-chip--salary {
    min-width: 123px;
    border-color: transparent;
    background-color: var(--color-accent);
    color: var(--color-text-inverse);
    text-transform: uppercase;
}

/* --- Work detail ---------------------------------------------------------- */

.work-detail {
    margin-top: 40px;
    /* padding-bottom: 95px; */
    text-align: center;
}

.work-detail__title {
    margin: 0;
    color: var(--color-accent);
    font-size: 40px;
    font-weight: 700;
    line-height: normal;
}

.work-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
}

.work-detail__body {
    max-width: 914px;
    margin: 48px auto 0;
    text-align: left;
    color: #000000;
    font-size: 16px;
    line-height: 1.57;
}

.work-detail__body h2 {
    margin: 0 0 16px;
    color: #000000;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.57;
    text-transform: capitalize;
}

.work-detail__body h2 + p {
    margin-top: 0;
}

.work-detail__body p {
    margin: 0 0 32px;
}

.work-detail__body p:last-child {
    margin-bottom: 0;
}

.work-detail__contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    width: 100%;
    max-width: 914px;
    margin: 40px auto 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.work-detail__contacts li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.work-detail__icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 3px;
    background-color: var(--color-accent);
}

.work-detail__icon img {
    display: block;
    width: 30px;
    height: auto;
}

.work-detail__contacts a {
    color: #000000;
    font-size: 30px;
    line-height: 41px;
    white-space: nowrap;
}

.work-detail__contacts a:hover {
    color: var(--color-accent);
}

/* --- Settings page -------------------------------------------------------- */

.settings {
    display: flex;
    align-items: flex-start;
    gap: 55px;
    margin-top: 64px;
    padding-bottom: 40px;
}

.settings-nav-toggle,
.settings-nav-close,
.settings-nav-backdrop {
    display: none;
}

.settings-nav-toggle {
    flex: none;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.settings-nav-toggle img {
    display: block;
    width: 30px;
    height: 30px;
}

.settings-nav-close {
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.settings-nav-close img {
    display: block;
    width: 20px;
    height: 20px;
}

.settings-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 110;
    background-color: rgba(255, 255, 255, 0.62);
    -webkit-backdrop-filter: blur(14.5px);
    backdrop-filter: blur(14.5px);
}

.settings-nav {
    display: flex;
    flex: none;
    flex-direction: column;
    width: 308px;
    border: 1px solid #dcdfe4;
    border-radius: 4px;
    background-color: var(--color-surface);
    overflow: hidden;
}

.settings-nav__item {
    display: flex;
    align-items: center;
    gap: 34px;
    min-height: 56px;
    padding: 0 28px;
    color: #747474;
    font-size: 16px;
    line-height: normal;
    border-bottom: 1px solid #dcdfe4;
}

.settings-nav__item:last-child {
    border-bottom: 0;
}

.settings-nav__item:hover {
    color: var(--color-accent);
}

.settings-nav__item--current {
    color: var(--color-accent);
}

.settings-nav__icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    overflow: clip;
}

.settings-nav__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.settings-forms {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 24px;
    width: 735px;
    max-width: 735px;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.settings-field {
    position: relative;
    display: block;
    width: 100%;
}

.settings-field input {
    display: block;
    width: 100%;
    height: 54px;
    padding: 0 18px;
    border: 1px solid #dedede;
    border-radius: 5px;
    background-color: var(--color-surface);
    color: var(--color-text);
    font-family: inherit;
    font-size: 16px;
    line-height: normal;
}

.settings-field input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.settings-field input::placeholder {
    color: transparent;
}

.settings-field__hint {
    position: absolute;
    left: 18px;
    top: 16px;
    z-index: 1;
    color: rgba(46, 47, 48, 0.6);
    font-size: 16px;
    line-height: normal;
    pointer-events: none;
    white-space: nowrap;
}

.settings-field:has(input:not(:placeholder-shown)) .settings-field__hint {
    display: none;
}

.settings-field__error {
    display: none;
    margin-top: 4px;
    color: #c51f41;
    font-size: 12px;
    line-height: 16px;
}

.settings-field--error input {
    border-color: #c51f41;
}

.settings-field--error .settings-field__error {
    display: block;
}

.settings-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    margin-top: 12px;
    padding: 0;
    border: 1px solid var(--color-accent);
    border-radius: 5px;
    background-color: var(--color-surface);
    color: var(--color-accent);
    font-family: inherit;
    font-size: 14px;
    line-height: normal;
    cursor: pointer;
}

/* --- Orders page ---------------------------------------------------------- */

.orders {
    gap: 42px;
}

.orders-main {
    display: flex;
    flex: 1 1 auto;
    align-items: flex-start;
    gap: 63px;
    min-width: 0;
    height: fit-content;
}

.package--orders {
    flex: none;
    width: 369px;
    min-height: 522px;
    margin: 0;
    padding: 26px 44px 30px 26px;
}

.package--orders .package__name {
    text-transform: uppercase;
}

.package--orders .package__price {
    margin: 7px 0 45px;
}

.orders-services {
    display: flex;
    flex-direction: column;
    flex: none;
    width: 503px;
    max-width: 100%;
    height: 491px;
    margin: 0;
    padding: 15px 21px 24px 19px;
    border: 1px solid #fff;
    border-radius: 15px;
    background-color: #f6f4f3;
    box-shadow: 0 4px 34px 0 rgba(166, 165, 165, 0.25);
    box-sizing: border-box;
}

.orders-services__title {
    margin: 0 0 24px;
    max-width: 443px;
    color: var(--color-accent);
    font-size: 25px;
    font-weight: 600;
    line-height: normal;
}

.orders-services__table {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px 48px;
    width: 100%;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
}

.orders-services__head,
.orders-services__row {
    display: contents;
}

.orders-services__head > span,
.orders-services__row > span {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 10px;
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    color: #1e1f24;
    font-size: 14px;
    line-height: 19px;
    box-sizing: border-box;
}

.orders-services__head > span:last-child,
.orders-services__row > span:last-child {
    border-right: 0;
}

.orders-services__row:last-child > span {
    border-bottom: 0;
}

.orders-services__head > span {
    min-height: 36px;
    font-weight: 500;
    line-height: 14px;
}

.orders-services__head > span:first-child {
    padding-left: 45px;
}

.orders-services__name {
    gap: 16px;
    align-items: center !important;
}

.orders-services__name img {
    display: block;
    flex: none;
    width: 19px;
    height: 19px;
}

.orders-services__price,
.orders-services__days {
    justify-content: center;
    white-space: nowrap;
}

.orders-panel {
    flex: none;
    width: 560px;
    max-width: 100%;
    padding: 42px 30px 36px;
    border: 1px solid #eeeeee;
    border-radius: 15px;
    background-color: var(--color-surface);
    overflow: hidden;
}

.orders-form--approved .orders-form__checkout {
    gap: 20px;
}

.orders-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.orders-form__title {
    margin: 0 0 12px;
    color: var(--color-accent);
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.orders-field {
    position: relative;
    display: block;
    width: 100%;
}

.orders-field input,
.orders-field textarea {
    display: block;
    width: 100%;
    height: 44px;
    padding: 14px 16px 0;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    background-color: var(--color-surface);
    color: var(--color-text);
    font-family: inherit;
    font-size: 12px;
    line-height: 16px;
    resize: none;
}

.orders-field textarea {
    height: 103px;
    padding-top: 21px;
}

.orders-field input:focus,
.orders-field textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.orders-field input::placeholder,
.orders-field textarea::placeholder {
    color: transparent;
}

.orders-field__hint {
    position: absolute;
    left: 16px;
    top: 14px;
    z-index: 1;
    color: #000000;
    font-size: 12px;
    line-height: 16px;
    pointer-events: none;
    white-space: nowrap;
}

.orders-field--area .orders-field__hint {
    top: 21px;
}

.orders-field:has(input:not(:placeholder-shown), textarea:not(:placeholder-shown)) .orders-field__hint {
    display: none;
}

.orders-field--dates .orders-field__hint {
    position: static;
    display: block;
    margin: 0 0 8px;
    pointer-events: auto;
}

.orders-field__error {
    display: none;
    margin-top: 4px;
    color: #c51f41;
    font-size: 10px;
    line-height: 12px;
}

.orders-field--error input,
.orders-field--error textarea {
    border-color: #c51f41;
}

.orders-field--error .orders-field__error {
    display: block;
}

.orders-upload {
    width: 100%;
    padding: 14px 16px 12px;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    background-color: var(--color-surface);
}

.orders-upload__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.orders-upload__label {
    color: #000000;
    font-size: 12px;
    line-height: 16px;
}

.orders-upload__trigger {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.orders-upload__trigger img {
    display: block;
    width: 16px;
    height: 16px;
}

.orders-upload__trigger input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.orders-upload__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 12px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid #eaeaea;
    list-style: none;
}

.orders-upload__list[hidden] {
    display: none;
}

.orders-upload__list li {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #000000;
    font-size: 12px;
    line-height: 16px;
}

.orders-upload__list img {
    display: block;
    flex: none;
    width: 10px;
    height: 10px;
}

.orders-upload__note {
    margin: 10px 0 0;
    color: #000000;
    font-size: 10px;
    line-height: 16px;
}

.orders-dates {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 19px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid #eaeaea !important;
    border-radius: 6px;
}

.orders-dates--filled,
.orders-dates:focus-within {
    border-color: #eaeaea !important;
}

.orders-dates .orders-dates__item input,
.orders-dates--filled .orders-dates__item input,
.orders-dates--filled .orders-dates__item--start input[name="date_from"],
.orders-dates:focus-within .orders-dates__item input {
    color: #636363 !important;
}

.orders-dates .orders-dates__item--end input,
.orders-dates--filled .orders-dates__item--end input,
.orders-dates:focus-within .orders-dates__item--end input {
    color: #c3c3c3 !important;
}

.orders-dates__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}

.orders-dates__item--start {
    cursor: pointer;
}

.orders-dates__item img {
    display: block;
    flex: none;
    width: 13px;
    height: 13px;
    pointer-events: none;
}

.orders-dates__item input {
    width: 68px;
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #636363 !important;
    font-size: 12px;
    line-height: normal;
    pointer-events: none;
}

.orders-dates__item--start input[name="date_from"] {
    color: #636363 !important;
}

.orders-dates__item--end input {
    color: #c3c3c3 !important;
    cursor: default;
}

.orders-dates__picker {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100% !important;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0.01;
    cursor: pointer;
    pointer-events: auto;
    color-scheme: light;
}

.orders-form__total {
    margin: 10px 0 0;
    color: var(--color-accent);
    font-size: 19px;
    font-weight: 500;
    line-height: normal;
}

.orders-form__checkout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}

.orders-form__checkout-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.orders-form__checkout .orders-form__total {
    margin: 0;
}

.orders-pay-method {
    position: relative;
    flex: none;
    margin: 0;
    cursor: pointer;
}

.orders-pay-method[hidden],
.orders-form__pay[hidden] {
    display: none;
}

.orders-pay-method input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.orders-pay-method__box {
    position: relative;
    display: block;
    width: 182px;
    height: 30px;
    line-height: 0;
}

.orders-pay-method__check {
    position: absolute;
    top: 6px;
    left: 2px;
    z-index: 1;
    display: none;
    width: 15px;
    height: 15px;
    line-height: 0;
}

.orders-pay-method__check img {
    display: block;
    width: 15px;
    height: 15px;
}

.orders-pay-method input:checked + .orders-pay-method__box .orders-pay-method__check {
    display: block;
}

.orders-pay-method__logos {
    display: block;
    width: 182px;
    height: 30px;
    object-fit: contain;
    object-position: center;
}

.orders-form__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.orders-form__actions .orders-form__submit {
    margin-top: 0;
    flex: none;
}

.orders-form__pay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 218px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--color-accent);
    border-radius: 35px;
    background-color: var(--color-accent);
    color: var(--color-text-inverse);
    font-family: inherit;
    font-size: 16px;
    line-height: 16px;
    cursor: pointer;
}

.orders-form__pay:hover {
    background-color: var(--color-surface);
    color: var(--color-accent);
}

.orders-form--approved .orders-form__submit--pending,
.orders-form--approved .orders-form__submit--pending:hover,
.orders-form--approved .orders-form__submit--pending:disabled {
    background-color: #e60000;
    border-color: #e60000;
    color: #fff;
    cursor: default;
    opacity: 1;
}

.orders-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 248px;
    height: 48px;
    margin-top: 4px;
    padding: 0;
    border: 1px solid var(--color-surface);
    border-radius: 35px;
    background-color: var(--color-accent);
    color: var(--color-text-inverse);
    font-family: inherit;
    font-size: 16px;
    line-height: normal;
    cursor: pointer;
}

.orders-form__submit:hover {
    background-color: var(--color-surface);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.orders-form--pending .orders-field input,
.orders-form--pending .orders-field textarea,
.orders-form--pending .orders-dates {
    background-color: #eaeaea;
    border-color: #eaeaea;
    color: #636363;
    cursor: default;
}

.orders-form--pending .orders-field input:focus,
.orders-form--pending .orders-field textarea:focus {
    outline: none;
    border-color: #eaeaea;
}

.orders-form--pending .orders-upload--pending {
    min-height: 44px;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #eaeaea;
    border-color: #eaeaea;
}

.orders-form--pending .orders-upload__label {
    color: #636363;
}

.orders-upload__note--pending {
    margin: -4px 0 0;
    color: #636363;
}

.orders-form--pending .orders-upload__list {
    display: none;
}

.orders-form--pending .orders-upload__trigger {
    pointer-events: none;
    cursor: default;
}

.orders-form__submit--pending,
.orders-form__submit--pending:hover,
.orders-form__submit--pending:disabled {
    background-color: #e60000;
    border-color: #e60000;
    color: #fff;
    opacity: 1;
}

.orders-form__submit--pending:not(:disabled) {
    cursor: pointer;
}

.orders-form__submit--pending:disabled {
    cursor: default;
}

/* --- Payments page -------------------------------------------------------- */

.payments {
    gap: 42px;
}

.payments-list {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 46px;
    min-width: 0;
}

.payments-entry {
    display: flex;
    align-items: flex-start;
    justify-content: end;
    gap: 35px;
    min-width: 0;
    height: fit-content;
}

.payments-entry__side {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 503px;
    max-width: 100%;
    min-height: 545px;
    padding: 15px 21px 20px 19px;
    border: 1px solid #fff;
    border-radius: 15px;
    background-color: #e5e5e5;
    box-shadow: 0 4px 34px 0 rgba(166, 165, 165, 0.25);
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
}

.payments-entry__side:has(.package--orders) {
    width: 369px;
    min-height: 550px;
    padding: 26px 44px 20px 26px;
}

.payments-entry__side .orders-services {
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
}

.payments-entry__side .package--orders {
    width: 100%;
    min-height: 0;
    margin: 0 0 20px 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
}

.payments-date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 122px;
    height: 33px;
    margin-top: auto;
    margin-bottom: 0;
    padding: 0 18px;
    border: 1px solid #fff;
    border-radius: 8px;
    background-color: #e0e8e8;
    color: #000;
    font-size: 12px;
    line-height: normal;
    box-sizing: border-box;
}

.payments .orders-form__submit--pending {
    margin-top: 10px;
}

/* --- Reports profile page ------------------------------------------------- */

.reports-profile {
    gap: 42px;
}

.reports-profile__list {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    max-width: 1090px;
}

.reports-profile__item {
    border: 0.5px solid #b4b4b4;
    border-radius: 12px;
    background-color: var(--color-surface);
    overflow: hidden;
}

.reports-profile__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 58px;
    padding: 16px 20px;
    border: 0;
    background: transparent;
    color: #000;
    font-family: inherit;
    font-size: 16px;
    line-height: normal;
    text-align: left;
    cursor: pointer;
}

.reports-profile__title {
    min-width: 0;
}

.reports-profile__chevron {
    display: block;
    flex: none;
    width: 17px;
    height: 9px;
    transform: rotate(-90deg);
    transition: transform 0.2s ease;
}

.reports-profile__item.is-open .reports-profile__chevron {
    transform: rotate(0deg);
}

.reports-profile__body {
    padding: 0 20px 20px;
}

.reports-profile__body[hidden] {
    display: none;
}

.reports-profile__media {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.reports-profile__thumb {
    display: block;
    flex: none;
    width: 110px;
    height: 98px;
    border-radius: 2px;
    overflow: hidden;
}

.reports-profile__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reports-profile__file {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 98px;
    border-radius: 2px;
    background-color: #f3f3f3;
    overflow: hidden;
}

.reports-profile__file img {
    display: block;
    width: 75px;
    height: 75px;
    object-fit: contain;
}

/* --- Login page ----------------------------------------------------------- */

.page-head--login .page-head__title {
    text-align: center;
}

.login {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 884px;
    margin-top: 24px;
    padding-bottom: 80px;
}

.login__lead {
    margin: 0 0 47px;
    max-width: 884px;
    color: #000;
    font-size: 24px;
    line-height: 47px;
    letter-spacing: 0.72px;
    text-align: center;
}

.login-form {
    width: 735px;
    max-width: 100%;
}

.login-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0 20px;
    min-height: 20px;
}

.login-error {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #ed001b;
    font-size: 14px;
    line-height: normal;
}

.login-error img {
    display: block;
    flex: none;
    width: 20px;
    height: 20px;
}

.login-forgot {
    color: rgba(39, 42, 44, 0.81);
    font-size: 16px;
    line-height: normal;
    text-align: center;
    text-decoration: underline;
    text-underline-position: from-font;
}

.login-forgot:hover {
    color: var(--color-accent);
}

.login-submit,
.login-register {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    border: 1px solid var(--color-accent);
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    line-height: normal;
    text-align: center;
    cursor: pointer;
}

.login-submit {
    margin-top: 0;
    background-color: var(--color-surface);
    color: var(--color-accent);
}

.login-submit:hover {
    background-color: var(--color-accent);
    color: var(--color-text-inverse);
}

.login-register {
    margin-top: 13px;
    background-color: var(--color-accent);
    color: var(--color-text-inverse);
}

.login-register:hover {
    background-color: var(--color-surface);
    color: var(--color-accent);
}

.login-form--restore .login-submit {
    margin-top: 28px;
}

/* --- Register page -------------------------------------------------------- */

.login--register {
    margin-top: 54px;
}

.register-phone {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    width: 100%;
}

.register-phone__field {
    flex: 0 0 252px;
    width: 252px;
}

.register-sms {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-start;
    height: 56px;
    padding: 0 18px;
    border: 1px solid var(--color-accent);
    border-radius: 5px;
    background-color: var(--color-surface);
    color: var(--color-accent);
    font-family: inherit;
    font-size: 14px;
    line-height: normal;
    text-align: left;
    cursor: pointer;
}

.register-sms:hover {
    background-color: var(--color-accent);
    color: var(--color-text-inverse);
}

.register-phone--code .register-sms {
    display: none !important;
}

.register-phone__code {
    display: none;
    flex: 1 1 auto;
    min-width: 0;
}

.register-phone--code .register-phone__code {
    display: block;
}

.register-phone__code input {
    height: 56px;
    border-color: var(--color-accent);
    color: var(--color-accent);
    font-size: 14px;
}

.register-phone__code input:focus {
    border-color: var(--color-accent);
}

.settings-field--password input {
    padding-right: 52px;
}

.settings-field__toggle {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 54px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.settings-field__toggle img {
    display: block;
    width: 23px;
    height: 16px;
}

.register-submit {
    margin-top: 14px;
}
