/*!
Theme Name: Astreya Theme
Author: Astreya Theme
Version: 1.0.0
*/
/* ibm-plex-sans-regular - cyrillic_latin */
/* ibm-plex-sans-regular - cyrillic_latin_vietnamese */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/ibm-plex-sans-v23-cyrillic_latin_vietnamese-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ibm-plex-sans-500 - cyrillic_latin_vietnamese */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/ibm-plex-sans-v23-cyrillic_latin_vietnamese-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ibm-plex-sans-600 - cyrillic_latin_vietnamese */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/ibm-plex-sans-v23-cyrillic_latin_vietnamese-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ibm-plex-sans-700 - cyrillic_latin_vietnamese */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/ibm-plex-sans-v23-cyrillic_latin_vietnamese-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ubuntu-regular - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/ubuntu-v21-cyrillic_latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ubuntu-500 - cyrillic_latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/ubuntu-v21-cyrillic_latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
    --main-color:#304369;
    --main-color-hover:#EAF0F5;
    --accent-color:#85B3E6; 
    --padding-bt:100px;
    --header-height: 78px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

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

img {
    max-width: 100%;
    height: auto;
	display: block;
}

ul, li {
    list-style: none;
}

button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.container {
    max-width: 1360px;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
    position: relative;
}

strong {
    font-weight: 600;
}

h1 {
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 55px;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 1.1;
}


.breadcrumbs .container {
    display: flex;
    align-items: center;
    gap: 8px; 
    padding-top: 20px; 
    padding-bottom: 40px; 
    color: var(--accent-color);
    font-size: 14px;
}

.separator svg {
    max-width: 15px;
    display: block;
}

.breadcrumbs .separator,
.breadcrumbs a {
    transition: all .3s;
    color: rgba(48, 67, 105, 0.3);
}

.service-level .breadcrumbs a:hover,
.subservice-hero .breadcrumbs a:hover,
.breadcrumbs a:hover {
    color: var(--accent-color);
}

h2,
.section-title {
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 55px;
    font-weight: 500;
    margin-bottom: 50px;
    color: var(--main-color);
}


h2 span,
.section-title span {
    color: var(--accent-color);
}

*::-webkit-scrollbar {
    -webkit-appearance: none;
    cursor: default;
}

*::-webkit-scrollbar:vertical {
    width: 4px;
    cursor: default;
}

*::-webkit-scrollbar:horizontal {
    height: 4px;
    cursor: default;
}

*::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -khtml-border-radius: 6px;
    border-radius: 6px;
    cursor: default;
}

*::-webkit-scrollbar-track {
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -khtml-border-radius: 6px;
    border-radius: 6px;
    background-color: #EFEFEF;
    cursor: default;
}

.pt60 {
    padding-top: 60px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}
 
body {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    line-height: 1.3;    
    font-weight: 400;
    color: #121212;
    overflow-x: hidden; 
    padding-top: var(--header-height); 
}

/* header start */
.header { 
    position: fixed;
    z-index: 20;
    top: 0;
    right: 0;
    left: 0;
    height: var(--header-height);
    background-color: var(--main-color-hover);
}

.header__inner {
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header__logo {
    flex: 0 0 250px;
    width: 250px;
    height: 52px;
}

.header__logo img {
    width: 250px;
    height: 52px;
}

.header__menu {
    min-width: 0;
    display: flex;
    align-items: center;
    flex: 1;
    margin-left: 60px;
}

.header__services-category-toggle {
    display: none;
}

.header__submenu-toggle {
    display: none;
}

.header__nav {
    color: var(--main-color);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.header__nav-list {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__services-menu,
.header__services-list > .menu-item {
    position: static;
}

.header__services-menu {
    margin-right: 20px;
}

.header__services-list > .menu-item > a {
    position: relative;
    width: 84px;
    height: 34px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    border-radius: 8px;
    background-color: rgba(139, 180, 226, 0.3);
    color: var(--main-color);
} 

.header__services-list > .menu-item > a::before {
    content: '';
    width: 11px;
    height: 8px;
    flex: 0 0 11px;
    background: url(img/header-services.svg) center / contain no-repeat;
    transition: transform 0.2s ease;
}

.header__services-list > .menu-item > a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    width: 11px;
    height: 1px;
    background-color: currentColor;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.header__services-menu--open .header__services-list > .menu-item > a::before {
    height: 1px;
    background: currentColor;
    transform: rotate(45deg);
}

.header__services-menu--open .header__services-list > .menu-item > a::after {
    opacity: 1;
    transform: translateY(-50%) rotate(-45deg);
}

.header__services-list > .menu-item > .sub-menu {
    position: absolute;
    z-index: 19;
    left: 0;
    top: 56px;
    width: calc(50% + 355px);
    height: 750px;
    display: none;
    padding-top: 62px;
    padding-left: 15px;
    background: linear-gradient(to bottom, transparent 0 22px, #FFFDF9 22px 100%);
    color: #121212;
}

.header__services-menu--open .header__services-list > .menu-item > .sub-menu {
    display: block;
}

.header__services-list > .menu-item > .sub-menu > .menu-item {
    position: static;
    width: 332px;
    height: 48px;
}

.header__services-list > .menu-item > .sub-menu > .menu-item > a {
    width: 332px;
    height: 43px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-radius: 4px;
    font-size: 19px;
    font-weight: 500;
}

/* .header__services-list > .menu-item > .sub-menu > .header__services-all,
.header__services-list > .menu-item > .sub-menu > .menu-item:first-child:not(.menu-item-has-children) {
    margin-bottom: 10px;
} */

.header__services-list > .menu-item > .sub-menu > .header__services-all > a,
.header__services-list > .menu-item > .sub-menu > .menu-item:first-child:not(.menu-item-has-children) > a {
    gap: 12px;
    color: var(--accent-color);
}

/* .header__services-all > a::before,
.header__services-list > .menu-item > .sub-menu > .menu-item:first-child:not(.menu-item-has-children) > a::before {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    margin: 0 6px 6px 0;
    background-color: currentColor;
    box-shadow: 10px 0 currentColor, 0 10px currentColor, 10px 10px currentColor;
    content: '';
} */

.header__services-list > .menu-item > .sub-menu > .header__services-all > a:hover,
.header__services-list > .menu-item > .sub-menu > .menu-item:first-child:not(.menu-item-has-children) > a:hover {
    color: var(--main-color);
}

.header__services-list > .menu-item > .sub-menu > .header__services-category--active > a {
    background-color: rgba(139, 180, 226, 0.3);
}

.header__services-list > .menu-item > .sub-menu > .menu-item > .sub-menu {
    position: absolute;
    z-index: 1;
    left: 355px;
    top: 62px;
    width: 670px;
    min-height: 600px;
    display: none;
    padding-left: 5px;
    border-left: 1px solid rgba(48, 67, 105, 0.25);
    background-color: #FFFDF9;
}

.header__services-list > .menu-item > .sub-menu > .header__services-category--active > .sub-menu {
    display: block;
}

.header__services-list > .menu-item > .sub-menu > .header__services-category--active > .sub-menu {
    z-index: 2;
}

.header__services-list > .menu-item > .sub-menu > .menu-item > .sub-menu > .menu-item {
    min-height: 48px;
}

.header__services-list > .menu-item > .sub-menu > .menu-item > .sub-menu a {
    min-height: 43px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-radius: 4px;
    font-size: 19px;
    font-weight: 400;
    white-space: nowrap;
}

.header__services-list > .menu-item > .sub-menu > .menu-item > .sub-menu a:hover,
.header__services-list > .menu-item > .sub-menu > .menu-item > .sub-menu .current-menu-item > a {
    background-color: rgba(139, 180, 226, 0.3);
}

.header__services-list > .menu-item > .sub-menu > .menu-item > .sub-menu > .menu-item:first-child {
    min-height: 57px;
}

.header__services-list > .menu-item > .sub-menu > .menu-item > .sub-menu > .menu-item:first-child > a {
    color: var(--main-color);
    font-size: 25px;
    font-weight: 500;
}

.header__services-overlay {
    --services-panel-edge: calc(50% + 348px);
    position: fixed;
    z-index: 18;
    top: 78px;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: auto;
    display: none;
    padding: 0;
    border: 0;
    background-color: rgba(48, 67, 105, 0.48);
    backdrop-filter: blur(8px);
}

.header__services-menu--open .header__services-overlay {
    display: block;
}

.header__services-overlay span {
    position: absolute;
    top: 29px;
    left: calc(var(--services-panel-edge) + 18px);
    width: 20px;
    height: 2px;
    background-color: #FFFDF9;
}

.header__services-overlay span:first-child {
    transform: rotate(45deg);
}

.header__services-overlay span:last-child {
    transform: rotate(-45deg);
}

.header__nav-list > .menu-item {
    position: relative;
}

.header__nav-list > .menu-item > a {
    transition: color 0.2s ease;
}

.header__nav-list > .menu-item > a:hover {
    color: var(--accent-color);
}

.header__nav-list > .menu-item-has-children > a {
    min-width: 100px;
    height: 34px;
    display: flex;
    align-items: center;
    gap: 9px; 
    color: var(--main-color);
}

.header__nav-list > .menu-item-has-children > a::after {
    content: '';
    width: 0;
    height: 0;
    flex: 0 0 auto;
    border-right: 4px solid transparent;
    border-bottom: 6px solid currentColor;
    border-left: 4px solid transparent;
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

.header__nav-list > .menu-item-has-children > .sub-menu {
    position: absolute;
    z-index: 30;
    left: -10px;
    top: 34px;
    width: 138px;
    display: none;
    padding: 12px 20px 10px;
    border-radius: 8px;
    background-color: #FFFDF9;
    box-shadow: 0 12px 24px rgba(48, 67, 105, 0.14);
    color: #121212;
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
}

.header__nav-list > .menu-item-has-children > .sub-menu a {
    display: block;
    white-space: nowrap;
}

.header__nav-list > .menu-item-has-children > .sub-menu a:hover,
.header__nav-list > .menu-item-has-children > .sub-menu .current-menu-item > a {
    color: #8BB4E2;
}

.header__nav-list > .menu-item-has-children:hover > .sub-menu,
.header__nav-list > .menu-item-has-children:focus-within > .sub-menu {
    display: block;
}

.header__nav-list > .menu-item-has-children:hover > a::after,
.header__nav-list > .menu-item-has-children:focus-within > a::after {
    transform: rotate(0);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    white-space: nowrap;
}

.header__phone {
    color: var(--main-color);
    font-size: 16px;
    font-weight: 600;
}

.header__callback {
    height: 34px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background-color: var(--main-color);
    color: #FFFDF9;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

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

.header__socials a,
.header__socials img {
    width: 25px;
    height: 25px;
}

.header__socials img {
    transition: all .3s;
}
.header__socials a:hover img {
    transform: rotate(360deg);
}

.header__toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background-color: var(--main-color);
}

.header__toggle span {
    width: 22px;
    height: 2px;
    background-color: #FFFDF9;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.header--open .header__toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.header--open .header__toggle span:nth-child(2) {
    opacity: 0;
}

.header--open .header__toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}
/* header end */


/* hero start */

.hero {
    position: relative;
    height: 822px;
    margin-bottom: var(--padding-bt);
    overflow: hidden;
    color: #FFFDF9;
    background: #172A4A url(img/hero-bg.jpg);
    background-size: cover;
}

.hero__person {
    position: absolute;
    z-index: 1;
    left: calc(50% + 98px);
    top: 7px;
    width: 672px;
    height: 815px;
    overflow: hidden;
} 

.hero__person img {
    width: 672px;
    height: auto;
}

.hero__container {
    z-index: 2;
    height: 100%;
}

.hero__content {
    position: relative;
    z-index: 3;
    padding-top: 60px;
}

.hero__title {
    color: #FFFDF9;
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 80px;
    font-weight: 500;
    line-height: 1; 
}

.hero__subtitle {
    margin-top: 40px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.45; 
}

.hero__button {
    width: 395px;
    height: 56px;    
    margin-top: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 0 24px;
    border: 0;
    border-radius: 8px;
    background-color: #FFFDF9;
    color: var(--main-color);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1;
    transition: transform 0.2s ease;
}

.hero__button img {
    width: 28px;
    height: 20px; 
    transition: transform 0.2s ease;
}

.hero__button:hover {
    background: #B9D0EA;
}

.hero__button:hover img {
    transform: translateX(6px);
}

.hero__author {
    position: absolute;
    z-index: 3;
    left: calc(50% + 20px);
    top: 346px;
    width: 228px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
}

.hero__author-name {
    margin-bottom: 20px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.25;
}

.hero__advantages {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    bottom: 52px;
    height: 192px;
    display: grid;
    grid-template-columns: minmax(0, 680px) 342px 338px;
    border-radius: 8px;
    background-color: rgba(217, 217, 217, 0.2);
    backdrop-filter: blur(7px);
    padding: 30px;
}

.hero__specialization { 
    font-size: 40px;
    line-height: 1.1;
}

.hero__stat {
    position: relative;
    padding: 0 20px;
}

.hero__stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0px;
    width: 1px;
    height: 134px;
    background-color: rgba(255, 253, 249, 0.65);
}

.hero__stat p {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.45;
}

.hero__stat strong {
    display: block;
    margin-top: 29px;
    font-size: 40px;
    font-weight: 600;
    line-height: 1;
}

/* hero end */

/* why start */
.why {
    padding-bottom: 133px;
}

.why__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 269px));
    column-gap: 76px;
    align-items: start;
    padding: 0 40px;
}

.why__item {
    min-width: 0;
}
 
.why__value {
    font-size: 25px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 20px;
    margin-top: -20px;
}

.why__text { 
    font-size: 19px; 
}
/* why end */

/* steps start */
.steps {
    padding-bottom: var(--padding-bt);
}

.steps__title {
    margin-bottom: 50px;
}

.steps__list {
    display: grid;
    grid-template-columns: repeat(4, 333px);
    gap: 10px;
}

.steps__card {
    position: relative; 
    padding: 30px;
    border-radius: 8px;
}

.steps__card--outline {
    border: 2px solid #DCE7F2;
}

.steps__card--filled {
    background-color: rgba(234, 240, 245, 0.6);
}
 

.steps__name {
    margin-top: 50px;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.75px;
    margin-bottom: 40px;
}

.steps__description { 
    font-size: 19px; 
    letter-spacing: -1px;
    margin-top: auto;
}

