/* Hide all area content initially */
.gv-area-section { display: none; }
.gv-area-section.is-active { display: block; }

.gv-areas {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:40px;
}

.gv-acc__item { margin-bottom:10px; }

.gv-acc__toggle {
    width:100%;
    border:none;
    text-align:left;
    display:flex;
    justify-content:space-between;
    cursor:pointer;
    border-bottom: 7px solid #A5DBC3;
    padding-bottom: 60px;
}


.gv-area-section {
    display: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .25s ease, transform .25s ease;
}

.gv-area-section.is-active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.gv-areas{
    display:flex;
    gap:48px;
    justify-content:center;
    flex-wrap: no-wrap;
    margin: 24px 0 40px;
}

.gv-area-card{
    width: 220px;
    height: 210px;
    position: relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    color:#0b6b4a;
    outline: none;
}

.gv-area-card > *{
    position: relative;
    z-index: 2;
}

.gv-area-card__small{
    font-size: 14px;
    font-weight: 600;
    opacity:.9;
    margin-bottom: 8px;
    color:#178A63;
}

.gv-area-card__title{
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    text-align:center;
    max-width: 160px;
    color:#178A63;
}

/* hover */
.gv-area-card:hover::before{
    background:#EAF8F2;
    transform: translateY(-2px);
    transition: transform .2s ease, background .2s ease;
}
.gv-area-card:hover::after{
    transform: translateY(2px);
    transition: transform .2s ease;
}

/* active (когда выбран) */
.gv-area-card.is-active::before{
    background:#178A63;
}
.gv-area-card.is-active .gv-area-card__small,
.gv-area-card.is-active .gv-area-card__title{
    color:#fff;
}


.gv-area-card {
    position: relative;
    display: block;
    width: 300px;
    height: 300px;
    text-decoration: none;
}

.gv-area-card__bg {
    position: absolute;
    inset: 0;
}

.gv-area-card__shadow,
.gv-area-card__shape {
    position: absolute;
    width: 100%;
    height: 100%;
}

.gv-area-card__shadow {
    transform: translateY(10px);
}

.gv-area-card__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    z-index: 2;
}

.gv-area-card__bg .gv-area-card__shadow {
    max-width: 100%;
    width: 195px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    top: 30%;
}

.gv-area-card__bg .gv-area-card__shape {
    max-width: 100%;
    margin: 0 auto;
}

/* Panels hidden by default */
.gv-acc__panel{
    display:none;
}

.gv-acc__title {
    font-family: "Aileron";
    font-weight: 700;
    font-size: 40px;
    line-height: 120%;
    color: #169B62;
    margin-bottom: 30px;
}

.gv-acc__desc {
    font-family: "Aileron";
    font-weight: 700;
    font-size: 20px;
    line-height: 160%;
    color: #003F2A;
}

.gv-area-section__title {
    margin-top: 100px;
    margin-bottom: 75px;
}

.gv-acc__item + .gv-acc__item {
    margin-top: 60px;
}

/* Open state */
.gv-acc__item.is-open > .gv-acc__panel{
    display:block;
}

/* Rotate arrow when open */
.gv-acc__item.is-open .gv-acc__arrow::before{
    transform: translate(-50%,-50%) rotate(-135deg);
}

.gv-acc__left {
    width: 100%;
    max-width: 924px;
}

.gv-area-card__arrow {
    transition: all 400ms ease-in-out;
}

.gv-acc__item.is-open .gv-area-card__arrow  {
    transform: rotate(-180deg);
}

.gv-acc__item.is-open .gv-acc__toggle {
    border-bottom: none;
}

.gv-acc__item.is-open .gv-acc__section .gv-acc__section-title {
    font-family: "Aileron";
    font-weight: 700;
    font-size: 40px;
    line-height: 120%;
    color: #169B62;
    margin-bottom: 30px;
}

.gv-acc__item.is-open .gv-acc__section .gv-acc__section-body {
    font-family: "Aileron";
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: #003F2A;
    margin-bottom: 50px;
}


.gv-acc__item.is-open .gv-acc__section .gv-acc--child[data-depth="2"] .gv-acc__item {
    border: 1px solid #169B62;
    border-radius: 8px;
    padding: 25px;
}

.gv-acc__item.is-open .gv-acc__section .gv-acc--child[data-depth="2"] .gv-acc__item .gv-acc__toggle {
    padding: 0px;
}

.gv-acc__item.is-open .gv-acc__section .gv-acc--child[data-depth="2"] .gv-acc__item .gv-acc__toggle .gv-acc__title {
    margin-bottom: 0px;
    color: #003F2A;
    font-family: "Aileron";
    font-weight: 700;
    font-size: 18px;
    line-height: 160%;
}

.gv-acc__item.is-open .gv-acc__section .gv-acc--child[data-depth="2"] .gv-acc__item .gv-acc__panel .gv-acc__body p{
    font-family: "Aileron";
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    color: #003F2A;
    margin-bottom: 0px;
    margin-top: 5px;
}

.gv-acc__item.is-open .gv-acc__section .gv-acc--child[data-depth="2"] .gv-acc__item .gv-acc__panel .gv-acc__body {
    width: 100%;
    max-width: 950px;
}

.gv-acc__item.is-open .gv-acc__section .gv-acc--child[data-depth="2"] .gv-acc__item .gv-acc__toggle .gv-acc__arrow {
   position: relative;
    background-color: #169B62;
    border-radius: 4px;
    width: 42px;
    height: 42px;
    padding: 10px;
    opacity: 1;
    transition: opacity 400ms ease-in-out;
}

.gv-acc__item.is-open .gv-acc__section .gv-acc--child[data-depth="2"] .gv-acc__item .gv-acc__toggle .gv-acc__arrow::before {
    content: "";
    position: absolute;
    width: 50%;
    height: 1px;
    background-color: white;
    top: 50%;
    transform: translateY(-50%);
}

.gv-acc__item.is-open .gv-acc__section .gv-acc--child[data-depth="2"] .gv-acc__item .gv-acc__toggle .gv-acc__arrow::after {
    content: "";
    position: absolute;
    width: 1px;
    height: 50%;
    background-color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gv-acc__item.is-open .gv-acc__section .gv-acc--child[data-depth="2"] .gv-acc__item.is-open .gv-acc__toggle .gv-acc__arrow::after {
    content: "";
    position: absolute;
    opacity: 0;
}