.ast-footer-newsletter.mail-subscribe-container {
  padding: 26px 22px 0;
  background: #f7f6ef;
}

.ast-footer-newsletter .mail-subscribe {
  max-width: 1360px;
  padding: 0;
  border: 1px solid #e1e4d8;
  border-radius: 16px;
  background-color: #f0f1e7;
  box-shadow: 0 10px 30px rgba(41, 65, 50, .07);
}

.ast-footer-newsletter .subscribe-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  min-height: 300px;
  margin: 0;
}

.ast-footer-newsletter__content {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  min-width: 0;
  padding: 30px 32px;
  overflow: hidden;
  border-radius: 15px 0 0 15px;
  background: #f1f2e7;
}

.ast-footer-newsletter__content::before,
.ast-footer-newsletter__content::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.ast-footer-newsletter__content::before {
  z-index: 0;
  background: url('/upload/iblock/e12/oky6dvh3avonpob0ci9hcyp0zuh90mdm.jpg') center / cover no-repeat;
  filter: blur(2px);
  opacity: .28;
  transform: scale(1.006);
}

.ast-footer-newsletter__content::after {
  z-index: 0;
  background: linear-gradient(110deg, rgba(246, 246, 237, .84) 0%, rgba(243, 245, 235, .86) 100%);
}

.ast-footer-newsletter__content > * {
  position: relative;
  z-index: 1;
}

.ast-footer-newsletter__photo {
  min-width: 0;
  min-height: 300px;
  border-radius: 0 15px 15px 0;
  background: url('/local/assets/astapovo-footer-kitchen.webp') center 54% / cover no-repeat;
}

.ast-footer-newsletter__intro {
  color: #183c31;
  text-align: left;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ast-footer-newsletter__eyebrow {
  margin: 0 0 10px;
  color: #a77b2d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.3;
}

.ast-footer-newsletter__intro h2 {
  color: #183c31;
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.1;
  margin: 0 0 12px;
  font-weight: 800;
}

.ast-footer-newsletter__intro > p:last-child {
  max-width: 455px;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #304d40;
}

.ast-footer-newsletter__form .bx-subscribe {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.ast-footer-newsletter .bx-subscribe form {
  display: grid;
  grid-template-columns: minmax(135px, 1.1fr) minmax(130px, .85fr) auto;
  gap: 9px 10px;
  align-items: center;
}

.ast-footer-newsletter .bx-subscribe .subform-row {
  display: contents;
  margin: 0 !important;
}

.ast-footer-newsletter .bx-subscribe .subform-col {
  min-width: 0;
  padding: 0;
}

.ast-footer-newsletter .bx-subscribe .subform-row:first-of-type .subform-col:first-child {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
}

.ast-footer-newsletter .bx-subscribe .subform-row:first-of-type .subform-col:last-child {
  grid-column: 2;
  grid-row: 1;
}

.ast-footer-newsletter .bx-subscribe .subform-row:nth-of-type(2) .subform-col:first-child {
  grid-column: 1;
  grid-row: 1;
}

.ast-footer-newsletter .bx-subscribe .subform-row:nth-of-type(2) .subform-col:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}

.ast-footer-newsletter .bx-subscribe .subform-row:nth-of-type(2) .subform-col:last-child {
  grid-column: 1 / -1;
  grid-row: 3;
}

.ast-footer-newsletter .bx-subscribe .subform-row:first-of-type img {
  display: block;
  width: 180px;
  height: 40px;
  max-width: 100%;
  border: 1px solid #d8ddcf;
  border-radius: 5px;
  object-fit: cover;
}

.ast-footer-newsletter .bx-subscribe .bx-form-control,
.ast-footer-newsletter .bx-subscribe .bx-input-group .bx-form-control {
  width: 100%;
  min-width: 0;
  height: 44px;
  background: rgba(255, 255, 251, .94);
  color: #183c31;
  border: 1px solid #cbd5c8;
  border-radius: 6px;
  font-size: 14px;
  box-shadow: none;
}

.ast-footer-newsletter .bx-subscribe .bx-form-control::placeholder {
  color: #64776b;
}

.ast-footer-newsletter .bx-subscribe .bx-form-control:focus {
  border-color: #a77b2d;
  outline: 2px solid rgba(167, 123, 45, .25);
}

.ast-footer-newsletter .bx-subscribe .bx-input-group {
  width: 100%;
}

.ast-footer-newsletter .bx-subscribe .btn-subscribe {
  min-height: 44px;
  height: 44px;
  padding: 8px 18px;
  border: 0;
  border-radius: 6px;
  background: #28654c;
  color: #fffdf4;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.ast-footer-newsletter .bx-subscribe .btn-subscribe:hover,
.ast-footer-newsletter .bx-subscribe .btn-subscribe:focus-visible {
  background: #1e523d;
  color: #fffdf4;
}

.ast-footer-newsletter .bx-subscribe .btn-subscribe::before {
  display: none;
}

.ast-footer-newsletter .bx-subscribe .btn-subscribe .d-sm-inline-block {
  display: inline-block !important;
}

.ast-footer-newsletter .bx-subscribe .btn-subscribe .fa {
  display: none !important;
}

.ast-footer-newsletter .bx_subscribe_checkbox_container,
.ast-footer-newsletter .main-user-consent-request-announce,
.ast-footer-newsletter .main-user-consent-request a {
  color: #304d40;
}

.footer.ast-footer {
  position: relative;
  z-index: 0;
  max-width: 1500px;
  margin: 28px auto 24px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #ecebe4;
  border-radius: 30px;
  background: #faf9f4 url('/local/assets/astapovo-footer-illustrated-bg.webp') center / 100% 100% no-repeat;
  color: #173c31;
  box-shadow: 0 12px 34px rgba(41, 65, 50, .045);
}

.footer.ast-footer .wrapper-inner {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 1460px;
  padding: 48px clamp(200px, 18vw, 270px) 0 54px;
}

.ast-footer__main {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.14fr) minmax(0, .92fr);
  min-height: 265px;
}

.ast-footer__brand,
.ast-footer__contacts,
.ast-footer__links {
  min-width: 0;
  padding: 12px 34px 20px;
}

.ast-footer__brand {
  padding-left: 18px;
}

.footer.ast-footer .bottom-logo {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 24px;
}

.footer.ast-footer .logo.bottom-logo svg {
  display: block;
  width: 268px;
  height: auto;
  max-width: 100%;
  transform: none;
}

.ast-footer__booking {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 300px);
  min-height: 58px;
  padding: 12px 22px 12px 26px;
  border-radius: 11px;
  background: #e3bd61;
  color: #173c31;
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease;
}

