/* ============================================================
   Ah Product Section — Global Footer
   ============================================================ */

.ahps-footer {
    --ahps-footer-bg-start: #5c23e7;
    --ahps-footer-bg-end: #632cf0;
    --ahps-footer-heading: #ffffff;
    --ahps-footer-text: rgba(255,255,255,.86);
    --ahps-footer-hover: #e7deff;
    margin-top: 48px;
    color: var(--ahps-footer-text);
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 18% 18%, rgba(121, 73, 255, .30), transparent 34%),
        radial-gradient(circle at 82% 12%, rgba(171, 99, 255, .18), transparent 24%),
        linear-gradient(90deg, var(--ahps-footer-bg-start) 0%, var(--ahps-footer-bg-end) 52%, var(--ahps-footer-bg-start) 100%);
}

.ahps-footer__inner {
    max-width: 1680px;
    margin: 0 auto;
    padding: 42px 72px 20px;
}

.ahps-footer__grid {
    display: grid;
    grid-template-columns: 1.08fr .95fr .95fr 1.08fr;
    gap: 40px;
}

.ahps-footer__title {
    margin: 0 0 18px;
    color: var(--ahps-area-title, var(--ahps-footer-heading));
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    font-family: inherit;
}

.ahps-footer__about {
    max-width: 360px;
    margin: 0;
    color: var(--ahps-area-text, var(--ahps-footer-text));
    font-size: 16px;
    line-height: 1.58;
}

.ahps-footer__about p,
.ahps-footer__newsletter-text p,
.ahps-footer__contact-richtext p {
    margin: 0 0 12px;
}

.ahps-footer__about p:last-child,
.ahps-footer__newsletter-text p:last-child,
.ahps-footer__contact-richtext p:last-child {
    margin-bottom: 0;
}

.ahps-footer__about strong {
    color: var(--ahps-area-title, var(--ahps-footer-heading));
    font-weight: 700;
}

.ahps-footer__about em {
    font-style: italic;
    opacity: .94;
}

.ahps-footer__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ahps-footer__list li {
    margin-bottom: 10px;
}

.ahps-footer__list li:last-child {
    margin-bottom: 0;
}

.ahps-footer__list a {
    color: var(--ahps-area-link, var(--ahps-footer-text));
    text-decoration: none;
    font-size: 16px;
    line-height: 1.4;
    transition: opacity .2s ease, transform .2s ease;
    font-family: inherit;
}

.ahps-footer__list a:hover {
    opacity: 1;
    color: var(--ahps-area-hover, var(--ahps-footer-hover, var(--ahps-area-link, var(--ahps-footer-heading))));
    transform: translateX(2px);
}

.ahps-footer__col {
    background: var(--ahps-area-bg, transparent);
    border-radius: 12px;
    padding: 0;
}

.ahps-footer__contact-list {
    display: grid;
    gap: 16px;
}

.ahps-footer__contact-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
}

.ahps-footer__contact-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 999px;
    color: var(--ahps-footer-heading);
    font-size: 24px;
}

.ahps-footer__contact-text {
    display: grid;
    gap: 4px;
}

.ahps-footer__contact-text strong {
    color: var(--ahps-area-title, var(--ahps-footer-heading));
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
}

.ahps-footer__contact-text a {
    color: var(--ahps-area-link, var(--ahps-footer-text));
    font-size: 16px;
    line-height: 1.45;
    text-decoration: none;
}

.ahps-footer__contact-text a:hover,
.ahps-footer__social-link:hover {
    color: var(--ahps-area-hover, var(--ahps-footer-hover, var(--ahps-area-link, var(--ahps-footer-heading))));
}

.ahps-footer__contact-richtext {
    color: var(--ahps-area-text, var(--ahps-footer-text));
    font-size: 16px;
    line-height: 1.45;
}

.ahps-footer__bottom {
    margin-top: 44px;
}

.ahps-footer__bottom p {
    margin: 0;
    color: var(--ahps-footer-text);
    font-size: 16px;
    line-height: 1.4;
}

.ahps-footer__bottom strong {
    color: var(--ahps-footer-heading);
}

.ahps-footer__logo-wrap {
    margin-bottom: 18px;
}

.ahps-footer__logo {
    display: block;
    width: 100%;
    height: auto;
}

.ahps-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ahps-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    color: var(--ahps-area-link, var(--ahps-footer-text));
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.ahps-footer__newsletter-text {
    margin: 0 0 16px;
    color: var(--ahps-area-text, var(--ahps-footer-text));
    font-size: 15px;
    line-height: 1.6;
}

