/* The theme loads this sheet only above its desktop breakpoint. */
body {
    --av-wide-content: 1520px;
    --av-wide-gutter: clamp(28px, 4vw, 72px);
}

.av-container,
.av-header__inner,
.av-hero__content {
    max-width: var(--av-wide-content);
    padding-inline: var(--av-wide-gutter);
}

.av-header__inner {
    min-height: 88px;
}

.av-hero {
    background-attachment: scroll;
}

.av-hero:not(.av-hero--single) .av-hero__content {
    grid-template-columns: minmax(0, 1.28fr) minmax(350px, 0.88fr);
    gap: clamp(32px, 4.1vw, 76px);
    padding-block: clamp(110px, 9.5vw, 154px) clamp(46px, 6vw, 92px);
}

.av-hero__title {
    font-size: clamp(2.7rem, 3.65vw, 4.2rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.av-hero__logo {
    height: clamp(60px, 5vw, 80px);
    margin-bottom: 20px;
}

.av-hero__subtitle {
    max-width: 62ch;
    margin-bottom: 28px;
    color: #eef4fa;
    font-size: clamp(1.05rem, 1.45vw, 1.3rem);
    line-height: 1.56;
}

.av-hero__btns {
    gap: 12px;
    margin-bottom: 30px;
}

.av-hero__btns .av-btn {
    padding-inline: clamp(19px, 2vw, 32px);
}

.av-hero__facts {
    gap: 10px;
}

.av-hero__fact {
    padding: 10px 14px;
}

.av-hero__card {
    width: 100%;
    max-width: 530px;
    justify-self: end;
    padding: clamp(26px, 3vw, 44px);
    background: rgba(10, 37, 64, 0.87);
    border-color: rgba(207, 225, 242, 0.3);
    box-shadow: 0 24px 65px rgba(2, 19, 34, 0.32);
}

.av-hero__card input::placeholder {
    color: #e2ebf5;
    opacity: 1;
}

.av-hero__card .form-note {
    color: #d7e3ef;
}

.av-section-title {
    font-size: clamp(2.3rem, 3.1vw, 3.35rem);
    line-height: 1.12;
}

.av-section-subtitle {
    font-size: 1.12rem;
}

.home .av-section[id] {
    scroll-margin-top: 40px;
}

#calc .nc-wall label {
    display: block;
    margin-bottom: 6px;
    color: var(--navy);
    font-weight: 700;
    font-size: 0.9rem;
}

#calc .nc-wall input {
    width: 100%;
    min-height: 46px;
    padding: 8px 12px;
    border: 2px solid #e8ecf0;
    border-radius: 12px;
    background: #fff;
    color: var(--navy);
    font: inherit;
}

#calc .nc-wall input:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

.av-services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 2.4vw, 42px);
}

.av-service-card__img {
    height: clamp(198px, 17.5vw, 290px);
}

.av-service-card__body {
    padding: clamp(22px, 2.4vw, 34px);
}

.av-service-card__title {
    font-size: clamp(1.25rem, 1.58vw, 1.62rem);
    line-height: 1.25;
}

.av-service-card__text {
    font-size: 1rem;
    color: #3e5061;
}

.av-hero--single .av-hero__content {
    grid-template-columns: minmax(0, 880px);
    gap: 0;
    padding-block: clamp(130px, 11vw, 170px) clamp(55px, 8vw, 100px);
}

.av-hero--single .av-hero__price {
    display: inline-block;
    margin: 0 0 14px;
    padding: 8px 17px;
    border: 1px solid rgba(255, 220, 193, 0.6);
    border-radius: 12px;
    background: rgba(10, 37, 64, 0.9);
    color: #ffe0c9;
    font-size: clamp(1.14rem, 1.6vw, 1.45rem);
    font-weight: 750;
}

.av-hero--single .av-hero__btns {
    margin-bottom: 0;
}

.av-single__content {
    padding-block: clamp(54px, 6vw, 94px);
}

.av-single__post-content {
    font-size: 1.06rem;
    line-height: 1.7;
}

section.inner .wrapper {
    max-width: var(--av-wide-content);
}

section.inner .content {
    max-width: none;
    padding-inline: var(--av-wide-gutter);
}

/* The forest landing is rendered through the theme's generic WordPress page. */
.av-forest-layout .main_bg {
    height: clamp(320px, 32vw, 480px);
    background-position: center 46%;
}