.steps__description a {
    color: #8BB4E2;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}
/* steps end */

/* services start */
.services { 
    padding-bottom: var(--padding-bt); 
}

.services__title { 
    line-height: 1; 
}

.services__title span {
    display: block;
    margin-left: 160px;
}

.services__item {
    min-height: 185px;
    border-top: 1px solid #C1C5CE;
    transition: background-color 0.2s ease;
    display: block;
}

.services__item:last-child {
    border-bottom: 1px solid #C1C5CE;
} 

.services__row {
    min-height: 185px;
    display: grid;
    grid-template-columns: 494px 606px 1fr;
    align-items: start;
    padding: 30px 20px 24px;
}

.services__number,
.services__name {
    font-size: 25px;
    font-weight: 400;
    line-height: 1.25;
}

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

.services__description {
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: -0.38px;
}

.services__arrow {
    position: relative;
    width: 25px;
    height: 25px;
    justify-self: end;
}

.services__arrow img {
    position: absolute;
    top: 0;
    right: 0;
}

.services__arrow-default {
    width: 21px;
    height: 21px;
    transition: opacity 0.2s ease;
}

.services__arrow-active {
    width: 25px;
    height: 25px;
    opacity: 0;
    transition: opacity 0.2s ease;
}
  
.services__list .services__item:hover {
    background-color: var(--main-color-hover);
}

.services__list .services__item:hover .services__arrow-default {
    opacity: 0;
}

.services__list .services__item:hover .services__arrow-active {
    opacity: 1;
}
/* services end */

/* help start */
.help { 
    padding-bottom: var(--padding-bt);
}
.help2 { 
    padding-bottom: 0;
}

.help__layout {
    display: grid;
    grid-template-columns: 219px 846px;
    column-gap: 295px;
    align-items: start;
}

.help__layout .lawyer-consultation__agreement input { 
    border: 1px solid #e7e7e7;
}
.help__layout  .lawyer-consultation__agreement input:checked {
    border: 5px solid #e7e7e7; 
}
.help__intro {
    color: var(--accent-color); 
    font-weight: 500; 
    letter-spacing: -0.32px;
}


.help__title {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -1.6px;
    margin-bottom: 18px;
    color: var(--main-color);
}

.help__options {
    display: grid;
    grid-template-columns: auto auto;
    row-gap: 18px;
    justify-content: space-between;
}

.help__option {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: 100%;
    color: var(--main-color);
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: -0.38px;
    cursor: pointer;
}

.help__option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.help__box {
    position: relative;
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    border: 1px solid var(--main-color);
    border-radius: 4px;
}

.help__option input:checked + .help__box {
    background-color: var(--main-color);
}

.help__option input:checked + .help__box::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #FFFDF9;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.help__option input:focus-visible + .help__box {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

.help__situation {
    display: block;
    margin-top: 27px;
}

.help__situation textarea {
    display: block;
    width: 100%;
    height: 32px;
    padding: 0;
    border: 0;
    resize: none;
    background-color: transparent;
    color: var(--main-color);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    line-height: 1.25;
    letter-spacing: -0.32px;
    border-bottom: 1px solid rgba(48, 67, 105, .3);
}

.help__situation textarea::placeholder {
    color: rgba(48, 67, 105, 0.5);
}

 

.help__field {
    display: block;
    width: 100%;
    height: 84px;
    margin-top: 10px;
    padding: 0 35px;
    border: 0;
    border-radius: 8px;
    background-color: var(--main-color-hover);
    color: var(--main-color);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
}

.help__situation + .help__field {
    margin-top: 29px;
}

.help__field::placeholder {
    color: rgba(48, 67, 105, 0.5);
}

.help__field:focus  {
    outline: 2px solid var(--accent-color); 
}

 
.help__situation textarea:focus {
    border-bottom: 1px solid var(--accent-color); 
}

.help__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    height: 84px;
    margin-top: 8px;
    padding: 0 30px;
    border: 0;
    border-radius: 8px;
    background: radial-gradient(ellipse 120% 230% at 13% 18%, #304369 0%, #48649C 50%, #5F84CF 100%);
    color: #FFFDF9;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 25px;
    font-weight: 500;
    letter-spacing: -0.75px;
}

.help__submit img {
    width: 31px;
    height: 23px;
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

.help__submit:hover img {
    transform: rotate(180deg) translateX(-6px);
}
/* help end */

/* about start */
.about {
    padding-bottom: var(--padding-bt);
} 

.about__content {
    display: grid;
    grid-template-columns: 504px 826px;
    column-gap: 30px;
    align-items: start;
}

.about__card {
    position: relative;
    width: 504px;
    height: 575px;
    padding: 30px;
    border-radius: 8px;
    background: linear-gradient(254.84deg, #304369 36.07%, #5F84CF 167.28%);
    color: #FFFDF9;
}

.about__card-title { 
    max-width: 100%;
    color: #FFFDF9;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.about__card-title span {
    color: #B9D0EA;
}

.about__card-text {
    position: absolute;
    left: 30px;
    right: 15px;
    bottom: 30px;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: -0.32px;
}

.about__features {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 388px);
    grid-template-rows: 258px 257px;
    column-gap: 40px;
    row-gap: 30px;
    width: 826px;
    height: 575px;
    padding-top: 30px;
}

.about__grid {
    position: absolute;
    left: -10px;
    top: 22px;
    width: 816px;
    height: 533px;
}

.about__feature {
    position: relative;
    min-width: 0;
}

.about__feature-text {
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: -0.38px;
}

.about__icon {
    position: absolute;
    top: 80px;
    right: 15px;
    width: 142px;
    height: 142px;
}

.about__feature:nth-of-type(even) .about__icon {
    right: 2px;
}

.about__feature:nth-of-type(n+3) .about__icon {
    top: 95px;
}

.about__icon img {
    position: absolute;
}

/* about end */

/* consultation start */
.consultation {
    padding-bottom: var(--padding-bt);
}

.consultation__box { 
    border-radius: 8px;
    overflow: hidden;
}

.consultation__hero {
    position: relative; 
    color: #FFFDF9;
    overflow: hidden;
}
 

.consultation__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.consultation__hero-inner,
.consultation__form-area {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 474px minmax(0, 846px);
    column-gap: 40px;
    padding: 40px;
}

.consultation__eyebrow {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.32px;
}

.consultation__title {
    max-width: 800px;
    color: #FFFDF9;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -1.6px;
}

.consultation__title strong {
    display: block;
    font-weight: 600;
}

.consultation__benefits {
    margin-top: 68px;
}

.consultation__benefit {
    min-height: 93px;
    display: grid;
    grid-template-columns: 171px minmax(0, 1fr);
    align-items: start;
    padding-top: 23px;
    border-bottom: 1px solid rgba(255, 253, 249, 0.65);
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: -0.38px;
}

.consultation__benefit:last-child {
    border-bottom: 0;
}

.consultation__form-area {
    min-height: 352px;
    background-color: var(--main-color-hover);
}

.consultation__form-intro h3 {
    color: var(--main-color);
    font-size: 25px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.75px;
}

.consultation__form-intro p {
    margin-top: 20px;
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: -0.38px;
}

.consultation__field,
.consultation__submit {
    width: 100%;
    height: 84px;
    border: 0;
    border-radius: 8px;
}

.consultation__field {
    display: block;
    margin-bottom: 10px;
    padding: 0 35px;
    background-color: #FFFDF9;
    color: var(--main-color);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
}

.consultation__field::placeholder {
    color: rgba(48, 67, 105, 0.5);
}

.consultation__field:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: -2px;
}

.consultation__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 30px;
    background: radial-gradient(ellipse 120% 230% at 13% 18%, #304369 0%, #48649C 50%, #5F84CF 100%);
    color: #FFFDF9;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 25px;
    font-weight: 500;
    letter-spacing: -0.75px;
}

.consultation__submit img {
    width: 28px;
    height: 20px;
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

.consultation__submit:hover img {
    transform: rotate(180deg) translateX(-6px);
}
/* consultation end */

/* reviews start */
.reviews {
    padding-bottom: var(--padding-bt);
}

.page-template-service .reviews {
    padding-top: var(--padding-bt);
}

.reviews__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.reviews__title {
    margin: 0; 
}

.reviews__title span {
    display: inline;
    margin-left: 0;
}

.reviews__add {
    width: 238px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    flex: 0 0 238px;
    padding: 0 24px;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    background-color: transparent;
    color: var(--accent-color);
    font-family: inherit;
    font-size: 19px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.reviews__add:hover {
    background-color: var(--accent-color);
    color: #FFF;
}

.reviews__navigation {
    display: flex;
    gap: 11px;
    margin-bottom: 20px;
    padding-left: 20px;
}

.reviews__nav {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background-color: var(--main-color-hover);
}

.reviews__nav img {
    width: 13px;
    height: 22px;
}

.reviews__nav:hover {
    background-color: #DCE7F2;
}

.reviews__slider {
    width: 100%;
    overflow: hidden;
}

.reviews__slide {
    position: relative;
    height: 405px;
    padding: 28px;
    border: 2px solid #DCE7F2;
    border-radius: 8px; 
}

.reviews__author {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
}

.reviews__avatar {
    position: relative;
    width: 88px;
    height: 88px;
}

.reviews__avatar img {
    width: 88px;
    height: 88px;
}

.reviews__avatar span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #FFFDF9;
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 1;
}

.reviews__author h3 {
    color: var(--main-color);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0;
}

.reviews__author p {
    margin-top: 13px;
    font-size: 16px;
    line-height: 1.25;
    letter-spacing: 0;
}

.reviews__text {
    position: relative;
    max-height: 242px;
    margin-top: 20px; 
    font-size: 19px;
    line-height: 1.3;
    letter-spacing: 0;
    overflow-y: auto;
}

.reviews__text p + p {
    margin-top: 24px;
}

.reviews__bottom {
    display: flex;
    justify-content: center;
    padding-top: 40px;
}

.reviews__bottom a {
    color: #8BB4E2;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 19px;
    transition: all .3s;
}

.subservice-intro__content a {
    color: #8BB4E2; 
    text-decoration: underline;
    text-underline-offset: 3px; 
    transition: all .3s;
}

.subservice-intro__content a:hover {
    color: var(--main-color); 
    text-decoration: none; 
}

.reviews__bottom a:hover {
    color: var(--main-color); 
    text-decoration: none; 
}

.review-form-section { 
    display: grid;
    grid-template-columns: calc(max(0px, (100vw - 1360px) / 2) + 504px) minmax(0, 826px) minmax(0, 1fr);
    gap: 30px;
    overflow: hidden;
    background-color: #ECF6FE;
    margin-bottom: 100px;
}

.review-form-section__photo {
    min-width: 0;
    height: 100%;
    overflow: hidden;
}

.review-form-section__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 57% center;
}

.review-form-section__content {
    min-width: 0;
    padding-top: 30px;
    padding-bottom: 30px;
}

.review-form-section__content h2 {
    margin: 0;
    color: var(--main-color);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.25;
}

.review-form-section__content h2 strong {
    font-weight: 600;
}

.review-form {
    margin-top: 18px;
}

.review-form__field { 
    display: flex;
    flex-direction: column; 
    border-bottom: 1px solid rgba(48, 67, 105, 0.25); 
    margin-bottom: 20px;
}

.review-form__field input {
    width: 100%;
    padding: 20px 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--main-color);
    font: inherit;
}

.review-form__field input::placeholder,
.review-form__message textarea::placeholder {
    color: rgba(48, 67, 105, 0.5);
}

.review-form__message {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 17px;
    font-size: 16px;
}

.review-form__message textarea {
    width: 100%;
    height: 123px;
    padding: 20px;
    resize: none;
    border: 0;
    border-radius: 8px;
    outline: 0;
    background-color: #FFF;
    color: var(--main-color);
    font: inherit;
}

.review-form__submit {
    width: 100%;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(110deg, var(--main-color), #5F84CF);
    color: #FFF;
    font-family: inherit;
    font-size: 25px;
    font-weight: 500;
}

.review-form__submit img {
    width: 28px;
    height: 20px;
        transform: rotate(180deg);
    transition: transform 0.2s ease;
}

.review-form__submit:hover img {
    transform:  rotate(180deg) translateX(-6px);
}

.review-archive__items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.review-archive {
    padding-bottom: var(--padding-bt);
}

/* reviews end */

/* work-areas start */

.work-areas {
    padding-bottom: var(--padding-bt)
}

.work-areas__heading { 
    display: flex;
    align-items: flex-start;
    justify-content: space-between; 
    margin-bottom: 40px;
}

.work-areas__heading h1 {
    margin: 0;
    color: var(--main-color);
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 55px;
    font-weight: 500;
    line-height: 1.15;
}

.work-areas__heading span {
    margin-top: 8px;
    color: var(--accent-color);
    font-size: 14px;
    transition: color 0.2s ease;
}
 


.work-areas__list {
    display: grid;
    gap: 20px;
}

.work-areas__item {
    position: relative;
    min-height: 278px;
    display: grid;
    grid-template-columns: 504px minmax(0, 1fr);
    overflow: hidden;
    border-radius: 8px;
    color: #121212;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.work-areas__item--active,
.work-areas__item:hover {
    background-color: #ECF6FE;
}

.work-areas__item:hover {
    box-shadow: 0 10px 30px rgba(48, 67, 105, 0.08);
}

.work-areas__media {
    position: relative;
    min-width: 0;
    height: 100%;
    overflow: hidden;
}

.work-areas__media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 28, 54, 0.32), transparent 38%);
    content: '';
    pointer-events: none;
}

.work-areas__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.work-areas__item:hover .work-areas__media img {
    transform: scale(1.025);
}

.work-areas__number {
    position: absolute;
    z-index: 1;
    top: 18px;
    left: 20px;
    color: #FFF;
    font-size: 25px;
    line-height: 1;
}

.work-areas__content {
    min-width: 0;
    padding: 20px 175px 20px 20px;    
    display: flex;
    flex-direction: column; 
    justify-content: space-between;
}

.work-areas__content h2 {
    margin: 0 0 18px;
    color: var(--main-color);
    font-size: 25px;
    font-weight: 400;
    line-height: 1.16;
}

.work-areas__content p {
    margin: 0 0 15px; 
}

.work-areas__content ul { 
    padding-left: 22px; 
    display: flex;
    flex-direction: column;
    row-gap: 5px;
}

.work-areas__content ul li{ 
    list-style: disc;
}  

.content>*:last-child {
    margin-bottom: 0;
}

.work-areas__arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 18px;
    height: 18px;
    opacity: 0.65;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.work-areas__item:hover .work-areas__arrow {
    opacity: 1;
    transform: translate(2px, -2px);
}

.work-areas-page .lawyer-consultation {
    margin-top: 0;
}
/* work-areas end */

/* contacts start */
.contacts__top {
    height: 340px;
    display: grid;
    grid-template-columns: 474px minmax(0, 846px);
    column-gap: 40px; 
}

.contacts__title {
    margin-bottom: 0;
    font-size: 55px;
    line-height: 1;
    letter-spacing: 0;
}

.contacts__title span {
    display: block;
    margin-left: 120px;
}

.contacts__intro > p {
    margin-top: 58px;
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: 0;
}

.contacts__socials {
    width: 100px;
    height: 40px;
    margin-top: 28px;
}

.contacts__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 37px 10px;
    padding-top: 50px;
}

