
/* =========================================================
   ALLHIR HERO v2
   - desktop: image left, card right
   - inside card: content left, actions right
   - mobile: image hidden, actions at bottom inside card
   ========================================================= */

.allhir-hero2{
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}

.allhir-hero2__bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(3px) brightness(0.5);
  transform: scale(1.05);
}

.allhir-hero2::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.2),
    rgba(0,0,0,0.55)
  );
  pointer-events: none;
}

.allhir-hero2__inner{
  position: relative;
  min-height: 720px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 60px 60px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 1;
}
}
/* HERO LAYOUT: image left + card right */
.allhir-hero2__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  width: 100%;
}

/* LEFT IMAGE */
.allhir-hero2__image {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.allhir-hero2__image img {
  width: 720px;
  height: auto;
  display: block;
  filter: drop-shadow(0 25px 40px rgba(0,0,0,0.35));
  
  border: 2px solid rgba(255,255,255,0.25); /* рамка */
  border-radius: 20px; /* скругление */

  box-shadow: 0 20px 40px rgba(0,0,0,0.35); /* мягкая тень */

}


/* RIGHT CARD */
.allhir-hero2__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px,140px) 120px;
  column-gap: 34px;
  align-items: stretch;

  padding: 28px 30px;
  border-radius: 24px;

  background: rgba(18,18,18,0.42);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 26px 90px rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}

/* LEFT CONTENT INSIDE CARD */
.allhir-hero2__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.allhir-hero2__title {
  margin: 0 0 12px !important;
  font-size: 26px;
  line-height: 1.14;
  font-weight: 900;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
  background: transparent !important;
  box-shadow: none !important;
}

.allhir-hero2__text {
  margin: 0 0 10px !important;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.86);
  text-shadow: 0 2px 14px rgba(0,0,0,0.45);
}

.allhir-hero2__text--muted {
  color: rgba(255,255,255,0.72);
  margin-bottom: 16px !important;
}

/* CTA BUTTONS AT BOTTOM */
.allhir-hero2__cta {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  align-items: center;
  margin-top: 14px;
}

.allhir-hero2__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;

  font-weight: 900;
  font-size: 15px;
  padding: 12px 16px;
  border-radius: 14px;

  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;

  transition: transform .12s ease, box-shadow .12s ease;
}

.allhir-hero2__btn--primary {
  background: #d8791f;
  color: #101010 !important;
  box-shadow: 0 16px 32px rgba(216,121,31,0.30);
}

.allhir-hero2__btn--ghost {
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.45);
  color: rgba(255,255,255,0.95) !important;
}

/* RIGHT ACTIONS INSIDE CARD */
.allhir-hero2__actions {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.allhir-hero2__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  padding: 6px 4px;
}

.allhir-hero2__action img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 999px;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,0.65));
}

.allhir-hero2__action span {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.12;
  color: rgba(255,255,255,0.92);
  text-align: center;
  text-shadow: 0 2px 14px rgba(0,0,0,0.6);
}

/* DESKTOP ONLY */
@media (min-width: 982px) {
  .allhir-hero2__image {
    display: flex;
  }
}

/* =========================
   MOBILE
   - image hidden
   - card one column
   - actions inside card at bottom, horizontal
   ========================= */
@media (max-width: 981px) {
  .allhir-hero2 {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    min-height: 0 !important;
  }

  .allhir-hero2__inner {
    min-height: 0 !important;
    padding: 18px 14px 26px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
  }

  .allhir-hero2__panel {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    transform: none !important;
  }

  .allhir-hero2__image {
    display: none !important;
  }

  .allhir-hero2__card {
    display: block !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 18px 16px 120px !important; /* place for actions */
    border-radius: 18px !important;
    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
  }

  .allhir-hero2__content {
    max-width: 100% !important;
    display: block !important;
  }

  .allhir-hero2__title {
    font-size: 20px !important;
    line-height: 1.15 !important;
    margin: 0 0 10px !important;
  }

  .allhir-hero2__text {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  .allhir-hero2__cta {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-top: 14px !important;
  }

  .allhir-hero2__btn {
    width: 100% !important;
    min-width: 0 !important;
    padding: 10px 10px !important;
    font-size: 13px !important;
    border-radius: 12px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .allhir-hero2__actions {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 16px !important;

    width: 100% !important;
    height: auto !important;

    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: flex-start !important;

    gap: 10px !important;
    flex-wrap: nowrap !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }

  .allhir-hero2__action {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
    padding: 0 !important;
    gap: 6px !important;
    text-align: center !important;
  }

  .allhir-hero2__action img {
    width: 82px !important;
    height: 82px !important;
  }

  .allhir-hero2__action span {
    font-size: 13px !important;
    line-height: 1.1 !important;
  }
}
