:root {
      --wdtPrimaryColor: #ecf96e;
      --wdtSecondaryColor: #3f492a;
      --wdtTertiaryColor: #bcc79d;
      --wdtQuaternaryColor: #151515;
      --wdtBodyBGColor: #faf9f6;
      --wdtAccentTxtColor: #ffffff;
      --wdtFontTypoBase: "DM Sans", Arial, sans-serif;
      --wdtFontTypoAlt: "Bricolage Grotesque", "Inter", Arial, sans-serif;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      background: var(--wdtBodyBGColor);
      color: var(--wdtSecondaryColor);
      font-family: var(--wdtFontTypoBase);
      font-size: 16px;
      line-height: 1.62;
    }

    .lp-contact-map-footer { overflow: hidden; background: var(--wdtBodyBGColor); }
    .lp-contact-map-footer a { color: inherit; }

    .lp-contact-map-footer__contact-wrap {
      position: relative;
      z-index: 2;
      display: flex;
      justify-content: center;
      padding: 0 50px;
    }

    .lp-contact-map-footer__contact {
      position: relative;
      width: min(100%, 1420px);
      margin: 0 auto;
      padding: 36px clamp(32px, 4vw, 64px);
      border-radius: 30px;
      background-color: var(--wdtSecondaryColor);
      color: var(--wdtAccentTxtColor);
      text-align: center;
      overflow: hidden;
    }

    .lp-contact-map-footer__contact::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 0;
      background-image: url("Agro-bg-light-2.png");
      background-position: center center;
      background-repeat: no-repeat;
      background-size: cover;
      opacity: 0.035;
      pointer-events: none;
    }

    .lp-contact-map-footer__contact-overlay {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
    }

    .lp-contact-map-footer__contact-overlay {
      z-index: 1;
      background-color: var(--wdtPrimaryColor);
      opacity: 0.86;
      mix-blend-mode: multiply;
    }

    .lp-contact-map-footer__contact-inner { position: relative; z-index: 2; }

    .lp-contact-map-footer__subtitle {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin: 0 0 8px;
      color: var(--wdtAccentTxtColor);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.08em;
      line-height: 1;
      text-transform: uppercase;
    }

    .lp-contact-map-footer__leaf {
      display: inline-flex;
      width: 16px;
      height: 16px;
      color: currentColor;
    }

    .lp-contact-map-footer__leaf svg { width: 100%; height: 100%; fill: currentColor; }

    .lp-contact-map-footer__title {
      margin: 0 0 12px;
      color: var(--wdtAccentTxtColor);
      font-family: var(--wdtFontTypoAlt);
      font-size: clamp(28px, 3.2vw, 36px);
      font-weight: 500;
      line-height: 1.2;
      letter-spacing: -0.04em;
    }

    .lp-contact-map-footer__lead {
      max-width: 640px;
      margin: 0 auto 24px;
      color: color-mix(in srgb, var(--wdtAccentTxtColor) 82%, transparent);
      font-size: clamp(14px, 1.05vw, 16px);
      line-height: 1.55;
    }

    .lp-contact-map-footer__items {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 16px;
      width: 100%;
      max-width: none;
      margin: 0 auto 12px;
      padding: 0;
      list-style: none;
    }

    .lp-contact-map-footer__item { min-width: 0; text-align: center; }

    .lp-contact-map-footer__item-card {
      height: 100%;
      padding: 18px 14px 16px;
      border: 1px solid color-mix(in srgb, var(--wdtAccentTxtColor) 14%, transparent);
      border-radius: 18px;
      background: color-mix(in srgb, var(--wdtAccentTxtColor) 6%, transparent);
    }

    .lp-contact-map-footer__item--phone .lp-contact-map-footer__item-card {
      border-color: color-mix(in srgb, var(--wdtPrimaryColor) 42%, transparent);
      background: color-mix(in srgb, var(--wdtPrimaryColor) 10%, transparent);
    }

    .lp-contact-map-footer__icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      margin-bottom: 8px;
      color: var(--wdtTertiaryColor);
    }

    .lp-contact-map-footer__icon svg { width: 40px; height: 40px; fill: currentColor; }

    .lp-contact-map-footer__item-title {
      margin: 0 0 3px;
      color: var(--wdtAccentTxtColor);
      font-family: var(--wdtFontTypoAlt);
      font-size: 16px;
      font-weight: 500;
      line-height: 1.2;
    }

    .lp-contact-map-footer__item-text,
    .lp-contact-map-footer__item-link {
      display: block;
      margin: 0;
      color: var(--wdtAccentTxtColor);
      font-size: 13px;
      line-height: 1.35;
      text-decoration: none;
    }

    .lp-contact-map-footer__item-link--accent {
      font-family: var(--wdtFontTypoAlt);
      font-size: clamp(18px, 1.6vw, 22px);
      font-weight: 600;
      line-height: 1.2;
      letter-spacing: -0.02em;
    }

    .lp-contact-map-footer__item-note {
      margin: 6px 0 0;
      color: color-mix(in srgb, var(--wdtAccentTxtColor) 68%, transparent);
      font-size: 12px;
      line-height: 1.35;
    }

    .lp-contact-map-footer__map-shell {
      position: relative;
      z-index: 1;
      width: 100%;
      height: 670px;
      min-height: 670px;
      margin-top: -120px;
      border-radius: 30px 30px 0 0;
      background: #d3d2cd;
      overflow: hidden;
    }

    .lp-contact-map-footer__map-placeholder,
    .lp-contact-map-footer__map-frame,
    .lp-contact-map-footer__map-frame iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
    }

    .lp-contact-map-footer__map-placeholder {
      display: grid;
      place-items: center;
      padding-top: 120px;
      background: #d3d2cd;
      color: var(--wdtSecondaryColor);
      text-align: center;
    }

    .lp-contact-map-footer__map-placeholder strong {
      display: block;
      font-family: var(--wdtFontTypoAlt);
      font-size: 24px;
      font-weight: 500;
    }

    .lp-contact-map-footer__map-frame { opacity: 1; visibility: visible; }
    .lp-contact-map-footer__map-frame iframe { display: block; border: 0; }

    .lp-contact-map-footer__footer {
      display: flex;
      align-items: stretch;
      position: relative;
      color: var(--wdtAccentTxtColor);
      background-color: var(--wdtSecondaryColor);
      background-image:
        linear-gradient(
          color-mix(in srgb, var(--wdtSecondaryColor) 82%, transparent),
          color-mix(in srgb, var(--wdtSecondaryColor) 82%, transparent)
        ),
        url("../09-2.jpg");
      background-position: center center;
      background-repeat: no-repeat;
      background-size: cover;
    }

    .lp-contact-map-footer__newsletter {
      position: relative;
      width: 34%;
      min-height: 470px;
      padding: 60px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      background-color: transparent;
      overflow: hidden;
    }

    .lp-contact-map-footer__newsletter::before {
      content: "";
      position: absolute;
      inset: 0;
      background-color: var(--wdtQuaternaryColor);
      opacity: 0.75;
      pointer-events: none;
    }

    .lp-contact-map-footer__newsletter > * { position: relative; z-index: 1; }

    .lp-contact-map-footer__newsletter-title {
      margin: 0 0 30px;
      color: var(--wdtAccentTxtColor);
      font-family: var(--wdtFontTypoAlt);
      font-size: clamp(34px, 3.3vw, 52px);
      font-weight: 500;
      line-height: 1.2;
      letter-spacing: -0.04em;
    }

    .lp-contact-map-footer__form {
      display: flex;
      align-items: center;
      width: 100%;
      max-width: 560px;
      padding: 5px;
      border: 1px solid rgba(255, 255, 255, 0.55);
      border-radius: 999px;
    }

    .lp-contact-map-footer__form input {
      min-width: 0;
      flex: 1;
      height: 44px;
      padding: 0 20px;
      border: 0;
      outline: 0;
      background: transparent;
      color: var(--wdtAccentTxtColor);
      font: 500 13px/1 var(--wdtFontTypoBase);
    }

    .lp-contact-map-footer__form input::placeholder { color: rgba(255, 255, 255, 0.9); }

    .lp-contact-map-footer__form button {
      min-width: 104px;
      height: 40px;
      border: 0;
      border-radius: 999px;
      background: var(--wdtPrimaryColor);
      color: var(--wdtSecondaryColor);
      font: 700 13px/1 var(--wdtFontTypoBase);
      cursor: pointer;
    }

    .lp-contact-map-footer__terms {
      display: flex;
      gap: 9px;
      align-items: flex-start;
      margin: 13px 0 0;
      color: var(--wdtAccentTxtColor);
      font-size: 12px;
      line-height: 1.5;
    }

    .lp-contact-map-footer__terms input { margin-top: 2px; accent-color: var(--wdtPrimaryColor); }

    .lp-contact-map-footer__main {
      width: 66%;
      padding: 0;
      background: transparent;
    }

    /* Если секции рассылки нет — основной блок по ширине как «Жизнь холдинга» */
    .lp-contact-map-footer__footer > .lp-contact-map-footer__main:first-child {
      width: min(100%, var(--lp-social-cta-max, 1800px));
      max-width: var(--lp-social-cta-max, 1800px);
      margin-left: auto;
      margin-right: auto;
      padding: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 48px) 0;
      box-sizing: border-box;
    }

    .lp-contact-map-footer__grid {
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
      gap: clamp(20px, 3vw, 40px);
      align-items: center;
      padding-bottom: clamp(20px, 2.5vw, 28px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .lp-contact-map-footer__col {
      min-width: 0;
    }

    .lp-contact-map-footer__col--brand {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
    }

    .lp-contact-map-footer__col--phone {
      text-align: center;
    }

    .lp-contact-map-footer__col--contacts {
      text-align: right;
    }

    .lp-contact-map-footer__tagline {
      margin: 0;
      max-width: 22rem;
      color: rgba(255, 255, 255, 0.82);
      font-size: clamp(13px, 0.95vw, 15px);
      line-height: 1.55;
    }

    .lp-contact-map-footer__phone {
      display: inline-block;
      color: var(--wdtAccentTxtColor);
      font-family: var(--wdtFontTypoAlt);
      font-size: clamp(24px, 2.2vw, 32px);
      font-weight: 600;
      line-height: 1.15;
      letter-spacing: -0.02em;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .lp-contact-map-footer__phone:hover {
      color: var(--wdtPrimaryColor);
    }

    .lp-contact-map-footer__phone-note {
      margin: 8px 0 0;
      color: rgba(255, 255, 255, 0.58);
      font-size: clamp(12px, 0.9vw, 14px);
      line-height: 1.4;
    }

    .lp-contact-map-footer__address {
      margin: 0;
      color: var(--wdtAccentTxtColor);
      font-size: clamp(13px, 0.95vw, 15px);
      line-height: 1.5;
    }

    .lp-contact-map-footer__email {
      display: inline-block;
      margin-top: 8px;
      color: var(--wdtPrimaryColor);
      font-size: clamp(13px, 0.95vw, 15px);
      line-height: 1.4;
      text-decoration: none;
      transition: opacity 0.3s ease;
    }

    .lp-contact-map-footer__email:hover {
      opacity: 0.82;
    }

    .lp-contact-map-footer__top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding-bottom: 12px;
    }

    .lp-contact-map-footer__brand {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      color: var(--wdtAccentTxtColor);
      font-family: var(--wdtFontTypoAlt);
      font-size: 31px;
      font-weight: 500;
      line-height: 1;
      text-decoration: none;
    }

    .lp-contact-map-footer__brand svg { width: 26px; height: 26px; fill: var(--wdtPrimaryColor); }

    /* Тот же логотип, что в шапке (logo-navbar.svg + .lp-navbar-logo) */
    .lp-contact-map-footer__brand .lp-navbar-logo {
      display: inline-flex;
      align-items: center;
      line-height: 0;
    }

    .lp-contact-map-footer__brand .lp-navbar-logo img {
      display: block;
      width: clamp(180px, 13.5vw, 240px);
      max-width: 100%;
      height: auto;
    }

    .lp-contact-map-footer__social {
      display: inline-flex;
      align-items: center;
      justify-content: flex-end;
      gap: 30px;
      color: var(--wdtAccentTxtColor);
      font-family: var(--wdtFontTypoAlt);
      font-size: 16px;
      font-weight: 500;
    }

    .lp-contact-map-footer__social-icons { display: inline-flex; align-items: center; gap: 10px; }
    .lp-contact-map-footer__social-icons a { display: inline-flex; width: 25px; height: 25px; color: var(--wdtAccentTxtColor); text-decoration: none; transition: color 0.3s ease; }
    .lp-contact-map-footer__social-icons a:hover { color: var(--wdtPrimaryColor); }
    .lp-contact-map-footer__social-icons svg { width: 100%; height: 100%; fill: currentColor; }

    .lp-contact-map-footer__columns {
      display: grid;
      grid-template-columns: 33.33% 33.33% 33.33%;
      gap: 16px;
      padding: 24px 0;
      border-top: 1px solid rgba(255, 255, 255, 0.2);
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .lp-contact-map-footer__col-title {
      margin: 0 0 10px;
      color: var(--wdtAccentTxtColor);
      font-family: var(--wdtFontTypoAlt);
      font-size: 16px;
      font-weight: 500;
      line-height: 1.2;
    }

    .lp-contact-map-footer__contact-list,
    .lp-contact-map-footer__links {
      display: grid;
      gap: 6px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .lp-contact-map-footer__contact-list li {
      display: grid;
      grid-template-columns: 16px minmax(0, 1fr);
      gap: 8px;
      max-width: 260px;
      color: var(--wdtAccentTxtColor);
      font-size: 13px;
      line-height: 1.4;
    }

    .lp-contact-map-footer__contact-list svg { width: 16px; height: 16px; margin-top: 2px; fill: var(--wdtPrimaryColor); }

    .lp-contact-map-footer__contact-list a,
    .lp-contact-map-footer__links a {
      color: var(--wdtAccentTxtColor);
      font-size: 13px;
      line-height: 1.4;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .lp-contact-map-footer__contact-list a:hover,
    .lp-contact-map-footer__links a:hover { color: var(--wdtPrimaryColor); }

    .lp-contact-map-footer__bottom {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
      padding: clamp(16px, 2vw, 22px) 0 clamp(18px, 2.2vw, 24px);
      color: rgba(255, 255, 255, 0.9);
      font-size: 13px;
      text-align: center;
    }

    .lp-contact-map-footer__bottom p { margin: 0; }
    .lp-contact-map-footer__bottom-meta {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      min-width: 0;
      text-align: center;
    }

    .lp-contact-map-footer__copyright,
    .lp-contact-map-footer__developer {
      margin: 0;
      color: rgba(255, 255, 255, 0.78);
      font-size: clamp(12px, 0.92vw, 14px);
      line-height: 1.45;
    }

    .lp-contact-map-footer__developer a {
      color: var(--wdtPrimaryColor);
      text-decoration: none;
      transition: opacity 0.3s ease;
    }

    .lp-contact-map-footer__developer a:hover {
      opacity: 0.82;
    }

    .lp-contact-map-footer__inn {
      margin: 0;
      font-size: clamp(11px, 0.85vw, 13px);
      line-height: 1.35;
      color: rgba(255, 255, 255, 0.58);
      letter-spacing: 0.02em;
    }

    .lp-contact-map-footer__bottom a { color: inherit; text-decoration: none; }
    .lp-contact-map-footer__legal {
      display: inline-flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .lp-contact-map-footer__legal a {
      color: rgba(255, 255, 255, 0.62);
      font-size: clamp(11px, 0.85vw, 13px);
      line-height: 1.45;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .lp-contact-map-footer__legal a:hover {
      color: var(--wdtPrimaryColor);
    }

    .lp-contact-map-footer__legal li:not(:last-child)::after {
      content: "|";
      display: inline-block;
      margin: 0 10px;
      color: rgba(255, 255, 255, 0.38);
    }

    @media (max-width: 1540px) {
      .lp-contact-map-footer__items { gap: 28px; }
      .lp-contact-map-footer__newsletter { padding: 40px 30px; }
      .lp-contact-map-footer__main { padding: 20px 30px 0; }
      .lp-contact-map-footer__footer > .lp-contact-map-footer__main:first-child {
        padding: 20px clamp(20px, 4vw, 36px) 0;
      }
    }

    @media (max-width: 1280px) {
      .lp-contact-map-footer__items { gap: 20px; }
      .lp-contact-map-footer__map-shell { height: 500px; min-height: 500px; }
      .lp-contact-map-footer__footer { flex-wrap: wrap; }
      .lp-contact-map-footer__newsletter,
      .lp-contact-map-footer__main { width: 100%; }
      .lp-contact-map-footer__footer > .lp-contact-map-footer__main:first-child {
        width: 100%;
        max-width: none;
        padding: 20px 30px 0;
      }
      .lp-contact-map-footer__newsletter { min-height: 360px; padding: 60px 30px; align-items: center; text-align: center; }
      .lp-contact-map-footer__main { padding: 20px 30px 0; }
    }

    @media (max-width: 1024px) {
      .lp-contact-map-footer__contact { padding: 32px 28px; }
      .lp-contact-map-footer__items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
      .lp-contact-map-footer__bottom { padding: 10px 0 16px; }
    }

    @media (max-width: 900px) {
      .lp-contact-map-footer__grid {
        grid-template-columns: 1fr;
        gap: 22px;
      }

      .lp-contact-map-footer__col--brand {
        align-items: center;
      }

      .lp-contact-map-footer__col--phone,
      .lp-contact-map-footer__col--contacts {
        text-align: center;
      }

      .lp-contact-map-footer__tagline {
        max-width: 28rem;
        text-align: center;
      }
    }

    @media (max-width: 767px) {
      .lp-contact-map-footer__contact-wrap { padding: 0 20px; }
      .lp-contact-map-footer__contact { padding: 28px 20px; }
      .lp-contact-map-footer__items { grid-template-columns: 1fr; gap: 24px; }
      .lp-contact-map-footer__map-shell { height: 450px; min-height: 450px; }
      .lp-contact-map-footer__newsletter { padding: 48px 20px; }
      .lp-contact-map-footer__footer > .lp-contact-map-footer__main:first-child {
        padding-inline: 20px;
      }
      .lp-contact-map-footer__social { justify-content: center; gap: 20px; }
    }

    @media (max-width: 479px) {
      .lp-contact-map-footer__contact { padding: 24px 20px; }
      .lp-contact-map-footer__map-shell { height: 400px; min-height: 400px; border-radius: 0; }
      .lp-contact-map-footer__form { border-radius: 18px; flex-direction: column; gap: 8px; }
      .lp-contact-map-footer__form input,
      .lp-contact-map-footer__form button { width: 100%; }
    }