.contacts__item {
    min-width: 0;
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    align-items: center;
    column-gap: 30px;
}

.contacts__item--address {
    grid-column: 1 / -1;
}

.contacts__icon,
.contacts__address-icon {
    width: 94px;
    height: 94px;
}

.contacts__address-icon {
    position: relative;
    display: block;
}

.contacts__circle {
    width: 94px;
    height: 94px;
    transform: rotate(90deg);
}

.contacts__pin {
    position: absolute;
    left: 28px;
    top: 22px;
    width: 37px;
    height: 50px;
}

.contacts__value {
    color: #121212;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0;
}

a.contacts__value {
    transition: all .3s;
}

a.contacts__value:hover {
    color: var(--accent-color);
}

.contacts__item > div > p:not(.contacts__value) {
    margin-top: 4px;
    font-size: 16px;
    line-height: 1.25;
    letter-spacing: 0;
}

.contacts__item--address > div {
    margin-left: -4px;
}

.contacts__item--address > div > p:not(.contacts__value) {
    margin-top: 10px;
}

.contacts__map {
    position: relative;
    width: 100%;
    height: 484px; 
    overflow: hidden;
    border-radius: 8px;
}

.lazy-map-container,
.lazy-map {
    width: 100%;
    height: 100%;
}

.contacts {
    position: relative;
    overflow: hidden;
}
/* contacts end */

/* lawyer-consultation start */
.lawyer-consultation {
    position: relative;
    min-height: 535px;
    overflow: hidden;
    background-color: var(--main-color-hover);    
    margin-bottom: var(--padding-bt);
}

.lawyer-consultation__photo {
    position: absolute;
    inset: 0 auto 0 0;
    width: calc((100vw - 1360px) / 2 + 504px);
    min-width: 504px; 
}

.lawyer-consultation__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.lawyer-consultation__content {
    width: 826px;
    margin-left: auto;
    padding-top: 40px;
}

.lawyer-consultation__title {
    margin-bottom: 0;
    color: var(--main-color);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0;
}

.lawyer-consultation__title strong {
    font-weight: 700;
}

.lawyer-consultation__subtitle {
    margin-top: 8px;
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: 0;
}

.lawyer-consultation__form {
    margin-top: 14px;
}

.form__field,
.lawyer-consultation__submit {
    width: 100%;
    height: 84px;
    border: 0;
    border-radius: 8px;
}

.form__field {
    display: block;
    margin-bottom: 10px;
    padding: 0 35px;
    background-color: #FFFDF9;
    color: var(--main-color);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 18px;
}

.form__field::placeholder {
    color: rgba(48, 67, 105, 0.5);
}

.form__field:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: -2px;
}

.form__field.error {
    outline: 2px solid #FF0000;
    background: rgba(255, 0, 0, 0.05);
}

#fio-error,
#email-error,
#city-error,
#review-error,
#phone-error,
#personal-data-error {
    display: none!important;
}

.review-form__field:has(.error) {
    border-bottom: 2px solid #FF0000;
}

textarea.error {
    outline: 2px solid #FF0000;
    background: rgba(255, 0, 0, 0.05);
}

.lawyer-consultation__agreements {
    display: grid;
    row-gap: 10px;
    margin-top: 14px;
}

.lawyer-consultation__agreements a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: all .3s;
}

.lawyer-consultation__agreements a:hover { 
    text-decoration: none; 
}

.lawyer-consultation__agreement {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--main-color);
    font-size: 14px;
    line-height: 21px;
    cursor: pointer;
}

.lawyer-consultation__agreement input {
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    appearance: none;
    border: 0;
    border-radius: 4px;
    background-color: #FFFDF9;
    cursor: pointer;
}
.lawyer-consultation__agreement input.error {
    flex: 0 0 21px;
    width: 21px;
    height: 21px;
    appearance: none;
    border: 1px solid #FF0000;
    border-radius: 4px;
    background-color: rgba(255, 0, 0, 0.05);

    cursor: pointer;
}

.lawyer-consultation__agreement input:checked {
    border: 5px solid #FFFDF9;
    background-color: var(--accent-color);
}

.lawyer-consultation__agreement input:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.lawyer-consultation__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding: 0 30px;
    background: radial-gradient(ellipse 120% 230% at 13% 18%, #304369 0%, #48649C 50%, #5F84CF 100%);
    color: #FFFDF9;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 25px;
    font-weight: 500;
    letter-spacing: 0;
}

.lawyer-consultation__submit img {
    width: 28px;
    height: 20px;
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

.lawyer-consultation__submit:hover img {
    transform: rotate(180deg) translateX(-6px);
}
/* lawyer-consultation end */

/* faq start */

.faq-page {
    padding-bottom: var(--padding-bt);
}

.faq__layout {
    display: grid;
    grid-template-columns: 510px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.faq__title {
    margin: 0;
    color: var(--main-color);
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 55px;
    font-weight: 500;
    line-height: 1;
}

.faq__title span {
    display: block;
    color: var(--accent-color);
}
 
.faq__tabs {
    width: max-content;
    display: flex;
    align-items: center; 
    border-radius: 100px;
    background-color: rgba(48, 67, 105, 0.06);
}

.faq__tab {
    height: 64px;
    padding: 0 30px;
    border: 0;
    background: transparent;
    color: var(--main-color);
    font-family: inherit;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.25;
    cursor: pointer;
}

 

.faq__tab--active {  
    border-radius: 100px;
    background-color: var(--accent-color);
    color: #FFF;
}

.faq__panel {
    margin-top: 40px;
    border-top: 1px solid #CDD6E0;
}

.faq__panel[hidden] {
    display: none;
}

.faq__item {
    border-bottom: 1px solid #CDD6E0;
}

.faq__question {
    width: 100%; 
    display: grid;
    grid-template-columns: minmax(0, 760px) 39px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 32px 32px 32px 0;   
    font-size: 25px;
    font-weight: 400;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

.faq__item--open .faq__question { 
    padding-top: 40px;
    padding-bottom: 20px;
}

.faq__icon {
    position: relative;
    width: 39px;
    height: 39px;
    border-radius: 4px;
    background-color: #ECF6FE;
}

.faq__icon::before,
.faq__icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1px;
    content: '';
    background-color: #121212;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease;
}

.faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item--open .faq__icon::after {
    transform: translate(-50%, -50%) rotate(0);
}

.faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.3s ease, opacity 0.25s ease;
}

.faq__item--open .faq__answer {
    grid-template-rows: 1fr;
    opacity: 1;
}

.faq__answer-inner {
    max-width: 729px;
    min-height: 0;
    overflow: hidden;
    color: #121212;
    font-size: 16px;
    line-height: 1.35;
}

.faq__item--open .faq__answer-inner {
    padding-bottom: 40px;
}

.faq__answer-inner a {
    color: var(--accent-color);
    text-decoration: underline;
}

.faq__answer p {
    margin: 0 0 15px;
}
.faq__answer ul li {
    list-style: disc;
}
.faq__answer ol li {
    list-style:decimal;
}
.faq__answer ol li + li,
.faq__answer ul li + li {
    margin-top: 2px;
}
.faq__answer ol, 
.faq__answer ul { 
    padding-left: 24px;
    margin: 0 0 15px;
}
.faq__answer h3 { 
    font-weight: 500;
    font-size: 16px;
    margin: 0 0 15px;
    padding-top: 10px;
}

.faq__answer p:last-child {
    margin-bottom: 0;
}


/* faq end */

/* article-view start */  

.article-view__hero {
    position: relative;
    height: 561px;
    overflow: hidden;
    border-radius: 8px;
    color: #FFF;
}

.article-view__hero::after {
    position: absolute;
    inset: 0;
    content: '';
    background: linear-gradient(180deg, rgba(9, 15, 20, 0.03) 20%, rgba(9, 15, 20, 0.78) 100%);
}

.article-view__hero > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-view__back {
    position: absolute;
    z-index: 1;
    top: 35px;
    left: 35px;
    width: 230px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border-radius: 8px;
    background-color: #43639E;
    color: #FFF;
    font-size: 18px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.article-view__back:hover {
    background-color: var(--main-color);
}

.article-view__back span { 
    line-height: 1;
}

.article-view__hero h1 {
    position: absolute;
    z-index: 1;
    right: 100px;
    bottom: 52px;
    width: 760px;
    margin: 0;
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 55px;
    font-weight: 500;
    line-height: 1.05;
}

.article-view__layout {
    display: grid;
    grid-template-columns: 350px minmax(0, 806px);
    gap: 164px;
    align-items: start;
    margin-top: 40px;
}

.article-view__toc {
    position: sticky;
    top: 100px;
}

.article-view__toc-link {
    display: block;
    padding: 0 0 27px;
    margin-bottom: 27px;
    border-bottom: 1px solid #D8DDE3;
    color: #282828;
    font-size: 16px;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.article-view__toc-link:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.article-view__toc-link:hover,
.article-view__toc-link--active {
    color: var(--accent-color);
}

.article-view__content {
    min-width: 0;
    color: #282828;
    font-size: 19px;
    line-height: 1.35;
}

.article-view__content p {
    margin: 0 0 24px;
}

.article-view__content h2 {
    scroll-margin-top: 100px;
    margin: 50px 0 22px;
    color: var(--main-color);
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1;
}

.article-view__content ul {
    display: grid;
    gap: 24px;
    margin: 0 0 25px;
    padding: 0 0 0 70px;
    list-style: none;
    font-size: 17px;
    line-height: 1.45;
}

.article-view__content li {
    position: relative;
}

.article-view__content li::before {
    position: absolute;
    top: 0;
    left: -30px;
    content: '—';
}
/* article-view end */

/* article-related start */
.article-related {
    padding: 92px 0 100px;
    background-color: #FFFDF9;
}

.article-related__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 42px;
}

.article-related__heading h2 {
    margin: 0;
    color: var(--main-color);
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 55px;
    font-weight: 500;
    line-height: 1;
}

.article-related__heading h2 span {
    color: var(--accent-color);
}

.article-related__heading > a {
    width: 238px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    color: var(--accent-color);
    font-size: 18px;
    font-weight: 500;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.article-related__heading > a:hover {
    background-color: var(--accent-color);
    color: #FFF;
}

.article-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}
/* article-related end */

/* blog-catalog start */
.blog-catalog {
    padding: 0 0 var(--padding-bt); 
}

.blog-catalog__title {
    margin: 0 0 25px;
    color: var(--main-color);
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 55px;
    font-weight: 500;
    line-height: 1;
}

.blog-catalog__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.blog-card {
    min-width: 0;
    border-radius: 8px;
    overflow: hidden;
}

.blog-card__link { 
    display: block;
    background-color: #ECF6FE;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card__media {
    position: relative;
    max-height: 380px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #446F8D;
    aspect-ratio: 1 / 1;
}

.blog-card__media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.blog-card:hover .blog-card__media > img {
    transform: scale(1.035);
}

.blog-card__media time {
    position: absolute;
    left: 30px;
    bottom: 30px;
    min-width: 129px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 8px;
    background-color: #FFF;
    color: var(--main-color);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.blog-card__body {
    position: relative; 
    padding: 25px 30px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__body h3 {
    margin: 0;
    color: #121212;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 40px;
}

.blog-card__more { 
    color: var(--accent-color);
    font-size: 19px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
    margin-top: auto;
}

.blog-card__arrow {
    position: absolute;
    right: 30px;
    bottom: 26px;
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.blog-card:hover .blog-card__arrow {
    transform: translate(4px, -4px);
}

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.blog-pagination__page,
.blog-pagination__arrow {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--main-color);
    border-radius: 50%;
    color: var(--main-color);
    font-size: 19px;
    font-weight: 500;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.blog-pagination__page:hover,
.blog-pagination__arrow:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.blog-pagination__page--current,
.blog-pagination__arrow--disabled {
    opacity: 0.5;
    pointer-events: none;
}

.blog-pagination__ellipsis {
    width: 46px;
    color: var(--main-color);
    font-size: 19px;
    text-align: center;
}

.blog-pagination__arrow {
    border-color: transparent;
    font-size: 30px;
    font-weight: 400;
}
/* blog-catalog end */

/* service-catalog start */

.service-catalog {
    padding-bottom: var(--padding-bt); 
}

.service-catalog__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--main-color);
    font-size: 14px;
    line-height: 1.25;
}

.service-catalog__breadcrumbs a {
    transition: color 0.2s ease;
}

.service-catalog__breadcrumbs a:hover {
    color: var(--accent-color);
}
 

.service-catalog__title { 
    color: var(--main-color);
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 55px;
    font-weight: 500;
    line-height: 1;
}

.service-catalog__title span {
    display: block;
    margin-left: 160px;
    color: var(--accent-color);
}

.service-catalog__list {
    margin-top: 50px;
}

.service-catalog__item + .service-catalog__item {
    margin-top: 20px;
}

.service-catalog__card {
    position: relative;
    min-height: 278px;
    display: grid;
    grid-template-columns: 504px minmax(0, 1fr) 44px;
    border-radius: 8px;
    background-color: #FFFFFF;
    transition: background-color 0.2s ease;
}

.service-catalog__card:hover {
    background-color: rgba(234, 240, 245, 0.45);
}

.service-catalog__media {
    position: relative;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.service-catalog__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent 55%);
    pointer-events: none;
}

.service-catalog__media > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-catalog__card:hover .service-catalog__media > img {
    transform: scale(1.02);
}

.service-catalog__name {
    position: absolute;
    z-index: 1;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    padding-right: 20px;
}

.service-catalog__name > span {
    color: #FFFFFF;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.25;
}

.service-catalog__name h2 {
    margin: 0;
    color: #FFFFFF;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.25;
}

.service-catalog__info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 20px 20px;
}

.service-catalog__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-catalog__tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 4px;
    background-color: #FDE7D7;
    color: #121212;
    font-size: 16px;
    line-height: 1;
}

.service-catalog__tags span + span {
    background-color: rgba(139, 180, 226, 0.3);
}

.service-catalog__info p {
    max-width: 660px;
    margin: 0;
    color: #121212;
    font-size: 19px;
    line-height: normal;
}

.service-catalog__arrow {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 20px 20px 0 0;
}

.service-catalog__arrow img {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
}

.service-catalog__card:hover .service-catalog__arrow img {
    transform: translate(4px, -4px);
}
/* service-catalog end */

 
.service-level .breadcrumbs .container,
.subservice-hero .breadcrumbs .container { 
    padding: 0; 
}

.service-level .breadcrumbs .separator, .service-level .breadcrumbs a, 
.subservice-hero .breadcrumbs .separator, .subservice-hero .breadcrumbs a { 
    color: rgba(234, 240, 245, 0.5)
}
/* service-level start */
.service-level {
    position: relative; 
    overflow: clip;
    isolation: isolate;
    color: #FFFFFF;
}

