/* ===== TourTrans Category Hero FINAL ===== */

.tt-cat-hero {
  margin: 12px 0 32px;
  width: 100%;
}

.tt-cat-hero__inner {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 24px;
  box-sizing: border-box;

  background: linear-gradient(180deg, #f3f7fb 0%, #edf2f7 100%);
  border: 1px solid #dde6ef;
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(15, 46, 92, 0.06);
}

.tt-cat-hero__content {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 26px 24px;
  box-sizing: border-box;

  background: #f8fafc;
  border-radius: 18px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tt-cat-hero__title {
  margin: 0 0 14px !important;
  padding: 0 !important;

  font-size: 22px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  color: #173a6a !important;
  text-align: center !important;
}

.tt-cat-hero__text {
  margin: 0 !important;
  padding: 0 !important;

  font-size: 17px !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
  color: #364454 !important;
  text-align: center !important;
}

.tt-cat-hero__buttons {
  width: 100%;
  margin-top: 22px;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* КНОПКИ — жёсткий reset от темы */
.tt-cat-hero__buttons .tt-cat-btn,
.tt-cat-hero a.tt-cat-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;

  width: 190px !important;
  min-width: 190px !important;
  max-width: 190px !important;
  height: 56px !important;
  min-height: 56px !important;

  padding: 0 18px !important;
  margin: 0 !important;
  box-sizing: border-box !important;

  border-radius: 14px !important;
  border: none !important;
  text-decoration: none !important;

  font-size: 20px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;

  font-family: inherit !important;
  letter-spacing: 0 !important;

  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.tt-cat-hero__buttons .tt-cat-btn:hover,
.tt-cat-hero a.tt-cat-btn:hover {
  transform: translateY(-2px);
}

.tt-cat-btn--call {
  background: #1976ea !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(25, 118, 234, 0.22) !important;
}

.tt-cat-btn--call:hover,
.tt-cat-btn--call:focus {
  background: #0f68cf !important;
  color: #ffffff !important;
}

.tt-cat-btn--wa {
  background: #22c55e !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(34, 197, 94, 0.22) !important;
}

.tt-cat-btn--wa:hover,
.tt-cat-btn--wa:focus {
  background: #18b454 !important;
  color: #ffffff !important;
}

/* ===== tablet ===== */
@media (max-width: 768px) {
  .tt-cat-hero {
    margin: 10px 0 26px;
  }

  .tt-cat-hero__inner {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .tt-cat-hero__content {
    max-width: 100%;
    padding: 22px 16px;
    border-radius: 16px;
  }

  .tt-cat-hero__title {
    font-size: 18px !important;
    line-height: 1.4 !important;
  }

  .tt-cat-hero__text {
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  .tt-cat-hero__buttons {
    gap: 12px;
  }

  .tt-cat-hero__buttons .tt-cat-btn,
  .tt-cat-hero a.tt-cat-btn {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 320px !important;
    height: 54px !important;
    min-height: 54px !important;
    font-size: 18px !important;
  }
}

/* ===== mobile ===== */
@media (max-width: 480px) {
  .tt-cat-hero__inner {
    padding: 16px 12px;
  }

  .tt-cat-hero__content {
    padding: 18px 14px;
  }

  .tt-cat-hero__title {
    font-size: 16px !important;
    line-height: 1.4 !important;
  }

  .tt-cat-hero__text {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .tt-cat-hero__buttons .tt-cat-btn,
  .tt-cat-hero a.tt-cat-btn {
    max-width: 100% !important;
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    font-size: 17px !important;
    border-radius: 12px !important;
  }
}