.ast-footer__booking span {
  margin-left: 12px;
  font-size: 29px;
  line-height: 1;
}

.ast-footer__booking:hover,
.ast-footer__booking:focus-visible {
  background: #edcd78;
  color: #173c31;
  text-decoration: none;
  transform: translateY(-1px);
}

.ast-footer__booking:focus-visible,
.ast-footer__feedback:focus-visible,
.ast-footer__links a:focus-visible,
.ast-footer__bottom a:focus-visible {
  outline: 2px solid #28654c;
  outline-offset: 3px;
}

.ast-footer__tagline {
  position: relative;
  display: inline-block;
  margin: 24px 0 0 20px;
  color: #214a3c;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 21px;
  font-style: italic;
  line-height: 1.3;
  transform: rotate(-3deg);
}

.ast-footer__tagline::after {
  position: absolute;
  left: 48px;
  bottom: -12px;
  width: 116px;
  height: 11px;
  content: "";
  border-bottom: 2px solid #d8b35d;
  border-radius: 50%;
  transform: rotate(-5deg);
}

.ast-footer__contacts {
  border-right: 1px solid #dce0d6;
  border-left: 1px solid #dce0d6;
}

.ast-footer__contacts h2,
.ast-footer__links h2 {
  margin: 0 0 12px;
  color: #173c31;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: .075em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ast-footer__contact-copy {
  margin: 0 0 18px;
  color: #63776d;
  font-size: 15px;
  line-height: 1.45;
}

.ast-footer__contact-copy p {
  margin: 0;
}

.ast-footer__contact-list {
  display: grid;
  gap: 12px;
}

.ast-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.ast-footer__icon {
  display: inline-flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e7ebe2;
  color: #245241;
}

.ast-footer__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.ast-footer__contact-detail {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}

.footer.ast-footer .ast-footer-contact__phone {
  color: #173c31;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
}

.footer.ast-footer .ast-footer-contact__hours {
  color: #697c70;
  font-size: 13px;
  line-height: 1.35;
}

.footer.ast-footer .ast-footer-contact__email {
  color: #214b3b;
  font-size: 15px;
  font-weight: 650;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.footer.ast-footer .ast-footer-contact__phone:hover,
.footer.ast-footer .ast-footer-contact__email:hover {
  text-decoration: underline;
  text-decoration-color: #c9a345;
  text-underline-offset: 3px;
}

.ast-footer__feedback {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #214b3b;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.ast-footer__feedback .ast-footer__icon {
  flex-basis: 40px;
}

.ast-footer__feedback > span:last-child {
  text-decoration: underline;
  text-decoration-color: #c9a345;
  text-underline-offset: 4px;
}

.ast-footer__links {
  position: relative;
  z-index: 1;
  padding-right: 14px;
}

.ast-footer__links h2 {
  margin-bottom: 8px;
}

.ast-footer__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  color: #24493b;
  font-size: 15px;
  line-height: 1.3;
  text-decoration: none;
}