.ahps-footer__newsletter {
    display: grid;
    gap: 10px;
    max-width: 360px;
}

.ahps-footer__newsletter-input {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 8px;
    background: rgba(255,255,255,.12);
    color: var(--ahps-area-text, #fff);
    padding: 0 14px;
}

.ahps-footer__newsletter-input::placeholder {
    color: rgba(255,255,255,.72);
}

.ahps-footer__newsletter-button {
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    background: #ffffff;
    color: var(--ahps-area-hover, var(--ahps-footer-hover, #4319b9));
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 1100px) {
    .ahps-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 24px;
    }
}

@media (max-width: 768px) {
    .ahps-footer {
        margin-top: 28px;
    }

    .ahps-footer__inner {
        padding: 28px 18px 22px;
    }

    .ahps-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ahps-footer__title {
        margin-bottom: 14px;
        font-size: 19px;
    }

    .ahps-footer__about,
    .ahps-footer__list a,
    .ahps-footer__contact-text a,
    .ahps-footer__contact-richtext {
        font-size: 16px;
    }

    .ahps-footer__contact-item {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 10px;
    }

    .ahps-footer__contact-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .ahps-footer__contact-text strong {
        font-size: 17px;
    }

    .ahps-footer__bottom {
        margin-top: 36px;
    }

    .ahps-footer__bottom p {
        font-size: 16px;
    }
}

.ahps-footer--footer_2 {
    --ahps-footer-bg-start: var(--ahps-footer2-bg, #121214);
    --ahps-footer-bg-end: var(--ahps-footer2-bg, #121214);
    --ahps-footer-heading: var(--ahps-footer2-content, #ffffff);
    --ahps-footer-text: var(--ahps-footer2-content, #ffffff);
    --ahps-footer-hover: var(--ahps-footer2-hover, #ffcb17);
    background: var(--ahps-footer2-bg, #121214);
}

.ahps-footer--footer_2 .ahps-footer__inner {
    max-width: none;
    padding: 0;
}

.ahps-footer2__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.ahps-footer2__left,
.ahps-footer2__right {
    padding: 44px 56px;
}

.ahps-footer2__right {
    border-left: 1px solid rgba(255,255,255,.08);
}

.ahps-footer--footer_2 .ahps-footer__title {
    font-size: 18px;
    margin-bottom: 14px;
}

.ahps-footer--footer_2 .ahps-footer__about,
.ahps-footer--footer_2 .ahps-footer__newsletter-text {
    max-width: 760px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--ahps-footer-text);
}

.ahps-footer2__contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 22px 44px;
    margin-top: 34px;
}

.ahps-footer2__contact-inline {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    min-width: 170px;
}

.ahps-footer--footer_2 .ahps-footer__contact-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
    border: 0;
    color: var(--ahps-footer-text);
}

.ahps-footer--footer_2 .ahps-footer__contact-text strong,
.ahps-footer--footer_2 .ahps-footer__contact-text a {
    font-size: 15px;
}

.ahps-footer2__newsletter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 0;
    margin-top: 22px;
    max-width: 650px;
    border: 1px solid rgba(255,255,255,.12);
}

.ahps-footer2__newsletter-input {
    min-height: 62px;
    border: 0;
    background: transparent;
    color: var(--ahps-footer-text);
    padding: 0 20px;
}

.ahps-footer2__newsletter-input::placeholder {
    color: rgba(255,255,255,.44);
}

.ahps-footer2__newsletter-button {
    border: 0;
    background: var(--ahps-footer-hover);
    color: var(--ahps-footer2-bg, #121214);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.ahps-footer2__bottom {
    padding: 26px 56px 28px;
}

.ahps-footer2__menu-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 46px;
    padding: 28px 0 34px;
}

.ahps-footer2__menu-row .menu-item,
.ahps-footer2__menu-row li {
    list-style: none;
}

.ahps-footer2__menu-row a {
    color: var(--ahps-footer-text);
    text-decoration: none;
    font-size: 15px;
}
.ahps-footer2__menu-row a:hover { color: var(--ahps-footer-hover); }

.ahps-footer2__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 8px;
}

.ahps-footer2__socials {
    display: flex;
    gap: 12px;
}

.ahps-footer2__social-link {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--ahps-footer-text);
    border: 1px solid rgba(255,255,255,.12);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}
.ahps-footer2__social-link:hover {
    color: var(--ahps-footer-hover);
    border-color: var(--ahps-footer-hover);
}

.ahps-footer2__copyright {
    color: var(--ahps-footer-text);
    font-size: 14px;
    text-align: right;
}

@media (max-width: 768px) {
    .ahps-footer2__top {
        grid-template-columns: 1fr;
    }

    .ahps-footer2__left,
    .ahps-footer2__right,
    .ahps-footer2__bottom {
        padding: 24px 18px;
    }

    .ahps-footer2__right {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .ahps-footer2__newsletter {
        grid-template-columns: 1fr;
    }

    .ahps-footer2__newsletter-button {
        min-height: 50px;
    }

    .ahps-footer2__meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .ahps-footer2__copyright {
        text-align: left;
    }
}

.ahps-footer--footer_3 {
    --ahps-footer-bg-start: var(--ahps-footer3-bg, #101012);
    --ahps-footer-bg-end: var(--ahps-footer3-bg, #101012);
    --ahps-footer-heading: var(--ahps-footer3-content, #ffffff);
    --ahps-footer-text: var(--ahps-footer3-content, #ffffff);
    --ahps-footer-hover: var(--ahps-footer3-hover, #b4a27e);
    background: var(--ahps-footer3-bg, #101012);
}

.ahps-footer--footer_3 .ahps-footer__inner {
    max-width: none;
    padding: 0 60px 0;
}

.ahps-footer3__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.ahps-footer3__col {
    min-height: 410px;
    padding: 52px 30px 58px;
    border-left: 1px solid rgba(255,255,255,.08);
}

.ahps-footer3__col:first-child {
    border-left: 0;
}

.ahps-footer--footer_3 .ahps-footer__title {
    margin-bottom: 22px;
    font-size: 18px;
    font-weight: 700;
    color: var(--ahps-area-title, var(--ahps-footer-heading));
    font-family: Georgia, "Times New Roman", serif;
}

.ahps-footer3__contact,
.ahps-footer3__richtext,
.ahps-footer3__newsletter-text,
.ahps-footer3__list a {
    color: var(--ahps-area-text, var(--ahps-footer-text));
    font-size: 15px;
    line-height: 1.58;
}

.ahps-footer3__contact p,
.ahps-footer3__richtext p,
.ahps-footer3__newsletter-text p {
    margin: 0 0 10px;
}

.ahps-footer3__contact > *:not(:last-child) {
    margin-bottom: 24px;
}

.ahps-footer3__contact span,
.ahps-footer3__label {
    color: var(--ahps-area-title, var(--ahps-footer-heading));
}

.ahps-footer3__contact a,
.ahps-footer3__list a {
    color: var(--ahps-area-link, var(--ahps-footer-text));
    text-decoration: none;
    transition: color .2s ease;
}

.ahps-footer3__contact a:hover,
.ahps-footer3__list a:hover,
.ahps-footer3__social-link:hover {
    color: var(--ahps-area-hover, var(--ahps-footer-heading));
}

.ahps-footer3__list li {
    margin-bottom: 8px;
}

.ahps-footer3__newsletter {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.ahps-footer3__newsletter-input {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(255,255,255,.16);
    background: #ffffff;
    color: #111111;
    padding: 0 18px;
    border-radius: 0;
}

.ahps-footer3__newsletter-input::placeholder {
    color: rgba(17,17,17,.42);
}

.ahps-footer3__newsletter-button {
    min-height: 44px;
    border: 0;
    background: var(--ahps-footer-hover);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0;
}

.ahps-footer3__payments {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 26px;
    color: var(--ahps-footer-text);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
}

.ahps-footer3__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 26px 0 32px;
}

.ahps-footer3__socials {
    display: flex;
    gap: 12px;
}

.ahps-footer3__social-link {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,.03);
    color: var(--ahps-footer-text);
    text-decoration: none;
    transition: color .2s ease, background .2s ease;
}

.ahps-footer3__social-link:hover {
    background: rgba(255,255,255,.08);
    color: var(--ahps-footer-hover);
}

.ahps-footer3__copyright {
    color: var(--ahps-footer-text);
    font-size: 14px;
    text-align: right;
}

@media (max-width: 1100px) {
    .ahps-footer--footer_3 .ahps-footer__inner {
        padding: 0 20px;
    }

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

    .ahps-footer3__col:nth-child(odd) {
        border-left: 0;
    }
}

@media (max-width: 768px) {
    .ahps-footer--footer_3 .ahps-footer__inner {
        padding: 0 16px;
    }

    .ahps-footer3__grid {
        grid-template-columns: 1fr;
    }

    .ahps-footer3__col {
        min-height: auto;
        padding: 28px 12px;
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .ahps-footer3__col:first-child {
        border-top: 0;
    }

    .ahps-footer3__bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0 28px;
    }

    .ahps-footer3__copyright {
        text-align: left;
    }
}

.ahps-footer--footer_4 {
    --ahps-footer-bg-start: var(--ahps-footer4-bg, #f4f7f8);
    --ahps-footer-bg-end: var(--ahps-footer4-bg, #f4f7f8);
    --ahps-footer-heading: var(--ahps-footer4-content, #1d252c);
    --ahps-footer-text: var(--ahps-footer4-content, #1d252c);
    background: var(--ahps-footer4-bg, #f4f7f8);
    color: var(--ahps-footer4-content, #1d252c);
}

.ahps-footer--footer_4 .ahps-footer__inner {
    max-width: 1760px;
    padding: 40px 56px 28px;
}

.ahps-footer--footer_4 .ahps-footer__title,
.ahps-footer4__intro-title,
.ahps-footer4__meta-item strong {
    color: var(--ahps-area-title, var(--ahps-footer-heading));
}

.ahps-footer--footer_4 .ahps-footer__title {
    margin-bottom: 14px;
    font-size: 17px;
    font-weight: 700;
}

.ahps-footer4__top {
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) minmax(0, 2fr);
    gap: 20px 44px;
    align-items: start;
}

.ahps-footer4__intro-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.ahps-footer4__intro-text,
.ahps-footer4__body,
.ahps-footer4__list a,
.ahps-footer4__meta-copy,
.ahps-footer4__meta-copy a {
    color: var(--ahps-area-text, var(--ahps-footer4-content, var(--ahps-footer-text)));
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.ahps-footer4__intro-text p,
.ahps-footer4__body p,
.ahps-footer4__meta-copy p {
    margin: 0;
}

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

.ahps-footer4__meta-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.ahps-footer4__meta-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(29,37,44,.10);
    border-radius: 999px;
    color: var(--ahps-footer4-content, #5a6770);
    font-size: 18px;
    background: rgba(255,255,255,.45);
}

.ahps-footer4__meta-item strong {
    display: block;
    margin-bottom: 2px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.ahps-footer4__divider {
    height: 1px;
    margin: 26px 0 28px;
    background: rgba(29,37,44,.08);
}

.ahps-footer4__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 34px;
}

.ahps-footer4__col {
    padding: 0;
    background: transparent;
    border-radius: 0;
    min-width: 0;
}

.ahps-footer4__list {
    margin: 0;
    padding: 0;
}

.ahps-footer4__list li {
    margin-bottom: 6px;
}

.ahps-footer4__list a:hover,
.ahps-footer4__meta-copy a:hover {
    color: var(--ahps-area-hover, var(--ahps-footer4-hover, var(--ahps-footer-heading)));
}

.ahps-footer4__newsletter {
    display: grid;
    gap: 10px;
    max-width: 280px;
    margin-top: 10px;
}

.ahps-footer4__newsletter-input {
    min-height: 40px;
    border: 1px solid rgba(29,37,44,.12);
    border-radius: 6px;
    background: #ffffff;
    color: var(--ahps-footer4-content, #1d252c);
    padding: 0 12px;
}

.ahps-footer4__newsletter-button {
    min-height: 40px;
    border: 0;
    border-radius: 6px;
    background: var(--ahps-footer4-content, #1d252c);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.ahps-footer4__contact-widget strong {
    color: var(--ahps-area-title, var(--ahps-footer4-content, var(--ahps-footer-heading)));
}

.ahps-footer4__contact-widget p {
    margin: 0 0 8px;
}

.ahps-footer4__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ahps-footer4__social-link {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(29,37,44,.12);
    color: var(--ahps-footer4-content, #5c6a73);
    background: #ffffff;
    text-decoration: none;
}

.ahps-footer4__social-link:hover {
    color: var(--ahps-footer4-hover, #1d252c);
    border-color: rgba(29,37,44,.26);
}

@media (max-width: 1200px) {
    .ahps-footer4__top,
    .ahps-footer4__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ahps-footer4__meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ahps-footer--footer_4 .ahps-footer__inner {
        padding: 24px 18px 24px;
    }

    .ahps-footer4__top,
    .ahps-footer4__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ahps-footer4__divider {
        margin: 18px 0 20px;
    }
}

.ahps-footer--footer_5 {
    --ahps-footer-bg-start: #ece4d8;
    --ahps-footer-bg-end: #f4efe7;
    --ahps-footer-heading: #1e1d1a;
    --ahps-footer-text: #5d5a55;
    color: var(--ahps-footer-text);
    background:
        radial-gradient(circle at 16% 10%, rgba(255,255,255,.75), transparent 28%),
        radial-gradient(circle at 78% 12%, rgba(255,255,255,.55), transparent 20%),
        linear-gradient(180deg, #efe8dd 0%, #f5f1ea 100%);
}

.ahps-footer--footer_5 .ahps-footer__inner {
    max-width: 1680px;
    padding: 72px 20px 32px;
}

.ahps-footer5__shell {
    display: grid;
    grid-template-columns: 1.1fr .9fr .9fr 1.1fr;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(94, 84, 69, .12);
    box-shadow: 0 22px 60px rgba(118, 100, 74, .08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ahps-footer5__brand,
.ahps-footer5__menu-col,
.ahps-footer5__newsletter-col {
    min-width: 0;
    padding: 48px 34px;
    border-left: 1px solid rgba(94, 84, 69, .12);
}

.ahps-footer5__brand {
    border-left: 0;
}

.ahps-footer5__brand-title,
.ahps-footer--footer_5 .ahps-footer__title {
    margin: 0 0 22px;
    color: var(--ahps-footer-heading);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.ahps-footer5__logo-wrap {
    margin-bottom: 22px;
}

.ahps-footer5__logo {
    display: block;
    width: 100%;
    height: auto;
}

.ahps-footer5__brand-copy,
.ahps-footer5__contact-copy,
.ahps-footer5__newsletter-copy,
.ahps-footer5__list a,
.ahps-footer5__contact-links a {
    color: var(--ahps-footer-text);
    font-size: 16px;
    line-height: 1.65;
    text-decoration: none;
}

.ahps-footer5__brand-copy p,
.ahps-footer5__contact-copy p,
.ahps-footer5__newsletter-copy p {
    margin: 0 0 10px;
}

.ahps-footer5__brand-copy p:last-child,
.ahps-footer5__contact-copy p:last-child,
.ahps-footer5__newsletter-copy p:last-child {
    margin-bottom: 0;
}

.ahps-footer5__contact-copy {
    margin-top: 22px;
}

.ahps-footer5__contact-links {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.ahps-footer5__contact-links a:hover,
.ahps-footer5__list a:hover {
    color: var(--ahps-footer-heading);
}

.ahps-footer5__list li {
    margin-bottom: 10px;
}

.ahps-footer5__newsletter-copy {
    margin-bottom: 26px;
}

.ahps-footer5__newsletter {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 56px;
    align-items: center;
    min-height: 58px;
    border: 1px solid rgba(34, 30, 24, .44);
    background: rgba(255,255,255,.52);
}

.ahps-footer5__newsletter-icon,
.ahps-footer5__newsletter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ahps-footer-heading);
    font-size: 20px;
}

.ahps-footer5__newsletter-input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ahps-footer-heading);
    font-size: 16px;
    padding: 0 8px;
}

.ahps-footer5__newsletter-input::placeholder {
    color: rgba(30,29,26,.92);
}

.ahps-footer5__newsletter-button {
    width: 56px;
    height: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.ahps-footer5__bottom {
    padding: 18px 6px 0;
    color: rgba(30,29,26,.64);
    font-size: 14px;
    text-align: center;
}

@media (max-width: 1200px) {
    .ahps-footer5__shell {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ahps-footer5__menu-col--1,
    .ahps-footer5__newsletter-col {
        border-left: 0;
    }
}

@media (max-width: 768px) {
    .ahps-footer--footer_5 .ahps-footer__inner {
        padding: 36px 16px 24px;
    }

    .ahps-footer5__shell {
        grid-template-columns: 1fr;
    }

    .ahps-footer5__brand,
    .ahps-footer5__menu-col,
    .ahps-footer5__newsletter-col {
        padding: 28px 22px;
        border-left: 0;
        border-top: 1px solid rgba(94, 84, 69, .12);
    }

    .ahps-footer5__brand {
        border-top: 0;
    }
}