.service-level__background {
    position: sticky;
    z-index: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    margin-bottom: -100vh;
    overflow: hidden;
    pointer-events: none;
}

.service-level__background::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(18, 33, 61, 0.4) 75.5%, rgba(185, 208, 234, 0.4) 110%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.2) 43.6%, transparent 59%);
    content: '';
}

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

.service-level__heading {
    position: relative;
    z-index: 1; 
    padding-top: 20px;
}

.service-level__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(234, 240, 245, 0.5);
    font-size: 14px;
    line-height: 1.2;
}

.service-level__breadcrumbs a {
    transition: color 0.2s ease;
}

.service-level__breadcrumbs a:hover,
.service-level__breadcrumbs span:last-child {
    color: var(--accent-color);
}

.service-level__heading h1 { 
    margin: 30px 0 50px;
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 55px;
    font-weight: 500;
    line-height: 1;
}

.service-level__heading h1.pb40 {
    margin-bottom: 40px;
}

.service-level__desc {
    max-width: 920px;
    font-size: 19px;
    margin-bottom: 50px;
}

.service-level__scroll {
    position: relative;
    z-index: 1;
}

.service-level__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-level__item {
    min-height: 170px;
    border-top: 1px solid rgba(159, 163, 158, 0.72);
    background-color: transparent;
    backdrop-filter: blur(0);
    transition: background-color 0.2s ease, backdrop-filter 0.2s ease;
}

.service-level__item:last-child {
    border-bottom: 1px solid rgba(159, 163, 158, 0.72);
}

.service-level__item:hover {
    background-color: rgba(217, 217, 217, 0.2);
    backdrop-filter: blur(7px);
}

.service-level__link {
    width: min(1360px, calc(100% - 40px)); 
    display: grid;
    grid-template-columns: 514px minmax(0, 692px) minmax(28px, 1fr);
    gap: 0;
    align-items: start;
    margin: 0 auto;
    padding: 30px 20px 30px 30px;
}

.service-level__number,
.service-level__name {
    font-size: 25px;
    font-weight: 400;
    line-height: 1.25;
}

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

.service-level__description {
    max-width: 672px;
    font-size: 16px;
    line-height: normal;
}

.service-level__arrow {
    width: 18px;
    height: 18px;
    justify-self: end;
    margin-top: 2px;
    opacity: 0.5;
    filter: brightness(0) invert(1);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.service-level__link:hover .service-level__arrow {
    opacity: 1;
    transform: scale(1.25);
} 
/* service-level end */

.cours-item {
    background: linear-gradient(0deg, #304369, #304369), linear-gradient(252.82deg, #304369 36.07%, #5F84CF 167.28%);
    color: #fff;
    padding: 30px;
    border-radius: 8px;
}

.cours-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    padding-top: 40px;
}
.cours__options {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.cours-item .team-hero__button {
    width: 100%;
    min-height: 56px; 
    font-size: 20px; 
}

.cours-item .team-hero__button img {
    width: 20px;
    height: 20px; 
}
.cours-item h3 {
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 30px;
}
.cours-item p { 
    margin-bottom: 30px;
}
.cours-item hr { 
    margin-bottom: 30px;
}
.cours-item ol { 
    margin-bottom: auto;
    padding-bottom: 30px;
}
.cours-item .big {
    font-size: 19px;
    font-weight: 500;
}
.cours-item {
    display: flex;
    flex-direction: column;
}
.cours-item ol {
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    row-gap: 3px;
}
.cours-item ol li{
   list-style: decimal;
}

/* subservice-subscription start */
.subservice-subscription {
    padding: 0 0 60px;
    background-color: #FFFDF9;
}

.subservice-subscription__layout {
    display: grid;
    grid-template-columns: 1fr 205px;
    gap: 100px; 
}

.subservice-subscription__content h2 {
    margin: 0;
    color: var(--main-color);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.15;
}

.subservice-subscription__content h2 strong {
    font-weight: 600;
}

.subservice-subscription__content > p {
    margin: 25px 0 0;
    color: #121212;
    font-size: 19px;
    line-height: 1.25;
}

.subservice-subscription__link {
    width: 100%;
    max-width: 488px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 73px;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    color: var(--accent-color);
    font-size: 25px;
    font-weight: 500;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.subservice-subscription__link img {
    width: 27px;
    height: 20px;
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

.subservice-subscription__link:hover {
    background-color: var(--accent-color);
    color: #FFFFFF;
}

.subservice-subscription__link:hover img {
    filter: brightness(0) invert(1);
    transform: translateX(5px) rotate(180deg);
}

.subservice-subscription__note {
    width: 204px;
    margin: 0;
    color: var(--accent-color);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
}
/* subservice-subscription end */
/* vacancies-hero start */
.vacancies-hero {
    position: relative;
    height: 561px;
    overflow: hidden;
    border-radius: 8px;
    color: #FFFDF9;
}

.vacancies-hero__image,
.vacancies-hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.vacancies-hero__image {
    display: block;
    object-fit: cover;
    object-position: center;
}

.vacancies-hero__overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.58) 25%, rgba(0, 0, 0, 0.08) 58%, transparent 78%);
}

.vacancies-hero__content {
    position: relative;
    z-index: 1;
    width: 544px;
    padding: 30px;
}

.vacancies-hero h1 {
    margin: 0 0 40px;
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 55px;
    font-weight: 500;
    line-height: 1;
}

.vacancies-hero p {
    margin: 0 0 20px;
    font-size: 19px;
    line-height: 1.35;
}

.vacancies-hero p:last-child {
    margin-bottom: 0;
}
/* vacancies-hero end */

/* vacancies start */
.vacancies {
    padding: 60px 0;
    overflow: visible;
    background-color: #FFF;
}

.vacancies__layout {
    display: grid;
    grid-template-columns: 350px minmax(0, 846px);
    gap: 164px;
    align-items: start;
}

.vacancies__intro {
    grid-column: 1;
    grid-row: 1;
}

.vacancies__content {
    grid-column: 2;
    grid-row: 1;
}

.vacancies__intro[hidden],
.vacancies__panel[hidden],
.vacancy-application[hidden] {
    display: none;
}

.vacancies__intro h2 {
    margin: 0;
    color: var(--accent-color);
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 55px;
    font-weight: 500;
    line-height: 1;
}

.vacancies__intro h2 span {
    display: block;
    color: var(--main-color);
}

.vacancies__intro > p {
    margin: 40px 0 0;
    font-size: 16px;
    line-height: 1.35;
}

.vacancies__apply-link { 
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 50px;
    border-radius: 8px;
    background-color: var(--main-color);
    color: #FFF;
    font-size: 19px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.vacancies__apply-link:hover {
    background-color: #48649C;
}

.vacancies__apply-link img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.vacancies__tabs {
    width: max-content;
    display: flex;
    align-items: center; 
    border-radius: 100px;
    background-color: rgba(48, 67, 105, 0.06);
}

.vacancies__tab {
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 30px;
    border: 0;
    background: transparent;
    color: var(--main-color);
    font-family: inherit;
    font-size: 25px;
    font-weight: 500;
    cursor: pointer;
}

.vacancies__tab--active {
    padding-right: 31px;
    border-radius: 100px;
    background-color: var(--accent-color);
    color: #FFF;
}

.vacancies__list {
    margin-top: 40px;
}

.vacancy-card__question {
    min-height: 203px;
    grid-template-columns: minmax(0, 731px) 39px;
    align-items: start;
    gap: 56px;
    padding: 39px 0 30px;
    text-align: left;
}

.vacancy-card.faq__item--open .vacancy-card__question {
    min-height: 98px;
    padding: 39px 0 12px;
}

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

.vacancy-card__heading strong {
    color: var(--main-color);
    font-size: 25px;
    font-weight: 500;
    line-height: 1.1;
}

.vacancy-card__heading > span:not(.vacancy-card__date) {
    font-size: 16px;
    line-height: 1.35;
}

.vacancy-card__heading .vacancy-card__date {
    margin-top: 18px;
}

.vacancy-card__answer {
    max-width: 731px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 16px;
    line-height: 1.3;
}

.vacancy-card.faq__item--open .vacancy-card__answer {
    min-height: 548px;
    padding: 0 0 25px;
}

.vacancy-card__answer h3 {
    margin: 0 0 12px;
    color: var(--main-color);
    font-size: 16px;
    font-weight: 500;
}

 
.vacancy-card__date {
    margin: auto 0 0;
    color: rgba(18, 18, 18, 0.5);
    font-size: 16px;
    font-weight: 400;
}

.partner-card__question {
    min-height: 97px;
    grid-template-columns: minmax(0, 731px) 39px;
    gap: 56px;
    padding: 29px 0;
    font-size: 25px;
    text-align: left;
}

.partner-card.faq__item--open .partner-card__question {
    min-height: 77px;
    padding: 31px 0 7px;
}

.partner-card__answer {
    max-width: 707px;
    font-size: 16px;
    line-height: 1.35;
}

.partner-card.faq__item--open .partner-card__answer {
    min-height: 126px;
    padding-bottom: 20px;
}

.partner-card__answer ol {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: partner-steps;
}

.partner-card__answer li {
    position: relative;
    padding-left: 24px;
    line-height: 1.2;
    counter-increment: partner-steps;
}

.partner-card__answer li::before {
    position: absolute;
    left: 0;
    color: var(--accent-color);
    content: counter(partner-steps);
    font-weight: 600;
}
/* vacancies end */

/* subservice-benefits start */
.subservice-benefits {
    padding: 0 0 60px;
    background-color: #FFFDF9;
}

.subservice-benefits h2 { 
    margin: 0 0 30px;
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--main-color);
    font-size: 40px;
    font-weight: 400;
    line-height: 1.15;
}

.subservice-benefits h2 span { 
    color: var(--main-color); 
    font-weight: 600; 
}


.subservice-benefits__subtitle {
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 30px;
    color: var(--main-color);
}

.subservice-benefits__text {
    font-size: 19px;
    margin-bottom: 40px;
}
 
.subservice-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.subservice-benefits__grid2{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}
.subservice-benefits__grid3{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.subservice-benefits__grid article,
.subservice-benefits__grid3 article,
.subservice-benefits__grid2 article { 
    padding: 28px;
    border: 2px solid #ECF6FE;
    border-radius: 8px;
}
.subservice-benefits__grid3 article,
.subservice-benefits__grid2 article { 
    font-size: 19px;
}

.subservice-benefits__grid3 article h3,
.subservice-benefits__grid2 article h3 { 
    font-weight: 500;
    margin-bottom: 50px;
    color: var(--main-color);
}

.subservice-benefits__grid article:nth-child(even) {
    border-color: transparent;
    background-color: #ECF6FE;
}

.subservice-benefits__icon {
    width: 121px;
    height: 121px;
}

.subservice-benefits__icon span {
    display: none;
}

.subservice-benefits__icon img {
    display: block;
    width: 121px;
    height: 121px;
    object-fit: contain;
}

.subservice-benefits__grid h3 {
    margin: 22px 0 12px;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.15;
}

.subservice-benefits__grid p {
    margin: 0;
    font-size: 16px;
    line-height: 1.25;
}
/* subservice-benefits end */

/* subservice-pricing start */
.subservice-pricing {
    padding: 40px 0;
    background-color: #ECF6FE;
    margin-bottom: 60px;
}

.subservice-pricing__layout {
    display: grid;
    gap: 85px;
    grid-template-columns: 514px 846px;
}

.subservice-pricing__layout.layout2 {
    display: grid;
    grid-template-columns: 1fr 418px;
}

.subservice-pricing__layout.layout2 .subservice-pricing__grid {
    display: block; 
}

.subservice-pricing__intro h2 { 
    margin: 0;
    color: var(--main-color);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.15;
}

.subservice-pricing__intro h2 strong {
    font-weight: 600;
}

.subservice-pricing__intro p { 
    margin: 30px 0 0;
    font-size: 19px;
    line-height: 1.25;
}

.subservice-pricing__intro a {
    width: 297px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
    border-radius: 8px;
    background: radial-gradient(ellipse 120% 230% at 13% 18%, #304369 0%, #48649C 50%, #5F84CF 100%);
    color: #FFF;
    font-size: 25px;
    font-weight: 500;
}

.subservice-pricing__intro a img {
    width: 24px;
    height: 17px;
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

.subservice-pricing__intro a:hover img {
    transform: translateX(5px) rotate(180deg);
}

.subservice-pricing__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.subservice-price { 
    min-height: 289px;
    padding: 30px;
    border-radius: 8px;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
}

.subservice-price h3 { 
    margin-bottom: 10px; 
    font-size: 19px;
    font-weight: 500;
    line-height: 1.25;
}

.subservice-price > p { 
    color: rgba(18, 18, 18, .5);  
    line-height: 1.25;
    margin-bottom: 15px;
}

.subservice-price__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; 
    margin-bottom: auto;
}

.subservice-price__tags span {
    height: 34px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 4px;
    background-color: #FDE7D7;
    font-size: 16px;
}

.subservice-price__tags span.whom2 {
    background-color: rgba(139, 180, 226, 0.3);
}
.subservice-price__tags span.whom3 {
    background-color: #E1F8DB;
}
 

.subservice-price dl {
    margin:   0;
}

.subservice-price dl > div {
    display: flex;
    justify-content: space-between;
    padding: 13px 0;
    border-top: 1px solid #D5DDE6; 
    line-height: 1.2;
}
.subservice-price dl > div:last-child { 
    padding: 13px 0 0; 
}

.subservice-price dd {
    margin: 0;
    font-weight: 400;
}

.subservice-price .subservice-price__note {
    margin: 20px 0 0;
    color: #121212;
    font-size: 16px; 
}

.subservice-price__note a {
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}
/* subservice-pricing end */

/* subservice-risk start */

.subservice-risk {
    padding-bottom: var(--padding-bt);
}

.subservice-risk__layout { 
    display: grid;
    grid-template-columns: 504px minmax(0, 1fr);
    overflow: hidden;
    border-radius: 8px;
    background-color: #ECF6FE;
}

.subservice-risk__content {
    position: relative;
    padding: 30px;
    color: #FFFFFF;
    background: linear-gradient(253.766deg, #304369 36.071%, #5F84CF 167.28%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.subservice-risk__content .top { 
    margin: 0 0 30px;
    color: #FFFFFF;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.25;
}

.subservice-risk__content .top span {
    color: #B9D0EA;
}

 

.subservice-risk__request {
    padding: 30px;
}

/* subservice-risk end */

/* subservice-hero start */
.subservice-hero {
    height: 351px;
    background-image: linear-gradient(90deg, rgba(18, 33, 61, 0.62), rgba(48, 67, 105, 0.22)), url('img/subservice-hero.png');
    background-position: center 48%;
    background-size: cover;
    color: #FFF;
    margin-bottom: 40px;
}

.subservice-hero__container {
    padding-top: 20px;
}

.subservice-hero__breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    color: rgba(234, 240, 245, 0.5);
    font-size: 14px;
}

.subservice-hero__breadcrumbs span:last-child {
    color: var(--accent-color);
    font-weight: 500;
}

.subservice-hero h1 { 
    margin: 37px 0 0;
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 55px;
    font-weight: 500;
    line-height: 1;
}
/* subservice-hero end */

/* subservice-faq start */
.subservice-faq {
    padding: 0 0 var(--padding-bt);
}

.subservice-faq .faq__panel {
    margin-top: 10px;
}

.subservice-faq .faq__answer-inner {
    max-width: 675px;
}
/* subservice-faq end */

/* vacancy-application start */
.vacancy-application {
    margin-bottom: var(--padding-bt);
    display: grid;
    grid-template-columns: calc(max(0px, (100vw - 1360px) / 2) + 504px) minmax(0, 826px) minmax(20px, 1fr);
    gap: 30px;
    overflow: hidden;
    background-color: #ECF6FE;
}

.vacancy-application__photo {
    min-width: 0; 
    overflow: hidden;
}

.vacancy-application__photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 54% center;
}

.vacancy-application__content {
    min-width: 0;
    padding-top: 30px;
    padding-bottom: 30px;
}

.vacancy-application__content h2 {
    margin: 0;
    color: var(--main-color);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.15;
}

.vacancy-application__content h2 strong {
    font-weight: 600;
}

.vacancy-form {
    margin-top: 58px;
}

.vacancy-form__vacancies {
    display: flex;
    gap: 30px;
    margin: 0 0 28px;
    padding: 0;
    border: 0;
    flex-wrap: wrap;
}

#resume-error {
    position: absolute;
    top: -5px;
    color: red;
}

.vacancy-form__vacancies label,
.vacancy-form__agreement {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--main-color);
    cursor: pointer;
}

