@font-face {
      font-family: "CandaraCustom";
      src: url("../fonts/candara-light.ttf") format("truetype");
      font-weight: 300;
      font-style: normal;
      font-display: swap;
    }

    @font-face {
      font-family: "CandaraCustom";
      src: url("../fonts/candara-regular.ttf") format("truetype");
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }

    @font-face {
      font-family: "CandaraCustom";
      src: url("../fonts/candara-bold.ttf") format("truetype");
      font-weight: 700;
      font-style: normal;
      font-display: swap;
    }

    /* ===== RESET ===== */

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: "CandaraCustom", Arial, sans-serif;
      background: #FFFFFF;
      color: #000000;
    }

    img {
      display: block;
      max-width: 100%;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    /* ===== CONTAINER ===== */

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 30px;
    }

    /* ===== CONTACTS ===== */

    .contacts {
      /* padding: 70px 0 100px; */
      /* background: #F5F5F5; */
      margin-bottom: 40px;
    }

    /* ===== HERO ===== */

    .contacts__hero {
      position: relative;
      min-height: 580px;
      border-radius: 12px;
      overflow: hidden;
      margin-bottom: 70px;
      background: #dcdcdc;
    }

    .contacts__hero img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .contacts__hero-overlay {
      position: absolute;
      inset: 0;
      background:
        linear-gradient(to right,
          rgba(0, 0, 0, 0.30) 0%,
          rgba(0, 0, 0, 0.10) 35%,
          rgba(0, 0, 0, 0) 70%);
    }

    .contacts__hero-content {
      position: relative;
      z-index: 2;
      padding: 110px 60px;
      max-width: 560px;
      color: #fff;
    }

    .contacts__title {
      font-size: 64px;
      line-height: 1.05;
      font-weight: 700;
      margin-bottom: 26px;
    }

    .contacts__title span {
      color: #F9A800;
    }

    .contacts__subtitle {
      font-size: 24px;
      line-height: 1.6;
      color: rgba(255, 255, 255, 0.92);
      font-weight: 300;
    }

    /* ===== CONTENT ===== */

    .contacts__content {
      display: grid;
      grid-template-columns: 360px 1fr;
      gap: 40px;
      align-items: stretch;
      /* Было: start — меняем на stretch */
    }


    /* ===== INFO ===== */

    .contacts__info {
      display: flex;
      flex-direction: column;
      gap: 40px;
    }

    .contacts__block {
      position: relative;
      background: #F7F7F8;
      border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
      padding: 34px;
    }
    
    .contacts__block::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 4px;
        height: 100%;
        background: #E5A600;
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
    }

    .contacts__block-title {
      font-size: 34px;
      line-height: 1.1;
      margin-bottom: 30px;
      font-weight: 700;
      color: #000000;
    }

    .contacts__list {
      display: flex;
      flex-direction: column;
      gap: 26px;
    }

    .contacts__item {
      display: flex;
      align-items: flex-start;
      gap: 16px;
    }

    .contacts__icon {
      width: 22px;
      height: 22px;
      flex-shrink: 0;
      margin-top: 2px;
      color: #F9A800;
    }

    .contacts__label {
      font-size: 15px;
      color: #9DA3A6;
      margin-bottom: 6px;
    }

    .contacts__value {
      font-size: 22px;
      line-height: 1.4;
      color: #000000;
    }

    .contacts__value--small {
      font-size: 18px;
    }

    .contacts__legal {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .contacts__legal-item {
      font-size: 18px;
      line-height: 1.5;
      color: #4B4B4B;
    }

    /* ===== MAP ===== */
    .contacts__map {
      position: relative;
      border-radius: 12px;
      overflow: hidden;
      min-height: 640px;
      background: #e4e4e4;
      height: 100%;
    }

    .contacts__map iframe {
      position: absolute !important;
      /* Перебиваем inline position:relative */
      top: 0 !important;
      left: 0 !important;
      width: 100% !important;
      height: 100% !important;
      border: 0;
      display: block;
      filter: grayscale(1);
    }

    /* Дополнительно: растягиваем внутреннюю обёртку виджета Яндекс */
    .contacts__map>div {
      height: 100% !important;
      width: 100% !important;
    }

    /* ===== TABLET ===== */

    @media (max-width: 1024px) {

      .contacts__content {
        grid-template-columns: 1fr;
        align-items: stretch;
        /* На всякий случай явно указываем */
      }

      .contacts__hero {
        min-height: 500px;
      }

      .contacts__hero-content {
        padding: 80px 40px;
      }

      .contacts__title {
        font-size: 50px;
      }

      .contacts__map {
        height: auto;
        /* В одноколоночном режиме отключаем 100%, чтобы не ломать поток */
        min-height: 500px;
      }

      .contacts__map iframe {
        min-height: 500px;
      }
    }

    /* ===== MOBILE ===== */

    @media (max-width: 768px) {

      .container {
        padding: 0 20px;
      }

      /* .contacts {
        padding: 40px 0 70px;
      } */

      .contacts__hero {
        min-height: 380px;
        margin-bottom: 40px;
      }

      .contacts__hero-content {
        padding: 40px 24px;
      }

      .contacts__title {
        font-size: 38px;
        margin-bottom: 18px;
      }

      .contacts__subtitle {
        font-size: 17px;
      }

      .contacts__content {
        gap: 24px;
      }

      .contacts__block {
        padding: 26px;
      }

      .contacts__block-title {
        font-size: 26px;
        margin-bottom: 24px;
      }

      .contacts__value {
        font-size: 18px;
      }

      .contacts__value--small {
        font-size: 16px;
      }

      .contacts__legal-item {
        font-size: 16px;
      }

      .contacts__map {
        min-height: 380px;
      }

      .contacts__map iframe {
        min-height: 380px;
      }
    }

    /* ===== SMALL MOBILE ===== */

    @media (max-width: 480px) {

      .container {
        padding: 0 14px;
      }

      .contacts__hero {
        border-radius: 8px;
        min-height: 300px;
      }

      .contacts__hero-content {
        padding: 28px 18px;
      }

      .contacts__title {
        font-size: 28px;
      }

      .contacts__subtitle {
        font-size: 15px;
      }

      .contacts__block {
        border-radius: 8px;
        padding: 22px;
      }

      .contacts__block-title {
        font-size: 22px;
      }

      .contacts__map {
        border-radius: 8px;
      }
    }