/* =============================================
       CONTACTS PAGE — page-specific styles (ct2-* prefix)
       ============================================= */

    /* Desktop header gap override */

    /* ---- hero: back + title only ---- */
    .ct2-hero {
      padding: 0 32px;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .ct2-back__link {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 8px 12px 8px 6px;
      background: var(--color-white-second);
      border-radius: 50px;
      font-size: 16px;
      font-weight: 500;
      color: var(--color-text-grey);
      text-decoration: none;
      transition: color 0.2s;
      align-self: flex-start;
    }
    .ct2-back__link:hover { background: var(--color-white-second); color: var(--color-grey); }

    .ct2-hero__title {
      font-size: 48px;
      line-height: 52px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--color-black);
      margin: 0;
    }

    /* ---- contact cards row ---- */
    .ct2-cards {
      padding: 0 32px;
      display: flex;
      flex-direction: row;
      gap: 20px;
    }

    .ct2-card {
      flex: 1;
      background: var(--color-white-second);
      border-radius: 16px;
      padding: 12px 20px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .ct2-card__inner {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 20px;
    }

    .ct2-card__icon-wrap {
      width: 48px;
      height: 48px;
      background: var(--color-secondary-grey);
      border-radius: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .ct2-card__icon-wrap img {
      width: 24px;
      height: 24px;
    }

    .ct2-card__text {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .ct2-card__label {
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 0.02em;
      color: var(--color-text-grey);
      line-height: 16px;
    }

    .ct2-card__value {
      font-size: 16px;
      font-weight: 500;
      letter-spacing: 0.02em;
      color: var(--color-black);
      line-height: 20px;
      text-decoration: none;
      transition: color 0.2s;
    }

    a.ct2-card__value:hover {
      color: var(--color-accent);
    }

    /* Override blocks gap to match Figma (40px between all sections) */
    main.blocks { gap: 40px; }

    /* ---- map ---- */
    .ct2-map {
      padding: 0 32px;
    }

    .ct2-map__frame {
      width: 100%;
      height: 619px;
      border-radius: 40px;
      overflow: hidden;
      display: block;
      position: relative;
    }

    .ct2-map__frame iframe {
      width: 100%;
      height: 100%;
      border: none;
      display: block;
      pointer-events: none;
    }

    .ct2-map__frame.active iframe {
      pointer-events: auto;
    }

    /* Click-to-activate overlay */
    .ct2-map__overlay {
      position: absolute;
      inset: 0;
      z-index: 2;
      cursor: pointer;
      background: transparent;
    }

    .ct2-map__hint {
      position: absolute;
      bottom: 16px;
      left: 50%;
      transform: translateX(-50%);
      background: rgba(43, 42, 50, 0.7);
      color: #fff;
      font-size: 13px;
      font-weight: 500;
      padding: 6px 16px;
      border-radius: 50px;
      white-space: nowrap;
      pointer-events: none;
      opacity: 1;
      transition: opacity 0.3s;
    }

    .ct2-map__frame.active .ct2-map__hint { opacity: 0; }
    .ct2-map__frame.active .ct2-map__overlay { display: none; }

    /* Построить маршрут button — hidden on desktop/tablet, shown only on mobile */
    .ct2-map__route {
      position: absolute;
      bottom: 20px;
      left: 20px;
      right: 20px;
      z-index: 3;
      display: none;
      background: var(--color-black);
      color: #fff;
      text-align: center;
      font-size: 16px;
      font-weight: 500;
      letter-spacing: 0.02em;
      padding: 16px 24px;
      border-radius: 50px;
      text-decoration: none;
      transition: opacity 0.2s;
    }
    .ct2-map__route:hover { opacity: 0.85; }

    /* =============================================
       INTERMEDIATE 1200 → 901px: 2 cards per row
       ============================================= */
    @media (max-width: 1200px) and (min-width: 901px) {
      .ct2-cards {
        flex-wrap: wrap;
      }
      .ct2-card {
        flex: 1 1 calc(50% - 10px);
        min-width: 0;
      }
    }

    /* =============================================
       TABLET 900 → 481px
       ============================================= */
    @media (max-width: 900px) and (min-width: 481px) {
      main.blocks { padding-top: 12px; }
      .ct2-hero { padding: 0 24px; }
      .ct2-hero__title { font-size: 36px; line-height: 42px; }
      .ct2-cards { padding: 0 24px; flex-direction: column; gap: 12px; }
      .ct2-map { padding: 0 24px; }
    }

    /* =============================================
       MOBILE — max 480px
       ============================================= */
    @media (max-width: 480px) {
      main.blocks { padding-top: 8px; }
      .ct2-hero {
        padding: 16px 16px 0;
        gap: 16px;
        margin-bottom: -20px;
      }
      .ct2-hero__title {
        font-size: 28px;
        line-height: 34px;
      }

      .ct2-cards {
        padding: 0 16px;
        flex-direction: column;
        gap: 12px;
      }

      .ct2-card {
        padding: 12px 16px;
      }

      .ct2-map {
        padding: 0 16px;
      }

      .ct2-map__frame {
        height: 540px;
        border-radius: 24px;
      }

      .ct2-map__route {
        display: block;
        font-size: 15px;
        padding: 14px 20px;
        bottom: 16px;
        left: 16px;
        right: 16px;
      }
    }