.vacancy-form input[type='radio'],
.vacancy-form input[type='checkbox'] {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    margin: 0;
    accent-color: var(--main-color);
}

.vacancy-form__vacancies span {
    max-width: 240px;
    font-size: 19px;
    line-height: 1.2;
}

.vacancy-form__field {
    height: 82px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-bottom: 1px solid #C2D0DE;
    font-size: 16px;
}

.vacancy-form__field input {
    width: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--main-color);
    font: inherit;
}

.vacancy-form__field input::placeholder {
    color: rgba(48, 67, 105, 0.5);
}

.vacancy-form__file {
    position: relative;
    height: 72px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 17px;
    cursor: pointer;
}

.vacancy-form__file em {
    font-style: italic;
}

.vacancy-form__file input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.vacancy-form__file-action {
    color: var(--accent-color);
}

.vacancy-form--partners {
    margin-top: 23px;
}

.vacancy-form__comment {
    min-height: 131px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 17px;
    font-size: 16px;
}

.vacancy-form__comment textarea {
    width: 100%;
    height: 91px;
    padding: 20px;
    resize: none;
    border: 0;
    border-radius: 8px;
    outline: 0;
    background-color: #FFF;
    color: var(--main-color);
    font: inherit;
}

.vacancy-form__comment textarea::placeholder {
    color: rgba(48, 67, 105, 0.5);
}

.vacancy-form__agreement {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.35;
}

.vacancy-form__agreement a {
    color: var(--accent-color);
    text-decoration: underline;
}

.vacancy-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding: 0 30px;
    background: radial-gradient(ellipse 120% 230% at 13% 18%, #304369 0%, #48649C 50%, #5F84CF 100%);
    color: #FFFDF9;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 25px;
    font-weight: 500;
    letter-spacing: 0;
    width: 100%;
    height: 84px;
    border: 0;
    border-radius: 8px;
}

.vacancy-form__submit img {
    width: 28px;
    height: 20px;
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

.vacancy-form__submit:hover img {
    transform: rotate(180deg) translateX(-6px);
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
/* vacancy-application end */

/* audit-results start */
.audit-results { 
    padding: 40px 0;
    background-color: #ECF6FE;
    color: var(--main-color);
    margin-top: var(--padding-bt);
    margin-bottom: var(--padding-bt);
}

.audit-results__title {
    max-width: 1339px;
    margin: 0;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.25;
}

.audit-results__title strong {
    font-weight: 600;
}

.audit-results__list {
    display: grid;
    grid-template-columns: 332px 333px minmax(0, 674px);
    gap: 10px;
    margin-top: 78px;
}

.audit-results__card,
.audit-results__offer {
    height: 293px;
    border-radius: 8px;
}

.audit-results__card2,
.audit-results__offer2 {
    height: auto;
    justify-content: space-between;
}

.audit-results__card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 2px solid var(--accent-color);
}

.audit-results__icon {
    width: 144px;
    height: 144px;
    flex: 0 0 144px;
}

.audit-results__icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.audit-results__card p {
    max-width: 267px;
    margin: auto 0 0;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -1px;
}

.audit-results__card.audit-results__card2 p { 
    font-size: 16px;
    font-weight: 400; 
    padding-top: 30px;
}

.audit-results__offer {
    display: flex;
    flex-direction: column;
    padding: 30px;
    background: linear-gradient(235deg, var(--main-color) 36%, #5F84CF 167%);
    color: #FFF;
}

.audit-results__offer p {
    max-width: 538px;
    margin: 0;
    font-size: 19px;
    line-height: normal;
}

.audit-results__offer strong {
    max-width: 425px;
    margin-top: auto;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.25;
}
/* audit-results end */


/* subservice-intro start */

.subservice-intro {
    padding: 0 0 60px; 
}

.subservice-intro__layout {
    display: grid;
    grid-template-columns: 350px minmax(0, 806px);
    gap: 160px;
    align-items: start;
}

.subservice-intro__lead {
    margin: 0;
    color: var(--accent-color);
    font-size: 16px;
    line-height: 1.35;
}

.subservice-intro__content { 
    font-size: 19px;
    line-height: 1.35;
}

.subservice-intro__content p {
    margin: 0 0 20px;
}

.subservice-intro__content h2 {
    margin: 0 0 20px;
    color: var(--main-color);
    font-size: 25px;
    font-weight: 500;
    line-height: 1.25;
}

.subservice-intro__content>*:last-child {
    margin-bottom: 0;
}

/* subservice-intro end */


/* subservice-when start */
.subservice-when {
    padding: 0 0 60px;
    background-color: #FFFDF9;
}

.subservice-when h2 {
    max-width: 970px;
    margin: 0;
    color: var(--main-color);
    font-size: 40px;
    font-weight: 400;
    line-height: 1.15;
}

.subservice-when__list {
    width: 846px;
    display: grid;
    gap: 30px;
    margin: 40px 0 0 514px;
    padding: 0;
    list-style: none;
    counter-reset: situations;
}

.subservice-when__list li {
    position: relative;
    padding-left: 32px;
    font-size: 19px;
    line-height: 1.35;
    counter-increment: situations;
}

.subservice-when__list li::before {
    position: absolute;
    left: 0;
    color: var(--accent-color);
    content: counter(situations);
    font-weight: 500;
}
/* subservice-when end */

/* subservice-disputes start */
.subservice-disputes {
    padding: 0 0 60px;
    background-color: #FFFDF9;
}

.subservice-heading h2 {
    margin: 0;
    color: var(--main-color);
    font-size: 40px;
    font-weight: 400;
    line-height: 1.15;
    font-family: 'IBM Plex Sans', sans-serif;
}
.subservice-heading h2 span { 
    color: var(--main-color); 
    font-weight: 600; 
}

.subservice-heading > p { 
    margin: 25px 0 0;
    font-size: 19px;
    line-height: 1.35;
}

.subservice-heading__subtitle {
    font-size: 25px;
    font-weight: 500;
    margin-top: 30px;
    color: var(--main-color);
}

.subservice-disputes__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 40px;
}

.subservice-disputes__grid article {
    min-height: 208px;
    padding: 20px;
    border: 2px solid #ECF6FE;
    border-radius: 8px;
}

/* .subservice-disputes__grid article:nth-child(even) {
    border-color: transparent;
    background-color: #ECF6FE;
} */

.subservice-disputes__grid h3 {
    min-height: 57px;
    margin: 0;
    color: var(--main-color);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.25;
}

.subservice-disputes__grid p {
    margin: 20px 0 0;
    font-size: 16px;
    line-height: 1.35;
}

.subservice-disputes__grid article.bl {
    background-color: var(--main-color) !important;
    color: #FFF;
}

.subservice-disputes__grid article.bl h3 {
    color: #FFF;
}

/* subservice-disputes end */

/* subservice-steps start */

.subservice-steps {
    padding-bottom: 60px;
    background-color: #FFFDF9;
}

.subservice-steps .subservice-heading {
    margin-bottom: 40px;
}

.subservice-steps__list {
    margin: 0;
    padding: 0;
    border-top: 1px solid #D5DDE6;
    list-style: none;
}

.subservice-steps__list > li {
    min-height: 125px;
    border-bottom: 1px solid #D5DDE6;
}

.subservice-steps__row {
    display: grid;
    grid-template-columns: 350px minmax(0, 846px);
    gap: 164px;
    padding-top: 29px;
    padding-bottom: 28px;
}

.subservice-steps__row > span {
    color: var(--main-color);
    font-size: 16px;
    font-weight: 500;
}

.subservice-steps__row h3 {
    margin: 0 0 12px;
    color: var(--main-color);
    font-size: 19px;
    font-weight: 500;
}

.subservice-steps__row p {
    max-width: 846px;
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
}
/* subservice-steps end */

/* guarantees-page start */
.guarantees {
    padding-bottom: var(--padding-bt); 
} 

.guarantees__layout {
    display: grid;
    grid-template-columns: 464px minmax(0, 806px);
    gap: 50px;
}

.guarantees__title { 
    margin: 0;
    color: var(--main-color);
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 55px;
    font-weight: 500;
    line-height: 1.15;
}

.guarantees__title span {
    display: block;
    color: var(--accent-color);
}

.guarantees__content {
    font-size: 19px;
    line-height: 1.35;
}

.guarantees__content > p + p {
    margin-top: 20px;
}

.guarantees__content > h2 {
    margin: 35px 0 16px;
    color: var(--main-color);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.25;
}

.guarantees__content > h2:nth-of-type(3) {
    font-size: 22px;
}

.guarantees__content > ul {
    display: grid;
    gap: 20px;
    margin: 17px 0 30px;
    padding-left: 42px;
    font-size: 16px;
    line-height: 1.25;
}

.guarantees__content > ul li {
    position: relative; 
    list-style: disc;
}

/* .guarantees__content > ul li::before {
    content: '—';
    position: absolute;
    left: 0;
} */
/* guarantees-page end */

/* about-page start */
.page-template-about .about__title {
    display: none;
}

.about-page__hero-section { 
    padding-bottom: 60px;
}

.about-page__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 37px;
    color: rgba(48, 67, 105, 0.3);
    font-size: 14px;
}

.about-page__breadcrumbs a:hover,
.about-page__breadcrumbs span:last-child {
    color: var(--accent-color);
}

.about-page__hero {
    position: relative;
    height: 561px;
    overflow: hidden;
    border-radius: 8px;
    color: #fffdf9;
}

.about-page__hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-page__hero-content {
    position: relative;
    z-index: 1;
    width: 674px;
    padding: 30px;
}

.about-page__hero-content h1 {
    margin: 0 0 40px;
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 55px;
    font-weight: 500;
    line-height: 1;
}

.about-page__hero-text {
    max-width: 583px;
    font-size: 19px;
    line-height: 1.35;
}

.about-page__hero-text p + p {
    margin-top: 20px;
}

.about-page__cases-link {
    display: flex;
    width: 276px;
    height: 54px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 39px;
    border-radius: 8px;
    background: #fffdf9;
    color: var(--main-color);
    font-size: 19px;
    font-weight: 500;
}

.about-page__cases-link img {
    width: 28px;
    filter: brightness(0) saturate(100%) invert(25%) sepia(13%) saturate(1856%) hue-rotate(181deg) brightness(89%);
    transition: transform 0.2s ease;
}

.about-page__cases-link:hover img {
    transform: translateX(5px);
}

.about-page__author {
    position: absolute;
    z-index: 1;
    left: 640px;
    top: 325px;
    display: grid;
    gap: 20px;
    width: 228px;
}

.about-page__author strong {
    font-size: 19px;
    font-weight: 600;
}

.about-page__author span {
    max-width: 185px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
}

.about-page__advantages {
    padding-top: 60px;
}

.about-page__advantages .about__card-text {
    font-size: 19px;
    line-height: 1.35;
}

.about-page__advantages .about__feature:first-of-type .about__feature-text {
    max-width: 330px;
}

.about-services {
    padding-bottom: 100px;
}

.about-services__title {
    margin: 0 0 33px;
    color: var(--main-color);
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 55px;
    font-weight: 500;
    line-height: 1;
}

.about-services__title span {
    color: var(--accent-color);
}

.about-services__item {
    min-height: 185px;
    border-top: 1px solid #c1c5ce;
    transition: background-color 0.2s ease;
}

.about-services__item:last-child {
    border-bottom: 1px solid #c1c5ce;
}

.about-services__item:hover {
    background: var(--main-color-hover);
}

.about-services__row {
    display: grid;
    min-height: 185px;
    grid-template-columns: 494px 760px 1fr;
    align-items: start;
    padding: 26px 20px 20px;
}

.about-services__number,
.about-services__content strong {
    font-size: 25px;
    font-weight: 400;
    line-height: 1.25;
}

.about-services__content {
    display: grid;
    gap: 14px;
}

.about-services__content > span {
    font-size: 18px;
    line-height: 1.1;
}

.about-services__arrow {
    position: relative;
    width: 25px;
    height: 25px;
    justify-self: end;
}

.about-services__arrow img {
    position: absolute;
    top: 0;
    right: 0;
}

.about-services__arrow-default {
    width: 21px;
    height: 21px;
    transition: opacity 0.2s ease;
}

