.ads-page {
    --ads-green: #187a3a;
    --ads-green-dark: #123e26;
    --ads-charcoal: #1c2520;
    --ads-amber: #e8ad3e;
    --ads-line: #d7dfda;
    --ads-muted: #606b64;
    color: #202924;
    padding-bottom: 48px;
}

body.palki-refresh .ads-page > h1 {
    margin-bottom: 22px;
    font-size: 38px;
    font-weight: 700;
}

.ads-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--ads-green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ads-intro {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 450px;
    overflow: hidden;
    padding: 48px;
    border-radius: 6px;
    background-color: var(--ads-charcoal);
    background-image: url('../img/ads-sales-hero-v1.webp');
    background-position: center;
    background-size: cover;
    color: #fff;
}

.ads-intro::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgba(12, 26, 18, .68);
    content: '';
}

.ads-intro__copy {
    width: min(680px, 100%);
}

.ads-intro .ads-kicker {
    color: #f3c66e;
}

body.palki-refresh .ads-intro h2 {
    max-width: 650px;
    margin: 0 0 16px;
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.ads-intro__copy > p {
    max-width: 620px;
    margin: 0;
    color: #edf2ee;
    font-size: 17px;
    line-height: 1.6;
}

.ads-intro__signals {
    display: grid;
    gap: 8px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.ads-intro__signals li {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    color: #fff;
    font-size: 15px;
}

.ads-intro__signals i {
    color: #f3c66e;
    font-size: 18px;
}

.ads-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.ads-actions .btn {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    min-height: 44px;
    padding-inline: 17px;
    border-radius: 4px;
    font-weight: 700;
}

.ads-actions .btn-success {
    border-color: #24944a;
    background: #24944a;
}

.ads-actions .btn-success:hover,
.ads-actions .btn-success:focus-visible {
    border-color: #1c7a3c;
    background: #1c7a3c;
}

.ads-proof {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: -24px 24px 48px;
    border: 1px solid var(--ads-line);
    background: var(--ads-line);
    box-shadow: 0 10px 24px rgba(24, 46, 32, .1);
}

.ads-proof div {
    display: flex;
    flex-direction: column;
    min-height: 104px;
    padding: 21px;
    background: #fff;
}

.ads-proof strong {
    color: var(--ads-green-dark);
    font-size: 17px;
}

.ads-proof span {
    margin-top: 5px;
    color: #69736d;
    font-size: 14px;
    line-height: 1.4;
}

.ads-section-heading {
    max-width: 760px;
}

body.palki-refresh .ads-section-heading h2 {
    margin: 0 0 12px;
    color: #17231c;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
}

.ads-section-heading p {
    margin: 0;
    color: var(--ads-muted);
    font-size: 16px;
    line-height: 1.55;
}

.ads-goals {
    margin-bottom: 48px;
}

.ads-goals .ads-section-heading {
    margin-bottom: 20px;
}

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

.ads-goal-grid > a {
    display: flex;
    flex-direction: column;
    min-height: 230px;
    padding: 22px;
    border: 1px solid var(--ads-line);
    border-top: 4px solid var(--ads-green);
    border-radius: 6px;
    background: #fff;
    color: #1c2921;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ads-goal-grid > a:hover,
.ads-goal-grid > a:focus-visible {
    border-color: #9db9a6;
    box-shadow: 0 10px 24px rgba(24, 62, 38, .09);
    color: #123e26;
    transform: translateY(-2px);
}

.ads-goal-grid > a > i {
    margin-bottom: 16px;
    color: var(--ads-green);
    font-size: 28px;
}

.ads-goal-grid strong {
    margin-bottom: 8px;
    font-size: 20px;
}

.ads-goal-grid span {
    flex: 1;
    color: var(--ads-muted);
    line-height: 1.5;
}

.ads-goal-grid em {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    margin-top: 18px;
    color: var(--ads-green);
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
}

.ads-case {
    margin: 0 0 52px;
    padding: 32px;
    border-left: 5px solid var(--ads-amber);
    background: var(--ads-charcoal);
    color: #fff;
}

.ads-case .ads-kicker,
.ads-case .ads-section-heading p {
    color: #f3cf87;
}

.ads-case .ads-section-heading h2 {
    color: #fff;
}

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

.ads-case__steps > span {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    min-height: 78px;
    padding: 12px;
    border: 1px solid #526159;
}

.ads-case__steps i {
    grid-row: 1 / 3;
    color: #efbd5f;
    font-size: 21px;
}

.ads-case__steps strong {
    font-size: 14px;
}

.ads-case__steps small {
    color: #c9d3cd;
    line-height: 1.35;
}

.ads-anchor {
    scroll-margin-top: 90px;
}

.ads-offers {
    margin-bottom: 48px;
    scroll-margin-top: 90px;
}

.ads-offers .ads-section-heading {
    position: relative;
    margin-bottom: 20px;
    padding-left: 48px;
}

.ads-section-number {
    position: absolute;
    top: 2px;
    left: 0;
    color: #a5afa9;
    font-size: 18px;
    font-weight: 700;
}

.ads-offer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ads-offer {
    display: flex;
    flex-direction: column;
    min-height: 280px;
    padding: 22px;
    border: 1px solid var(--ads-line);
    border-radius: 6px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.ads-offer:hover {
    border-color: #a8bbae;
    box-shadow: 0 9px 22px rgba(24, 62, 38, .08);
}

.ads-offer__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 15px;
    background: #e7f3ea;
    color: var(--ads-green);
    font-size: 21px;
}

.ads-offer h3 {
    margin: 0 0 9px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.ads-offer p {
    flex: 1;
    margin-bottom: 19px;
    color: #657069;
    line-height: 1.5;
}

.ads-offer__features {
    display: grid;
    gap: 5px;
    margin: -7px 0 18px;
    padding: 0;
    color: #435047;
    font-size: 13px;
    list-style: none;
}

.ads-offer__features li {
    display: flex;
    gap: 6px;
    align-items: flex-start;
}

.ads-offer__features i {
    color: var(--ads-green);
    font-size: 16px;
}

.ads-offer__price {
    display: flex;
    gap: 8px;
    align-items: baseline;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #e4e8e5;
}

.ads-offer__price strong {
    color: #153e27;
    font-size: 19px;
}

.ads-offer__price span {
    color: #7b847f;
    font-size: 12px;
    text-align: right;
}

.ads-offer > a {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    align-self: flex-start;
    margin-top: 15px;
    color: #137934;
    font-weight: 700;
}

.ads-offer > a:hover,
.ads-offer > a:focus-visible {
    color: #0e5f28;
}

.ads-catalog-unavailable {
    margin-bottom: 40px;
    padding: 24px;
    border-left: 4px solid var(--ads-amber);
    background: #f5f7f5;
}

.ads-pricing {
    margin: -12px 0 52px;
    padding: 32px;
    background: #edf4ef;
}

.ads-pricing .ads-section-heading {
    margin-bottom: 22px;
}

.ads-pricing__table-wrap {
    overflow-x: auto;
    border-block: 1px solid #c9d6cd;
    background: #fff;
}

.ads-pricing__table {
    width: 100%;
    min-width: 850px;
    border-collapse: collapse;
}

.ads-pricing__table th,
.ads-pricing__table td {
    padding: 13px 14px;
    border-right: 1px solid #e0e7e2;
    border-bottom: 1px solid #e0e7e2;
    text-align: left;
    vertical-align: middle;
}

.ads-pricing__table tr:last-child th,
.ads-pricing__table tr:last-child td {
    border-bottom: 0;
}

.ads-pricing__table th:last-child,
.ads-pricing__table td:last-child {
    border-right: 0;
}

.ads-pricing__table thead th {
    background: #172a1e;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.ads-pricing__table tbody th {
    width: 210px;
    color: #1d3525;
    font-size: 14px;
}

.ads-pricing__table td {
    color: #264932;
    font-size: 13px;
    white-space: nowrap;
}

.ads-pricing__note {
    margin: 12px 0 22px;
    color: #657069;
    font-size: 13px;
    line-height: 1.5;
}

.ads-pricing__periods {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid #c9d6cd;
    background: #c9d6cd;
    gap: 1px;
}

.ads-pricing__periods > div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
    min-height: 104px;
    padding: 16px;
    background: #fff;
}

.ads-pricing__periods strong {
    color: #1a3021;
}

.ads-pricing__periods span {
    color: var(--ads-green);
    font-size: 13px;
    font-weight: 700;
    text-align: right;
}

.ads-pricing__periods b {
    grid-column: 1 / -1;
    color: #123e26;
    font-size: 20px;
}

.ads-pricing__periods small {
    grid-column: 1 / -1;
    color: #747e78;
}

.ads-terms {
    margin: -24px 0 48px;
    color: #777f7a;
    font-size: 13px;
}

.ads-process {
    margin: 0 0 52px;
    padding: 32px;
    background: #edf4ef;
}

.ads-process .ads-section-heading {
    margin-bottom: 26px;
}

.ads-process ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ads-process li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
}

.ads-process li > span {
    color: var(--ads-green);
    font-size: 18px;
    font-weight: 700;
}

.ads-process strong {
    font-size: 17px;
}

.ads-process p {
    margin: 6px 0 0;
    color: var(--ads-muted);
    font-size: 14px;
    line-height: 1.5;
}

.ads-faq {
    display: grid;
    grid-template-columns: minmax(220px, .6fr) minmax(0, 1.4fr);
    gap: 42px;
    margin-bottom: 52px;
}

.ads-faq__items {
    border-top: 1px solid var(--ads-line);
}

.ads-faq details {
    border-bottom: 1px solid var(--ads-line);
}

.ads-faq summary {
    position: relative;
    padding: 18px 38px 18px 0;
    color: #1a2c20;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    list-style: none;
}

.ads-faq summary::-webkit-details-marker {
    display: none;
}

.ads-faq summary::after {
    position: absolute;
    top: 17px;
    right: 4px;
    color: var(--ads-green);
    content: '+';
    font-size: 22px;
    font-weight: 400;
}

.ads-faq details[open] summary::after {
    content: '−';
}

.ads-faq details p {
    margin: -4px 38px 18px 0;
    color: var(--ads-muted);
    line-height: 1.55;
}

.ads-request {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(360px, 1.2fr);
    gap: 42px;
    margin-top: 46px;
    padding: 34px;
    border-top: 4px solid var(--ads-green);
    background: #edf4ef;
}

.ads-request .alert {
    grid-column: 1 / -1;
    margin-bottom: -18px;
}

.ads-request .public-contact-form__form {
    width: 100%;
    max-width: 680px;
}

.ads-request .form-control {
    min-height: 42px;
    border-color: #bdcac1;
    border-radius: 4px;
    background: #fff;
}

.ads-request textarea.form-control {
    min-height: 120px;
}

.ads-request__phone {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin-top: 16px !important;
    color: #37423c !important;
}

.ads-request__phone a {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    color: #126f31;
    font-weight: 700;
}

.public-contact-form__form {
    max-width: 520px;
}

@media (max-width: 991.98px) {
    .ads-intro {
        min-height: 420px;
        padding: 38px;
        background-position: 64% center;
    }

    .ads-goal-grid,
    .ads-process ol {
        grid-template-columns: 1fr;
    }

    .ads-goal-grid > a {
        min-height: 0;
    }

    .ads-case__steps,
    .ads-proof {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ads-pricing__periods {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ads-proof div:last-child {
        grid-column: 1 / -1;
    }

    .ads-faq,
    .ads-request {
        grid-template-columns: 1fr;
    }

    .ads-request {
        gap: 26px;
    }
}

@media (max-width: 575.98px) {
    body.palki-refresh .ads-page > h1 {
        font-size: 30px;
    }

    .ads-intro {
        min-height: 0;
        padding: 28px 22px;
        background-position: 70% center;
    }

    .ads-intro::before {
        background: rgba(12, 26, 18, .78);
    }

    body.palki-refresh .ads-intro h2 {
        font-size: 28px;
    }

    .ads-intro__copy > p {
        font-size: 16px;
    }

    .ads-actions .btn {
        justify-content: center;
        width: 100%;
    }

    .ads-proof {
        grid-template-columns: 1fr;
        margin: 0 0 40px;
        box-shadow: none;
    }

    .ads-proof div:last-child {
        grid-column: auto;
    }

    body.palki-refresh .ads-section-heading h2 {
        font-size: 24px;
    }

    .ads-case__steps,
    .ads-offer-grid {
        grid-template-columns: 1fr;
    }

    .ads-case,
    .ads-process,
    .ads-pricing,
    .ads-request {
        padding: 22px;
    }

    .ads-pricing__periods {
        grid-template-columns: 1fr;
    }

    .ads-offers .ads-section-heading {
        padding-left: 0;
    }

    .ads-section-number {
        position: static;
        display: block;
        margin-bottom: 5px;
    }

    .ads-offer {
        min-height: 0;
    }

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

    .ads-offer__price span {
        text-align: left;
    }

    .ads-faq {
        gap: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ads-goal-grid > a,
    .ads-offer {
        transition: none;
    }
}