.av-forest-layout .main_bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 37, 64, 0.96), rgba(10, 37, 64, 0.61) 61%, rgba(10, 37, 64, 0.17));
}

.av-forest-layout section.inner {
    position: relative;
    padding: clamp(38px, 4vw, 62px) 0 clamp(58px, 7vw, 106px);
    background: #f5f7fa;
}

.av-forest-layout section.inner > h1 {
    position: absolute;
    inset: auto 0 calc(100% + clamp(32px, 5vw, 74px));
    max-width: var(--av-wide-content);
    margin: 0 auto;
    padding-inline: var(--av-wide-gutter);
    color: var(--white);
    font-size: clamp(2.95rem, 4.8vw, 5rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    text-align: left;
    text-wrap: balance;
    text-shadow: 0 6px 24px rgba(0, 15, 29, 0.36);
}

.av-forest-layout section.inner .content {
    color: #34495c;
    font-size: 1.11rem;
    line-height: 1.66;
}

.av-forest-layout section.inner .content > p {
    max-width: 76ch;
    margin-bottom: 18px;
}

.av-forest-layout section.inner .content > p a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.av-forest-layout section.inner .content > p .av-btn {
    margin: 0 10px 8px 0;
    text-decoration: none;
}

.av-forest-layout section.inner .content > h2,
.av-forest-catalog > h2,
.av-forest-request h2 {
    margin: 0 0 15px;
    color: var(--navy);
    font-size: clamp(1.65rem, 2.75vw, 2.55rem);
    line-height: 1.14;
    letter-spacing: -0.025em;
}

.av-forest-layout section.inner .content > h2 {
    margin-top: 40px;
}

.av-forest-layout section.inner .content > ol {
    max-width: 76ch;
    padding-left: 1.45em;
    list-style: decimal;
}

.av-forest-layout section.inner .content > ol li {
    margin-bottom: 8px;
    padding-left: 0.4em;
}

.av-forest-catalog {
    --av-forest-catalog-offset: 54px;
    margin: 54px 0 35px;
    padding: 0;
    background: transparent;
}

.av-forest-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 2.6vw, 44px);
    margin-top: 25px;
}

.av-forest-option {
    overflow: hidden;
    border: 1px solid #dfe6ee;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(10, 37, 64, 0.09);
}

.av-forest-option::before {
    display: block;
    height: clamp(190px, 20vw, 326px);
    content: "";
    background: #233d56 var(--av-forest-photo, none) center / cover no-repeat;
}

.av-forest-option__body {
    display: grid;
    gap: 9px;
    padding: clamp(22px, 2.8vw, 38px);
}

.av-forest-option h3 {
    color: var(--navy);
    font-size: clamp(1.34rem, 2.1vw, 1.95rem);
    line-height: 1.18;
}

.av-forest-option h3 a {
    text-decoration: underline;
    text-decoration-color: #a7b8c8;
    text-underline-offset: 4px;
}

.av-forest-option h3 a:hover,
.av-forest-option h3 a:focus-visible {
    color: #ad4300;
    text-decoration-color: currentColor;
}

.av-forest-option__price {
    color: #a33a00;
    font-size: 1.2rem;
}

.av-forest-catalog__note {
    margin-top: 18px;
}

.av-forest-request {
    max-width: 900px;
    margin: 48px 0 0;
    padding: clamp(26px, 4vw, 54px);
    border: 1px solid #dfe6ee;
    background: #fff;
}

.av-forest-request > p {
    margin-bottom: 20px;
}

.av-forest-request .form-note {
    margin-top: 12px;
}

@media (min-width: 1200px) {
    .av-forest-layout section.inner .content {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(390px, 0.56fr);
        column-gap: clamp(28px, 4vw, 62px);
    }

    .av-forest-layout section.inner .content > * {
        grid-column: 1 / -1;
    }

    .av-forest-layout section.inner .content > p:first-of-type,
    .av-forest-layout section.inner .content > p:nth-of-type(2) {
        align-self: center;
        margin-bottom: 0;
    }

    .av-forest-layout section.inner .content > p:first-of-type {
        grid-column: 1;
    }

    .av-forest-layout section.inner .content > p:nth-of-type(2) {
        display: flex;
        grid-column: 2;
        gap: 12px;
        justify-self: end;
        flex-wrap: wrap;
    }

    .av-forest-layout section.inner .content > p:nth-of-type(2) .av-btn {
        margin: 0;
    }
}