.about-services__arrow-active {
    width: 25px;
    height: 25px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.about-services__item:hover .about-services__arrow-default {
    opacity: 0;
}

.about-services__item:hover .about-services__arrow-active {
    opacity: 1;
}

.about-services__all {
    display: flex;
    width: 492px;
    height: 54px;
    align-items: center;
    justify-content: center;
    margin: 37px auto 0;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    color: var(--accent-color);
    font-size: 19px;
    font-weight: 500;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.about-services__all:hover {
    background: var(--accent-color);
    color: #fffdf9;
}
/* about-page end */

/* payment-page start */
.payment {
    padding: 0 0 100px;  
}

.payment__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 37px;
    color: rgba(48, 67, 105, 0.3);
    font-size: 14px;
}

.payment__breadcrumbs a:hover,
.payment__breadcrumbs span:last-child {
    color: var(--accent-color);
}

.payment__intro {
    display: grid;
    grid-template-columns: 464px minmax(0, 806px);
    gap: 50px;
}

.payment__title { 
    margin: 0;
    color: var(--main-color);
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 55px;
    font-weight: 500;
    line-height: 1.15;
}

.payment__title span {
    display: block;
    color: var(--accent-color);
}

.payment__intro-content,
.payment__details {
    font-size: 19px;
    line-height: 1.35;
}

.payment__intro-content > p + p,
.payment__installment p + p {
    margin-top: 20px;
}

.payment__intro-content > h2,
.payment__details h2 {
    margin: 0 0 30px;
    color: var(--main-color);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.25;
}

.payment__intro-content > h2 {
    margin-top: 50px;
}

.payment__intro-content > ul,
.payment__list {
    display: grid;
    gap: 20px;
    margin: 30px 0;
    padding-left: 42px;
    font-size: 16px;
    line-height: 1.25;
}

.payment__intro-content > ul li,
.payment__list li {
    position: relative;
    padding-left: 29px;
}

.payment__intro-content > ul li::before,
.payment__list li::before {
    content: '—';
    position: absolute;
    left: 0;
}

.payment__methods {
    margin-top: 54px;
}

.payment__section-title {
    margin: 0 0 30px;
    color: var(--main-color);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.15;
}

.payment__section-title strong {
    font-weight: 600;
}

.payment__method-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.payment__method {
    min-height: 184px;
    padding: 26px 18px 20px;
    border: 2px solid #8bb4e2;
    border-radius: 8px;
}

.payment__method h3,
.payment__installment h3 {
    color: var(--main-color);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.25;
}

.payment__method p {
    margin-top: 49px;
    font-size: 16px;
    line-height: 1.25;
}

.payment__installments {
    margin-top: 54px;
}

.payment__installment-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 40px;
}

.payment__installment {
    display: flex; 
    flex-direction: column;
    gap: 20px;
    padding: 26px 18px 24px;
    border-radius: 8px;
    background: linear-gradient(231deg, #304369 36%, #5f84cf 167%);
    color: #fffdf9;
}

.payment__installment h3 {
    color: #c1dcfb;
}

.payment__installment p {
    font-size: 16px;
    line-height: 1.25;
}

.payment__details {
    max-width: 806px;
    margin: 60px 40px 0 auto;
}

.payment__details .payment__list {
    margin-top: 30px;
    margin-bottom: 39px;
}

.payment__details h2:last-of-type {
    margin-bottom: 30px;
}
/* payment-page end */

/* text-page start */
.text-page {
    padding-bottom: var(--padding-bt);
}

.text-page__layout {
    display: grid;
    grid-template-columns: 464px minmax(0, 806px);
    gap: 50px;
    align-items: start;
}

.text-page__title { 
    margin: 0;
    color: var(--main-color);
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 55px;
    font-weight: 500;
    line-height: 1;
    overflow-wrap: anywhere;
}

.page-id-473 .text-page__title { 
    font-size: 50px; 
}

.text-page__title span {
    display: block;
    color: var(--accent-color);
}

.text-page__content {
    min-width: 0;
    font-size: 19px;
    line-height: 1.35;
}

.text-page__content > h2 {
    margin: 40px 0 20px;
    color: var(--main-color);
    font: 500 25px/1.35 'IBM Plex Sans', sans-serif;
}

.text-page__content > h2:first-child,
.text-page__content > p:first-child {
    margin-top: 0;
}

.text-page__content > p + p {
    margin-top: 20px;
}

.text-page__content > ul,
.text-page__content > ol {
    display: grid;
    gap: 20px;
    margin: 20px 0 30px;
    padding-left: 42px;
    font-size: 16px;
    line-height: 1.35;
}

.text-page__content > ul li {
    position: relative;
    padding-left: 29px;
    overflow-wrap: anywhere;
}

.text-page__content > ul li::before {
    content: '—';
    position: absolute;
    left: 0;
}

.text-page__content a {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.text-page__content strong {
    font-weight: 500;
}
/* text-page end */


/* prices-page start */
.prices {
    padding-bottom: var(--padding-bt);
    color: #121212;
}

.prices__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 37px;
    color: rgba(48, 67, 105, 0.3);
    font-size: 14px;
}

.prices__breadcrumbs a:hover,
.prices__breadcrumbs span:last-child {
    color: var(--accent-color);
}

.prices__title {
    margin: 0 0 48px;
    color: var(--main-color);
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 55px;
    font-weight: 500;
    line-height: 1;
}

.prices__title span {
    color: var(--accent-color);
}

.prices__list {
    display: grid;
    gap: 20px;
}

.prices__group,
.prices__service {
    border-radius: 8px;
}

.prices__group {
    overflow: hidden;
    background: #ecf6fe;
}

.prices__group--open {
    border: 2px solid var(--accent-color);
    background: #fff;
}

.prices__group-summary,
.prices__service-summary {
    position: relative;
    display: grid;
    width: 100%;
    align-items: center;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-align: left;
    list-style: none;
}

.prices__group-summary::-webkit-details-marker,
.prices__service-summary::-webkit-details-marker {
    display: none;
}

.prices__group-summary {
    min-height: 93px;
    grid-template-columns: 43px minmax(0, 1fr) 24px;
    padding: 0 40px;
    color: var(--main-color);
    font-size: 19px;
    font-weight: 500;
}

.prices__group--open .prices__group-summary { 
    color: var(--accent-color); 
}

/* .prices__group--open:has(.prices__service--static) .prices__group-summary {
    color: #fff;
    background: #85B3E6;
}

.prices__group--open:has(.prices__service--static) .prices__number {
    color: #fff; 
}

.prices__group--open:has(.prices__service--static) >  .prices__group-summary .prices__arrow {
    border-color: #fff;
} */

.prices__group--open > .prices__group-summary {
    min-height: 81px;
    padding-right: 38px;
    padding-left: 38px;
}

.prices__number {
    color: var(--main-color);
    font-size: 16px;
    font-weight: 500;
}

.prices__group--open .prices__number {
    color: var(--accent-color); 
    font-weight: 500;
}

.prices__arrow {
    width: 13px;
    height: 13px;
    justify-self: end;
    border-right: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    transform: rotate(45deg) translateY(-3px);
    transition: transform 0.2s ease;
}

.prices__group--open > .prices__group-summary .prices__arrow,
.prices__service--open > .prices__service-summary .prices__arrow {
    transform: rotate(225deg) translate(-2px, -2px);
}

.prices__services {
    display: grid;
    box-sizing: border-box;
    gap: 15px;
    padding: 0 18px 18px;
    overflow: hidden;
    transition: height 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: height;
}

.prices__service {
    overflow: hidden;
    background: #F6FBFF;
}

.prices__service-summary {
    min-height: 71px;
    grid-template-columns: 43px minmax(0, 1fr) 485px 24px;
    padding: 0 20px;
    color: var(--main-color);
    font-size: 16px;
    font-weight: 500;
}

.prices__service--open > .prices__service-summary {
    background: var(--accent-color);
    color: #fff;
}

.prices__service--static .prices__service-summary {
    cursor: default;
}

.prices__service--open > .prices__service-summary .prices__arrow {
    border-color: #fff;
}

.prices__service-content {
    box-sizing: border-box;
    padding: 0 20px;
    overflow: hidden;
    background: #fff;
    transition: height 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: height;
}

.prices__services[hidden],
.prices__service-content[hidden] {
    display: none;
}

.prices__row {
    display: grid;
    min-height: 71px;
    grid-template-columns: minmax(0, 1fr) 466px;
    align-items: center;
    gap: 30px;
    padding: 10px 43px;
    border-bottom: 1px solid #d3d7df;
    font-size: 16px;
    line-height: 1.25;
}

.prices__row:last-child {
    border-bottom: 0;
}

.prices__row a,
.prices__download {
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prices__download {
    display: inline-block;
    margin: 42px 0 0 40px;
    font-size: 19px;
}
/* prices-page end */

/* team-hero start */
.team-hero {
    position: relative;
    width: min(1360px, calc(100% - 40px));
    height: 561px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    color: #FFFDF9;
}

.team-hero__media,
.team-hero__overlay {
    position: absolute;
    inset: 0;
}

.team-hero__media {
    background: url('img/team-hero.jpg') center 47% / cover no-repeat;
}

.team-hero__overlay {
    background:
        linear-gradient(90deg, rgba(12, 23, 43, 0.82) 0%, rgba(12, 23, 43, 0.55) 36%, rgba(18, 33, 61, 0.08) 64%, rgba(185, 208, 234, 0.18) 100%),
        linear-gradient(165deg, rgba(0, 0, 0, 0.3), transparent 46%);
}

.team-hero__content {
    position: relative;
    z-index: 1;
    width: 502px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px 0 30px 30px;
}

.team-hero__content h1 {
    margin: 0 0 32px;
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 55px;
    font-weight: 500;
    line-height: 1;
}

.team-hero__content p {
    max-width: 472px;
    font-size: 19px;
    line-height: 1.35;
}

.team-hero__button {
    width: 472px;
    min-height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: auto;
    border-radius: 8px;
    background-color: #FFFDF9;
    color: var(--main-color);
    font-size: 25px;
    font-weight: 500;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.team-hero__button img {
    width: 31px;
    height: 23px; 
    transition: transform 0.2s ease;
}

.team-vacancy a img {
    width: 18px;
    height: 13px; 
    transition: transform 0.2s ease;
}

/* .team-hero__button:hover {
    background-color: #C1DCFB; 
} */

.team-hero__button:hover img {
    transform: translateX(4px);
}

.team-vacancy a:hover img {
    transform: translateX(4px);
}
/* team-hero end */



/* cases-catalog start */
.cases-catalog {
    padding: 0px 0 100px;
    background-color: #FFF;
}

.cases-catalog__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    margin-bottom: 20px;
    color: rgba(48, 67, 105, 0.3);
    font-size: 14px;
}

.cases-catalog__breadcrumbs span:last-child {
    color: var(--accent-color);
    font-weight: 500;
}

.cases-catalog__breadcrumbs a:hover {
    color: var(--main-color);
}

.cases-catalog__title {
    margin: 0;
    color: var(--main-color);
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 55px;
    font-weight: 500;
    line-height: 1;
}

.cases-catalog__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-top: 33px;
}

.case-card {
    position: relative;
    min-height: 597px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 30px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #F9FBFD;
    transition: background-color 0.2s ease;
}

 
.case-card:hover {
    background-color: #ECF6FE;
}

.case-card__header {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 20px;
    color: var(--main-color);
    font-size: 16px;
    line-height: 1;
}

.case-card__state {
    color: #4FCB5D;
}

.case-card__state--work {
    color: #FF1B1B;
}

.case-card__complexity {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.case-card__difficulty {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.case-card__difficulty i {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: var(--main-color);
}

.case-card__difficulty .case-card__difficulty-empty {
    background-color: #C5CFDB;
}

.case-card h2 {
    margin: 30px 0 0;
    color: var(--main-color);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.25;
}

.case-card__content {
    display: grid;
    align-content: start;
    gap: 5px;
    margin-top: 16px; 
    padding-bottom: 30px;
}

.case-card__content h3 {
    margin-top: 20px;
    color: var(--main-color);
    font-size: 16px;
    font-weight: 500;
}

.case-card__content a {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.case-card__content strong {
    margin-top: 15px;
    color: var(--main-color);
    font-weight: 500;
}

.case-card__more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    color: var(--accent-color);
    font-size: 19px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.case-card__more img {
    width: 23px;
    height: 23px;
    transition: transform 0.2s ease;
}

.case-ca 
.case-card:hover .case-card__more {
    color: var(--main-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}
 
.case-card:hover .case-card__more img {
    filter: brightness(0) saturate(100%) invert(25%) sepia(22%) saturate(1239%) hue-rotate(180deg) brightness(93%) contrast(92%);
}

.case-card:hover .case-card__more img {
    transform: scale(1.12);
}
.case-card__content ul li {
    list-style: disc; 
}
.case-card__content ul { 
    padding-left: 15px;
}
/* cases-catalog end */

/* case-detail start */
.case-detail {
    padding: 0 0 100px; 
}


.case-detail__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    margin-bottom: 20px;
    color: #C5CFDB;
    font-size: 14px;
}

.case-detail__breadcrumbs a:hover,
.case-detail__breadcrumbs a:last-of-type {
    color: var(--accent-color);
}

.case-detail__heading {
    position: relative;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.case-detail__heading h1 { 
    margin: 0;
    color: var(--main-color);
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 55px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -1px;
}

.case-detail__heading h1 span {
    color: var(--accent-color);
}

.case-detail__meta { 
    padding-top: 14px; 
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--main-color);
    font-size: 16px;
    white-space: nowrap;
}

.case-detail__status {
    color: #4FCB5D;
}

.case-detail__status--work {
    color: #FF1B1B;
}

.case-detail__status--complete {
    color: #4FCB5D;
}

.case-detail__difficulty {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.case-detail__difficulty > span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--main-color);
}

.case-detail__difficulty > .case-detail__difficulty-empty {
    background-color: #C5CFDB;
}

.case-detail__layout {
    display: grid;
    grid-template-columns: 464px minmax(0, 806px);
    gap: 50px;
    align-items: start;
    margin-top: 40px;
}

.case-detail__navigation {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--accent-color);
    font-size: 14px;
}

.case-detail__navigation a {
    transition: color 0.2s ease;
}

.case-detail__navigation a:hover {
    color: var(--main-color);
}

.case-detail__content {
    display: grid;
    gap: 40px;
    min-width: 0;
    color: #282828;
    font-size: 19px;
    line-height: 1.35;
}

.case-detail__block h2 {
    margin: 0 0 20px;
    color: var(--main-color);
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1;
}

.case-detail__block p + p,
.case-detail__block p + ul {
    margin-top: 5px;
}

.case-detail__block a {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}
 

.case-detail__block strong {
    font-weight: 500;
}

.case-detail__block ul {
    display: grid;
    gap: 5px;
    margin-bottom: 20px;
}

.case-detail__block li {
    position: relative;
    padding-left: 22px;
}

.case-detail__block li::before {
    position: absolute;
    top: 0;
    left: 0;
    content: '•';
}

.case-detail__block .case-detail__result {
    display: inline-block;
    width: auto; 
    padding: 15px;
    border-radius: 4px;
    background-color: #E1F8DB;
    color: #282828;
}
/* case-detail end */


/* team-members start */
.team-members {
    padding: 95px 0 100px;
}

.team-members__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 23px;
}

.team-members__heading h2 {
    margin: 0;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.25;
}

.team-members__heading h2 strong {
    font-weight: 600;
}

.team-members__heading > span { 
    width: 148px;
    color: var(--accent-color);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
}

.team-lead {
    display: grid;
    grid-template-columns: 683px minmax(0, 1fr);
    min-height: 511px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #ECF6FE;
}

.team-lead__photo {
    position: relative; 
    overflow: hidden;
    border-radius: 8px; 
}
 
.team-lead__content {
    padding: 30px 25px 20px 33px;
    font-size: 16px;
    line-height: 1.2;
}

.team-lead h3,
.team-card h3,
.team-vacancy h3 {
    color: var(--main-color);
    font-size: 25px;
    font-weight: 500;
    line-height: 1.1;
}

.team-card__header p {
    margin-top: 12px;
    opacity: 0.5;
}

.team-card__avatar {
    flex: 0 0 92px;
    width: 92px;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--main-color);
    color: #FFFDF9;
    font-family: 'Ubuntu', sans-serif;
    font-size: 40px;
    font-weight: 500;
}