.ast-footer__links a span {
  flex: 0 0 auto;
  color: #315947;
  font-size: 25px;
  line-height: 1;
}

.ast-footer__links a:hover {
  color: #a4782a;
}

.ast-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  margin-top: 4px;
  border-top: 1px solid #dce0d6;
  color: #607569;
  font-size: 13px;
}

.ast-footer__bottom a {
  color: #456458;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 991px) {
  .ast-footer-newsletter.mail-subscribe-container {
    padding: 22px 20px 0;
  }

  .ast-footer-newsletter .mail-subscribe {
    max-width: 720px;
    text-align: left;
  }

  .ast-footer-newsletter .subscribe-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .ast-footer-newsletter__intro {
    padding: 0;
  }

  .ast-footer-newsletter__content {
    gap: 18px;
    padding: 26px;
    border-radius: 15px 15px 0 0;
  }

  .ast-footer-newsletter__photo {
    min-height: 230px;
    border-radius: 0 0 15px 15px;
    background-position: center 52%;
  }

  .ast-footer-newsletter__form .bx-subscribe {
    padding: 0;
  }

  .ast-footer-newsletter .bx-subscribe form {
    grid-template-columns: minmax(0, 1fr) 118px;
    gap: 8px;
  }

  .ast-footer-newsletter .bx-subscribe .subform-row:nth-of-type(2) .subform-col:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .ast-footer-newsletter .bx-subscribe .subform-row:nth-of-type(2) .subform-col:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .ast-footer-newsletter .bx-subscribe .subform-row:first-of-type .subform-col:first-child {
    grid-column: 1;
    grid-row: 2;
  }

  .ast-footer-newsletter .bx-subscribe .subform-row:first-of-type .subform-col:last-child {
    grid-column: 2;
    grid-row: 2;
  }

  .ast-footer-newsletter .bx-subscribe .subform-row:first-of-type img {
    width: 118px;
    height: 36px;
  }

  .ast-footer-newsletter .bx-subscribe .subform-row:nth-of-type(2) .subform-col:last-child {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .ast-footer-newsletter .bx-subscribe .btn-subscribe {
    width: 100%;
    padding-inline: 8px;
  }

  .footer.ast-footer .wrapper-inner {
    padding: 36px 32px 0;
  }

  .ast-footer__main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .ast-footer__brand,
  .ast-footer__contacts {
    padding: 8px 24px 24px;
  }

  .ast-footer__brand {
    padding-left: 8px;
  }

  .ast-footer__contacts {
    border-right: 0;
  }

  .ast-footer__links {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    padding: 22px 8px 14px;
    border-top: 1px solid #dce0d6;
  }

  .ast-footer__links h2 {
    grid-column: 1 / -1;
  }

}

@media (max-width: 575px) {
  .ast-footer-newsletter.mail-subscribe-container {
    padding: 18px 14px 0;
  }

  .ast-footer-newsletter .mail-subscribe {
    border-radius: 14px;
  }

  .ast-footer-newsletter__intro h2 {
    font-size: 26px;
  }

  .ast-footer-newsletter__content {
    gap: 16px;
    padding: 20px 18px;
    border-radius: 13px 13px 0 0;
  }

  .ast-footer-newsletter__photo {
    min-height: 190px;
    border-radius: 0 0 13px 13px;
  }

  .ast-footer-newsletter__form .bx-subscribe {
    padding: 0;
  }

  .footer.ast-footer {
    width: calc(100% - 20px);
    margin: 18px auto;
    border-radius: 22px;
    background: linear-gradient(180deg, #f8f8f3 0%, #fbfaf7 72%, #f3f2ed 100%);
  }

  .footer.ast-footer .wrapper-inner {
    padding: 28px 20px 0;
  }

  .ast-footer__main {
    grid-template-columns: minmax(0, 1fr);
  }

  .ast-footer__brand,
  .ast-footer__contacts,
  .ast-footer__links {
    padding: 22px 4px;
  }

  .ast-footer__brand {
    padding-top: 4px;
    text-align: center;
  }

  .footer.ast-footer .bottom-logo {
    margin-bottom: 18px;
  }

  .footer.ast-footer .logo.bottom-logo svg {
    width: 250px;
  }

  .ast-footer__booking {
    margin: 0 auto;
    text-align: left;
  }

  .ast-footer__tagline {
    display: inline-block;
    margin: 22px 0 0;
  }

  .ast-footer__contacts {
    border: 0;
    border-top: 1px solid #dce0d6;
  }

  .ast-footer__links {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #dce0d6;
  }

  .ast-footer__links a {
    min-height: 42px;
    width: 100%;
  }

  .ast-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 16px 0 18px;
  }
}
