/* Footer — isolated final layout matching the 1200px desktop mockup. */
.am-site-footer {
    padding: 45px 0 0;
    background: #f2f2f2;
    color: #282828;
	margin-top: 70px;
}

.am-site-footer > .am-container {
    width: min(calc(100% - 40px), 1200px);
    margin-inline: auto;
}

.am-footer-newsletter {
    width: 100%;
    height: 93px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 654px;
    align-items: center;
    column-gap: 22px;
    padding: 0 16px;
    border: 0;
    border-radius: 4px;
    background: #fff;
}

.am-footer-newsletter__content {
    min-width: 0;
}

.am-footer-newsletter__content strong {
    display: block;
    margin: 0 0 5px;
    color: #3e5338;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.15;
}

.am-footer-newsletter__content p {
    max-width: 455px;
    margin: 0;
    color: #686868;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}

.am-newsletter-form {
    position: relative;
    display: grid;
    grid-template-columns: 240px 240px 158px;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.am-newsletter-field {
    width: 240px;
    height: 52px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    border: 1px solid #282828;
    border-radius: 4px;
    padding: 0 15px;
    background: #fff;
}

.am-newsletter-field:focus-within {
    border-color: #3e5338;
    box-shadow: 0 0 0 1px #3e5338;
}

.am-newsletter-field__icon {
    height: 13px;
    color: #999;
}

.am-newsletter-field__icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.am-newsletter-field input {
    min-width: 0;
    width: 100%;
    height: 50px;
    margin: 0;
    border: 0;
    padding: 0;
    outline: 0;
    background: transparent;
    color: #282828;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.am-newsletter-field input::placeholder {
    color: #8f8f8f;
    opacity: 1;
}

.am-newsletter-submit,
.am-footer-route,
.am-google-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 1px solid #3e5338;
    border-radius: 4px;
    padding: 0 16px;
    background: #3e5338;
    color: #fff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.am-newsletter-submit:hover,
.am-newsletter-submit:focus-visible,
.am-footer-route:hover,
.am-footer-route:focus-visible,
.am-google-card__button:hover,
.am-google-card__button:focus-visible {
    border-color: #32452e;
    background: #32452e;
    color: #fff;
    transform: none;
}

.am-newsletter-submit {
    width: 158px;
    height: 52px;
    min-height: 52px;
}

.am-newsletter-form__status {
    position: absolute;
    top: 58px;
    left: 0;
    font-size: 11px;
    line-height: 1.2;
}

/* Confirmed footer subscription — exact compact state from the supplied UI. */
.am-footer-newsletter .am-newsletter-form.is-success {
    min-height: 53px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.am-footer-newsletter .am-newsletter-form.is-success > :not(.am-newsletter-success) {
    display: none !important;
}

.am-newsletter-success {
    width: 394px;
    min-height: 53px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 11px 4px 7px;
    border-radius: 4px;
    background: #DFE4DE;
    color: #3E5338;
}

.am-newsletter-success[hidden] {
    display: none !important;
}

.am-newsletter-success__icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    display: block;
    object-fit: contain;
}

.am-newsletter-success__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.am-newsletter-success__copy strong {
    display: block;
    margin: 0;
    color: #3E5338;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.05;
}

.am-newsletter-success__copy > span {
    display: block;
    margin-top: 2px;
    color: #777D75;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.1;
    white-space: nowrap;
}

.am-newsletter-form.is-loading {
    pointer-events: none;
}

.am-footer-main {
    padding: 34px 0 30px;
    background: transparent;
}

.am-footer-grid {
    display: grid;
    grid-template-columns: 304px 240px 230px 321px;
    column-gap: 35px;
    align-items: start;
}

.am-footer-column {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.am-footer-column:nth-child(2) {
    transform: translateX(-4px);
}

.am-footer-column:nth-child(3) {
    transform: translateX(8px);
}

.am-footer-heading {
    position: relative;
    min-height: 21px;
    display: flex;
    align-items: center;
    margin: 0 0 18px;
    padding-left: 8px;
}

.am-footer-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 21px;
    background: #3e5338;
}

.am-footer-heading h3,
.am-google-card h3 {
    margin: 0;
    color: #3e5338;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
}

.am-footer-heading--socials {
    gap: 8px;
}

.am-footer-socials {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
}

.am-footer-social {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
}


.am-footer-contact-list {
    display: grid;
    gap: 12px;
    margin: 0 0 19px;
}

.am-footer-contact-row {
    min-height: 22px;
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #282828;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
}

.am-footer-contact-row a,
.am-footer-contact-row span {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.am-footer-contact-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-flex;
    color: #3e5338;
}

.am-footer-contact-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.am-footer-route {
    width: 304px;
    height: 53px;
    min-height: 53px;
}

.am-footer-menu {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.am-footer-menu li,
.am-footer-menu a {
    margin: 0;
    color: #282828;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
}

.am-footer-menu a:hover,
.am-footer-menu a:focus-visible,
.am-footer-contact-row:hover,
.am-footer-contact-row:focus-visible {
    color: #3e5338;
}

.am-google-card {
    width: 321px;
    height: 194px;
    margin: 0;
    border: 1px solid #e0e0dc;
    border-radius: 4px;
    padding: 16px 15px;
    background: #fff;
}

.am-google-card__head {
    min-height: 44px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 8px;
    align-items: start;
}

.am-google-card__head h3 {
    max-width: 236px;
    font-size: 18px;
    line-height: 1.2;
}

.am-google-card__logo {
    width: 40px;
    height: 40px;
    display: block;
    margin: 0;
}

.am-google-card__logo svg {
    width: 100%;
    height: 100%;
    display: block;
}

.am-google-card__rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
}

.am-google-card__rating-row strong {
    color: #3e5338;
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
}

.am-google-card__stars {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    color: #f0ad1f;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 1px;
    white-space: nowrap;
}

.am-google-card__rating-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.am-google-card__stars .am-star-rating,
.am-google-card__stars .am-stars {
    display: inline-flex;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.am-google-card__stars img {
    width: 18px !important;
    height: 18px !important;
}

.am-google-card__stars .am-star-rating {
    gap: 3px;
}

.am-google-card__reviews {
    color: #686868 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.2;
}

.am-google-card__button {
    width: 290px;
    height: 52px;
    min-height: 52px;
    font-weight: 600;
}

.am-footer-bottom {
    width: 100%;
    height: 86px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    border-top: 1px solid #909090;
    padding: 27px 0 0;
    background: transparent;
    color: #4f4f4f;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}

@media (max-width: 1199px) and (min-width: 992px) {
    .am-footer-newsletter {
        grid-template-columns: minmax(0, 1fr) 600px;
    }

    .am-newsletter-form {
        grid-template-columns: 215px 215px 154px;
    }

    .am-newsletter-field,
    .am-newsletter-submit {
        width: 100%;
    }

    .am-footer-grid {
        grid-template-columns: 1.15fr .8fr .8fr 1fr;
        column-gap: 24px;
    }

    .am-footer-column:nth-child(2),
    .am-footer-column:nth-child(3) {
        transform: none;
    }

    .am-footer-route,
    .am-google-card,
    .am-google-card__button {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .am-site-footer {
        padding-top: 30px;
		margin-top: 40px;
    }

    .am-footer-newsletter {
        height: auto;
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px 16px;
    }

    .am-footer-newsletter__content p {
        max-width: 600px;
    }

    .am-newsletter-form {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .am-newsletter-field,
    .am-newsletter-submit {
        width: 100%;
    }

    .am-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 30px;
        row-gap: 30px;
    }

    .am-footer-column:nth-child(2),
    .am-footer-column:nth-child(3) {
        transform: none;
    }

    .am-footer-route,
    .am-google-card,
    .am-google-card__button {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .am-site-footer {
        padding-top: 32px;
		margin-top: 0;
    }

    .am-site-footer > .am-container {
        width: min(calc(100% - 40px), 1200px);
    }

    .am-footer-newsletter {
        gap: 16px;
        padding: 18px 16px;
    }

    .am-footer-newsletter__content strong {
        font-size: 20px;
    }

    .am-footer-newsletter__content p {
        font-size: 14px;
        line-height: 1.35;
    }

    .am-newsletter-form {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .am-newsletter-field,
    .am-newsletter-submit {
        width: 100%;
    }

    .am-newsletter-form__status {
        position: static;
        grid-column: 1;
    }

    .am-footer-newsletter .am-newsletter-form.is-success {
        width: 100%;
    }

    .am-newsletter-success {
        width: 100%;
        min-height: 64px;
        padding: 7px 10px 7px 6px;
    }

    .am-newsletter-success__copy strong {
        font-size: 16px;
    }

    .am-newsletter-success__copy > span {
        font-size: 12px;
        line-height: 1.25;
        white-space: normal;
    }

    .am-footer-main {
        padding: 26px 0;
    }

    .am-footer-grid {
        grid-template-columns: 1fr;
        row-gap: 28px;
    }

    .am-footer-column {
        padding: 0;
        border: 0;
    }

    .am-footer-contact-row,
    .am-footer-menu li,
    .am-footer-menu a {
        font-size: 15px;
    }

    .am-google-card {
        height: auto;
        min-height: 194px;
    }

    .am-footer-bottom {
        height: 70px;
        padding-top: 22px;
        font-size: 13px;
    }
}


/* AM 6.44 footer menu spacing */
.am-footer-menu { gap: 15px; }