.team-lead__tags {
    display: flex;
    gap: 10px;
    margin-top: 9px;
}

.team-lead__tags span {
    height: 34px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 4px;
    background-color: var(--accent-color);
    color: #FFFDF9;
}

.team-lead__specialization {
    max-width: 615px;
    margin-top: 17px;
}

.team-lead__specialization strong,
.team-card dt {
    color: var(--accent-color);
    font-weight: 500;
}

.team-lead__facts {
    display: grid;
    gap: 13px;
    max-width: 615px;
    margin-top: 38px;
    padding-top: 19px;
    border-top: 1px solid #C1C5CE;
    counter-reset: team-facts;
}

.team-lead__facts li {
    display: grid;
    grid-template-columns: 15px minmax(0, 1fr);
    gap: 10px;
    counter-increment: team-facts;
}

.team-lead__facts li::before {
    content: counter(team-facts);
    color: var(--accent-color);
    font-weight: 600;
}

.team-card li {
    list-style: disc;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.team-card,
.team-vacancy {
    height: 450px;
    min-height: 450px;
    border-radius: 8px;
}

.team-card {
    padding: 28px;
    border: 2px solid #DCE7F2;
    font-size: 16px;
    line-height: 1.2;
}

.team-card__header {
    min-height: 140px;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 41px;
}

.team-card dl > div {
    display: grid;
    min-height: 98px;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 28px;
    padding: 13px 0;
    border-top: 1px solid #DCE7F2;
}

.team-card dd ul {
    padding-left: 20px;
}

.team-vacancy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    color: #FFFDF9;
    background: linear-gradient(253.112deg, #304369 36.071%, #5F84CF 167.28%);
}

.team-vacancy h3 {
    max-width: 360px;
    color: inherit;
    font-weight: 600;
}

.team-vacancy p {
    max-width: 335px;
    margin-top: 20px;
    font-size: 19px;
}

.team-vacancy a {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border-radius: 8px;
    background-color: #FFFFFF;
    color: var(--main-color);
    font-size: 19px;
    font-weight: 500;
}

.team-page .lawyer-consultation {
    margin-top: 0;
}
/* team-members end */


/* subservice-cases start */
.subservice-cases {
    padding: 0 0 60px;
    background-color: #FFFDF9;
}

.subservice-cases__list {
    width: 846px;
    display: grid;
    gap: 28px;
    margin: 40px 0 0 514px;
    padding: 0;
    list-style: none;
    counter-reset: cases;
}

.subservice-cases__list li {
    position: relative;
    padding-left: 32px;
    font-size: 19px;
    line-height: 1.35;
    counter-increment: cases;
}

.subservice-cases__list li::before {
    position: absolute;
    left: 0;
    color: var(--accent-color);
    content: counter(cases);
    font-weight: 500;
}

.subservice-cases__list i {  
    color: var(--accent-color);
    font-weight: 500;
    font-style: normal;
}

.subservice-cases__more {
    width: 846px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 0 514px;
    border-radius: 8px;
    background: linear-gradient(100deg, #304369, #5F84CF);
    color: #FFF;
    font-size: 19px;
    font-weight: 500;
}
/* subservice-cases end */

/* sert start */

.sert {
    padding-bottom: var(--padding-bt);
}

.sert-list {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.sert-list-item {
    font-size: 19px;
    font-weight: 500;
    transition: all .3s;
    color: var(--accent-color);
}
.sert-list-item span{
    text-decoration: underline;
    transition: all .3s;
}

.sert-list-item:hover {
    color: var(--main-color);
}

.sert-list-item:hover  span {
    text-decoration: none;
}


/* sert end */

/* subservice-authority start */
.subservice-authority {
    padding-bottom: 60px;
    background-color: #FFFDF9;
}

.subservice-authority__content {
    width: 846px;
    margin: 36px 0 0 514px;
    font-size: 19px;
    line-height: 1.35;
}

.subservice-authority__content p {
    margin: 0 0 24px;
}

.subservice-authority__content h3 {
    font-size: 25px;
    margin-bottom: 20px;
    font-weight: 500;
    color: var(--main-color);
}

.subservice-authority__content>*:last-child {
    margin: 0;
}

.subservice-authority__content strong {
    color: var(--main-color);
    font-weight: 500;
}
.subservice-authority__content ul li {
    list-style: disc;
}
.subservice-authority__content ol li {
    list-style:decimal;
}
.subservice-authority__content ol li + li {
    margin-top: 30px;
}
 
.subservice-authority__content ul li + li {
    margin-top: 10px;
}
.subservice-authority__content ol, 
.subservice-authority__content ul { 
    padding-left: 24px;
    margin: 0 0 24px;
}
.subservice-authority__content a { 
    color: var(--accent-color);
}

/* subservice-authority end */

/* promotions-page start */
.promotions {
    padding: 0 0 100px;
}

.promotions__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 37px;
    color: rgba(48, 67, 105, 0.3);
    font-size: 14px;
}

.promotions__breadcrumbs a:hover,
.promotions__breadcrumbs span:last-child {
    color: var(--accent-color);
}

.promotions__intro,
.promotions__special-intro {
    display: grid;
    grid-template-columns: 464px minmax(0, 846px);
    gap: 50px;
    align-items: center;
}

.promotions__title,
.promotions__special-intro h2 {
    margin: 0;
    color: var(--main-color);
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 55px;
    font-weight: 500;
    line-height: 1;
}

.promotions__intro > p,
.promotions__special-intro > p {
    max-width: 846px;
    font-size: 19px;
    line-height: 1.35;
}

.promotions__list {
    display: grid;
    gap: 30px;
    margin-top: 38px;
}

.promotions__special-intro {
    margin-top: 98px;
}

.promotion-card {
    display: grid;
    min-height: 291px;
    grid-template-columns: 427px minmax(0, 1fr);
    gap: 30px;
    padding: 30px;
    border-radius: 8px;
    background: #ecf6fe;
}

.promotion-card--outline {
    border: 2px solid var(--accent-color);
    padding: 28px;
    background: #fff;
}

.promotion-card__summary,
.promotion-card__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
}

.promotion-card__title {
    max-width: 427px;
    margin: 0;
    color: var(--main-color);
    font-size: 25px;
    font-weight: 500;
    line-height: 1.25;
}

.promotion-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    margin-bottom: auto;
}

.promotion-card__tag {
    padding: 10px;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1;
}

.promotion-card__tag.whom1 {
    background: #fde7d7;
}

.promotion-card__tag.whom2 {
    background: rgba(139, 180, 226, 0.3);
}

.promotion-card__tag.whom3 {
    background-color: #E1F8DB;
}

.promotion-card__prices {
    display: flex;
    align-items: flex-end;
    gap: 20px; 
    color: var(--main-color);
}

.promotion-card__prices strong {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.15;
}

.promotion-card__prices del {
    padding-bottom: 4px;
    opacity: 0.4;
    font-size: 25px;
    line-height: 1.25;
}

.promotion-card__timer {
    margin-top: 5px;
    font-size: 16px;
    line-height: 1.25;
}

.promotion-card__timer strong,
.promotion-card__limited {
    color: #ff3636;
    font-weight: 500;
}

.promotion-card__content h3 {
    margin: 0;
    color: var(--main-color);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
}

.promotion-card__content > p { 
    margin-bottom: 24px; 
    line-height: 1.25;
}
.promotion-card__content strong { 
    font-weight: 500;
}

.promotion-card__content  a {
    color: var(--accent-color);
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

 

.promotion-card__button {
    display: flex;
    width: 100%;
    height: 56px;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: auto;
    border: 0;
    border-radius: 8px;
    background: radial-gradient(ellipse 120% 230% at 13% 18%, #304369 0%, #48649c 50%, #5f84cf 100%);
    color: #fffdf9;
    cursor: pointer;
    font: 500 19px/1 'IBM Plex Sans', sans-serif;
}

.promotion-card__button img {
    width: 18px;
    height: 13px;
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

.promotion-card__button:hover img {
    transform: rotate(180deg) translateX(-5px);
}

.promotion-card__conditions {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.promotion-card__conditions,
.promotion-card__content > ul {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}


.promotion-card__content > ul li {
    position: relative;
    padding-left: 30px;
    font-size: 16px;
    line-height: 1.25;
}


.promotion-card__content > ul li::before {
    position: absolute;
    top: 2px;
    left: 0;
    width: 15px;
    height: 15px;
    background: url('img/check.svg') center / contain no-repeat;
    content: '';
}
 

.promotion-card__gift {
    margin-top: 10px;
    color: var(--main-color); 
    line-height: 1.25;
}

.promotion-card__limited {
    margin-top: 12px; 
    line-height: 1.25;
}
/* promotions-page end */


/* footer start */
.footer {
    margin-top: -10px; 
    overflow: hidden;
    background: linear-gradient(51.508deg, #304369 67.801%, #5F84CF 112.69%);
    color: #FFFDF9;
}

.footer__container {
    padding: 130px 0px 85px;
}

.footer__navigation {
    display: grid;
    grid-template-columns: 494px 342px minmax(0, 1fr);
}

.footer__heading {
    margin-bottom: 24px;
    color: #FFFDF9;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
}

.footer__services li {
    font-size: 16px;
    line-height: 1.45;
}

.footer__links {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.57;
}

.footer a {
    transition: color 0.2s ease;
}

.footer a:hover {
    color: var(--accent-color);
}

.footer__line {
    width: calc(100% + 40px);
    height: 1px;
    margin-top: 38px;
    margin-left: -20px;
}

.footer__bottom {
    display: grid;
    grid-template-columns: 494px 342px minmax(0, 1fr);
    padding-top: 19px;
    gap: 50px;
    gap: 10px;
}

.footer__info a {
    color: rgba(255, 255, 255, .5);
    font-size: 14px;
    transition: all .3s;
    line-height: 1;
}

.footer__info a:hover {
    color: rgba(255, 255, 255, 1); 
}

.footer__info {
    display: grid;
    grid-template-columns: 494px 342px minmax(0, 1fr);
    padding-top: 45px;
    gap: 10px;
    align-items: end;
}

 

.footer__info-col {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.footer__logo {
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 55px;
    font-weight: 500;
    line-height: 1.36;
}

.footer__brand > p:last-child {
    margin-top: 17px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
}

.footer__communication {
    padding-top: 10px;
}

.footer__phone {
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.25;
}

.footer__socials {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.footer__socials img {
    width: 40px;
    height: 40px;
    transition: all .3s;
}
.footer__socials a:hover img {
    transform: rotate(360deg);
}

.footer__policy {
    display: inline-block;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.25;
}

.footer__legal {
    padding-top: 10px;
    font-size: 14px;
    line-height: 1.35;
}

.footer__legal p + p {
    margin-top: 30px;
}
/* footer end */

.modal:not(.fancybox-content) {
    display: none;
}

.modal {
    padding: 30px;
    background: #ECF6FE;
    border-radius: 8px;
    width: 100%;
    max-width: 900px;
}

#thanks {
    background: #fff;
    padding: 100px 30px;
}

.thanks-icon {
    text-align: center;
    margin-bottom: 30px;
}

.modal-title {
    text-align: center;
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 25px;
    color: var(--main-color);
}

.modal-title + p {
    max-width: 340px;
    text-align: center;
    margin: 0 auto;
}
.modal .lawyer-consultation__subtitle{
    margin-bottom: 30px;
}
.fancybox-slide--html .fancybox-close-small {
    color: #304369;
    padding: 5px;
    right: 5px;
    top: 5px;
}

.page-content {
    padding-bottom: var(--padding-bt);
}

/* franchise-page start */

.franchise-hero {
    margin-bottom: 60px;
}

.franchise-hero__panel {
    position: relative;
    display: grid;
    height: 560px;
    overflow: hidden;
    border-radius: 8px;
    color: #fffdf9;
}

.franchise-hero__background {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.franchise-hero__body {
    z-index: 1;
    display: flex;
    grid-area: 1 / 1;
    align-items: flex-start;
    padding: 30px;
    flex-direction: column;
}

.franchise-hero__content {
    width: 675px;
}

.franchise-hero__content p {  
    font-size: 19px;    
    margin-bottom: 50px;
}

.franchise-hero__facts {
    display: grid;
    grid-template-columns: 240px 240px;
    gap: 20px;
}

.franchise-hero__facts li {
    display: flex;
    align-items: center;
    gap: 20px;   
}

.franchise-hero__facts li > span {
    white-space: nowrap;
}

.franchise-hero__fact-icon {
    display: block;
    flex: 0 0 67px;
    width: 67px;
    height: 67px;
}

.franchise-hero__founder {
    position: absolute;
    z-index: 3;
    top: 246px;
    left: 649px;
    display: flex;
    width: 185px;
    flex-direction: column;
    gap: 16px;
    color: #fffdf9; 
}

.franchise-hero__founder strong {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.2;
}

.white-button { 
    height: 56px; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    border: 0;
    gap: 15px;
    border-radius: 8px;
    background-color: #FFFDF9;
    color: var(--main-color);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1;
    transition: transform 0.2s ease;
}

.white-button svg {
    width: 28px;
    height: 20px;
    transition: transform 0.2s ease;
}

.white-button:hover {
    background: #B9D0EA;
}

.white-button:hover svg{
    transform: translateX(6px);
}

.franchise-hero__button { 
    margin-top: auto;
}

.block-title {
    margin-bottom: 25px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.15; 
}

.block-title strong {
    font-weight: 600;
}


.franchise-intro {
    padding-bottom: var(--padding-bt);
}

.franchise-intro h2 { 
    margin-bottom: 80px; 
}

.franchise-intro__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 15px;
}

.franchise-intro__grid article {
    min-height: 351px;
    border-radius: 8px;
    padding: 30px;
}

.big {
    font-size: 25px;
    font-weight: 600;
} 

.blue {
    color: #C1DCFB;
    
}

.franchise-intro__lead {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--main-color);
    color: #fff;
    font-size: 19px;
}
 
.franchise-intro__card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 2px solid var(--accent-color);
}
 
.franchise-intro__card p {
    font-size: 19px;
    font-weight: 500;
    color: var(--main-color);
}

.franchise-intro__card span {
    display: grid;
    width: 120px;
    height: 120px;
    align-self: flex-end;
    place-items: center; 
}

.franchise-quote {
    padding: 50px 0;
    background: #ecf6fe;
    margin-bottom: var(--padding-bt);
}

.franchise-quote__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: start;
}

.franchise-quote__mark {
    color: var(--accent-color);
    font: 600 120px/0.8 'Ubuntu', sans-serif;
}

.franchise-quote blockquote { 
    color: var(--main-color);
    font-family: 'Ubuntu', 'IBM Plex Sans', sans-serif;
    font-size: 55px;
    font-weight: 500;
    line-height: 1.15;
}

.franchise-quote blockquote span {
    color: var(--accent-color);
}

.franchise-advantages {
    padding-bottom: var(--padding-bt);
} 

.franchise-advantages h2 {
    margin-bottom: 50px;
}
 
.franchise-advantages__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.franchise-advantages__grid article { 
    padding: 30px;
    border-radius: 8px;
    background: var(--main-color);
    color: #fff;
}

.franchise-advantages__grid h3 {
    margin-bottom: 50px;
    color: var(--accent-color);
    font-size: 25px;
    font-weight: 500;
    min-height: 65px;
}

.franchise-advantages__grid p { 
    font-size: 19px; 
}

.franchise-advantages__grid p + p {
    margin-top: 25px;
}

.franchise-advantages__grid ul {
    margin-top: 20px;
    padding-left: 20px;
}

.franchise-advantages__grid li {
    list-style: disc;
    font-size: 16px; 
}

.dark {
    font-size: 25px;
    font-weight: 500;
    color: #304369;
}

.numbered-list {
    counter-reset: numbered-list;
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: 19px;
    padding-left: 0px!important;
}

.numbered-list li {
    position: relative;
    padding-left: 34px;
    counter-increment: numbered-list;
    list-style: none!important;
    margin-top: 0!important;
}

.numbered-list li::before {
    content: counter(numbered-list);
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 600;
}


.franchise-audience  {
    padding-bottom: 60px;
}


.franchise-audience article  .big {
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 25px;
    color: var(--main-color);
}

.franchise-audience__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.franchise-audience article { 
    padding: 25px 30px;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    font-size: 19px;
    
}

.franchise-price {
    padding: 40px 0;
    background: #ecf6fe;
}

.franchise-price__inner {
    display: grid;
    grid-template-columns: 1fr 418px;
    gap: 35px;
}

.franchise-price__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.franchise-primary-button {
    width: 297px;
    height: 70px;
    background: linear-gradient(110deg, #304369, #5f84cf);
    color: #fff;
}

.franchise-price__card {
    min-height: 289px;
    padding: 30px;
    border-radius: 8px;
    background: #fff;
}

.franchise-price__card h3 {
    font-size: 19px;
    font-weight: 500;
}

.franchise-price__tags {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.franchise-price__tags span {
    padding: 10px;
    border-radius: 4px;
    background: #fde7d7;
}

.franchise-price__tags span + span {
    background: rgba(139, 180, 226, 0.3);
}

.franchise-price__total {
    display: flex;
    justify-content: space-between;
    margin-top: 138px;
    padding-top: 15px;
    border-top: 1px solid #cad4df;
}

.franchise-price__total strong {
    font-weight: 400;
}

 
.franchise-callout h2 {
    margin-bottom: 0;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: 0;
}
 
   
.franchise-callout {
    padding-top: 100px;
}

.franchise-comparison { 
    padding-bottom: var(--padding-bt);
}
 .franchise-comparison h2 { 
    line-height: 1;
}

.franchise-comparison__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 15px;
}

.franchise-comparison__card {
    display: grid;
    grid-row: span 7;
    grid-template-rows: subgrid;
    min-width: 0;
    padding: 30px 28px 20px;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
}

.franchise-comparison__card--accent {
    background: #ecf6fe;
}

.franchise-comparison__card h3 {
    margin-bottom: 16px;
    color: var(--main-color);
    font-size: 25px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -1px;
}

.franchise-comparison__card dl {
    display: contents;
}

.franchise-comparison__card dl > div {
    min-height: 81px;
    padding: 20px 0;
    border-top: 1px solid #cbe0f7;
}

.franchise-comparison__card dl > div:first-child {
    min-height: 164px;
    border-top: 0;
}

.franchise-comparison__card dl > div:nth-child(2) {
    min-height: 124px;
}

.franchise-comparison__card dl > div:nth-child(4) {
    min-height: 144px;
}

.franchise-comparison__card dl > div:last-child {
    padding-bottom: 0;
}

.franchise-comparison__card dt {
    margin-bottom: 15px;
    color: var(--accent-color);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
}

.franchise-comparison__card dd {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #121212;
    font-size: 16px;
    line-height: 1.25;
}

.franchise-comparison__card dd + dd {
    margin-top: 10px;
}

.franchise-comparison__card dd::before {
    content: '';
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    margin-top: 2px;
    background: url('img/comparison-empty.svg') center / contain no-repeat;
}

.franchise-comparison__card--accent dd::before {
    background-image: url('img/comparison-check.svg');
}
 
.franchise-callout {
    padding-bottom: var(--padding-bt);
}

.franchise-callout h2 {
    margin-bottom: 30px; 
}

.franchise-callout p {
    max-width: 760px;
    font-size: 17px;
}

.franchise-price .btn {
    max-width: 300px;
}
 
/* franchise-page end */

/* franchise-course start */

.course {
    padding-bottom: var(--padding-bt)
}

.course__intro {
    color: var(--main-color);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.25;    
    margin-bottom: 40px;
}

.course__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.course__list li {
    display: flex;
    align-items: center;
    gap: 30px;
    min-height: 183px;
    padding: 30px;
    border-radius: 8px;
    background: #f9fbfd;
}

.course__list img {
    flex: 0 0 123px;
    width: 123px;
    height: 123px;
}

.course__list p {
    min-width: 0;  
}
/* franchise-course end */

.btn {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
    border-radius: 8px;
    background: radial-gradient(ellipse 120% 230% at 13% 18%, #304369 0%, #48649C 50%, #5F84CF 100%);
    color: #FFF;
    font-size: 25px;
    font-weight: 500;
    border: 0;
}

.btn img {
    width: 28px;
    height: 20px; 
    transition: transform 0.2s ease;
}

.btn:hover img {
    transform: translateX(6px);
}

.ul-line {
    display: grid;
    gap: 24px;
    margin: 0 0 25px;
    padding: 0 0 0 20px;
    list-style: none;  
}

.ul-line li {
    position: relative;
}

.ul-line li::before {
    position: absolute;
    top: 0;
    left: -30px;
    content: '—';
}

.team-members2 {
    padding-bottom: 40px;
}

.lawyer-consultation__contact-methods {
    margin: 14px 0 0;
    padding: 0;
    border: 0;
    color: var(--main-color);
}

.lawyer-consultation__contact-methods legend {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.lawyer-consultation__contact-options {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.lawyer-consultation__contact-options label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--main-color);
    font-size: 14px;
    line-height: 21px;
    cursor: pointer;
}

.lawyer-consultation__contact-options input:checked {
    border: 5px solid #FFFDF9;
    background-color: var(--accent-color);
}

.lawyer-consultation__contact-options input {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    margin: 0;
    appearance: none;
    border: 1px solid rgba(48, 67, 105, 0.3);
    border-radius: 50%;
    background-color: #FFFDF9;
    cursor: pointer;
}

/* step-form start */
.step-form {
    min-height: 628px;
    padding: 40px 0 38px;
    background-color: #ECF6FE;
    margin-bottom: var(--padding-bt);
}

.step-form__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 219px;
    gap: 74px;
    align-items: start;
}

.step-form__header h2 {
    max-width: 1067px;
    margin: 0;
    color: var(--main-color);
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -1.6px;
}

.step-form__header h2 strong {
    font-weight: 600;
}

.step-form__header > p {
    color: var(--accent-color);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
}

.step-form__form {
    margin-top: 38px;
}

.step-form__panel {
    display: grid;
    grid-template-columns: 332px 487px;
    gap: 182px;
    align-items: start;
}

.step-form__panel--wide {
    grid-template-columns: 332px minmax(0, 826px);
}

.step-form__panel[hidden] {
    display: none;
}

.step-form__progress {
    position: relative;
    width: 332px;
    height: 332px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--accent-color) var(--step-progress), #FFFDF9 0);
}

.step-form__progress::before {
    position: absolute;
    inset: 4px;
    border-radius: inherit;
    background-color: #ECF6FE;
    content: '';
}

.step-form__progress-value {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
}

.step-form__progress-value strong {
    color: var(--accent-color);
    font-size: 55px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -1.1px;
}

.step-form__progress-value span {
    margin-top: 8px;
    font-size: 16px;
}

.step-form__question {
    min-width: 0;
    padding: 0;
    border: 0;
}

.step-form__question legend {
    display: grid;
    color: #121212;
}

.step-form__question legend span {
    font-size: 16px;
}

.step-form__question legend strong {
    margin-top: 20px;
    color: var(--main-color);
    font-size: 19px;
    font-weight: 600;
}

.step-form__options.lawyer-consultation__agreements {
    row-gap: 20px;
    margin-top: 35px;
}

.step-form__option.lawyer-consultation__agreement {
    color: var(--main-color);
    font-size: 19px;
    line-height: 1.2;
}

.step-form__next.lawyer-consultation__submit {
    height: 54px;
    margin-top: 72px;
    background: #8BB4E2;
    font-size: 19px;
}

.step-form__panel--wide .step-form__next {
    width: 487px;
    max-width: 100%;
}

.step-form__panel--compact .step-form__next {
    margin-top: 34px;
}

.step-form__panel--contact {
    grid-template-columns: 332px minmax(0, 846px);
    gap: 142px;
}

.step-form--complete {
    min-height: 772px;
    padding: 40px 0;
}

.step-form--complete .step-form__header {
    display: none;
}

.step-form--complete .step-form__form {
    margin-top: 0;
}

.step-form__result-summary {
    margin-top: 35px;
}

.step-form__result-summary h3 {
    margin: 0 0 24px;
    color: var(--main-color);
    font-size: 25px;
    font-weight: 600;
    line-height: 1.25;
}

.step-form__result-item {
    display: grid;
    grid-template-columns: 114px 191px;
    gap: 60px;
    align-items: center;
}

.step-form__result-item + .step-form__result-item {
    margin-top: 20px;
}

.step-form__result-item > span {
    width: 114px;
    height: 114px;
    display: grid;
    place-items: center;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
}

.step-form__result-item p {
    margin: 0;
    font-size: 19px;
    line-height: 1.35;
}

.step-form__contact h2 {
    max-width: 826px;
    margin: 0;
    color: var(--main-color);
    font-size: 40px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -1.6px;
    font-family: 'IBM Plex Sans', sans-serif;
}

.step-form__contact h2 strong {
    font-weight: 600;
}

.step-form__contact > p {
    margin: 17px 0 0;
    color: var(--main-color);
    font-size: 16px;
}

.step-form__contact .lawyer-consultation__contact-methods {
    margin-top: 0;
}

.step-form__contact-options {
    width: min(100%, 600px);
    display: grid;
    grid-template-columns: repeat(3, max-content);
    justify-content: space-between;
}

.step-form__contact-options input {
    border-color: var(--accent-color);
    border-radius: 4px;
}

.step-form__fields {
    display: grid;
    row-gap: 10px;
    margin-top: 20px;
}

.step-form__building {
    margin-top: 7px;
    font-size: 16px;
}

.step-form__agreements {
    margin-top: 36px;
}

.step-form__agreements a {
    color: var(--accent-color);
    text-decoration: underline;
}

.step-form__contact .lawyer-consultation__submit {
    margin-top: 14px;
}

@media screen and (max-width: 1199px) {
    .step-form__header {
        grid-template-columns: minmax(0, 1fr) 200px;
        gap: 45px;
    }

    .step-form__header h2 {
        font-size: 36px;
    }

    .step-form__panel {
        grid-template-columns: 300px minmax(0, 460px);
        gap: 100px;
    }

    .step-form__panel--wide {
        grid-template-columns: 300px minmax(0, 1fr);
    }

    .step-form__progress {
        width: 300px;
        height: 300px;
    }

    .step-form__panel--contact {
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 100px;
    }

    .step-form__result-item {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 20px;
    }

    .step-form__result-item > span {
        width: 100px;
        height: 100px;
    }

    .step-form__contact h2 {
        font-size: 34px;
    }
}

@media screen and (max-width: 991px) {
    .step-form {
        min-height: 0;
        padding: 60px 0;
    }

    .step-form__header {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .step-form__header > p {
        max-width: 280px;
    }

    .step-form__panel {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 50px;
    }

    .step-form__panel--wide {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .step-form__progress {
        width: 260px;
        height: 260px;
    }

    .step-form__progress-value strong {
        font-size: 46px;
    }

    .step-form__next.lawyer-consultation__submit {
        margin-top: 50px;
    }

    .step-form__panel--contact {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 50px;
    }

    .step-form__result-item {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .step-form__result-item > span {
        width: 90px;
        height: 90px;
    }

    .step-form__result-item p {
        font-size: 17px;
    }

    .step-form__contact h2 {
        font-size: 30px;
    }
}

@media screen and (max-width: 767px) {
    .step-form__header h2 {
        font-size: 30px;
        letter-spacing: 0;
    }

    .step-form__form {
        margin-top: 35px;
    }

    .step-form__panel {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .step-form__panel--wide {
        grid-template-columns: 1fr;
    }

    .step-form__progress {
        width: 220px;
        height: 220px;
        justify-self: center;
    }

    .step-form__progress-value strong {
        font-size: 40px;
    }

    .step-form__options.lawyer-consultation__agreements {
        margin-top: 28px;
    }

    .step-form__option.lawyer-consultation__agreement {
        align-items: flex-start;
        font-size: 17px;
    }

    .step-form__next.lawyer-consultation__submit {
        margin-top: 40px;
    }

    .step-form__panel--contact {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .step-form__result-summary {
        margin-top: 30px;
    }

    .step-form__result-summary h3 {
        font-size: 22px;
    }

    .step-form__result-item {
        grid-template-columns: 90px minmax(0, 220px);
        gap: 24px;
    }

    .step-form__contact-options {
        width: 100%;
    }

    .step-form__building {
        align-items: flex-start;
    }
}

@media screen and (max-width: 450px) {
    .step-form {
        padding: 45px 0;
    }

    .step-form__header h2 {
        font-size: 26px;
    }

    .step-form__progress {
        width: 180px;
        height: 180px;
    }

    .step-form__progress-value strong {
        font-size: 36px;
    }

    .step-form__question legend strong {
        font-size: 18px;
    }

    .step-form__contact h2 {
        font-size: 26px;
    }

    .step-form__contact-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .step-form__option.lawyer-consultation__agreement {
        font-size: 16px;
    }
}
/* step-form end */
