/* =========================
   Hero PLX
========================= */

.hero-plx {
  position: relative;
  min-height: clamp(600px, 80vh, 750px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background: #0f1115;
}

.hero-plx__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(8, 12, 17, 0.055) 0%, rgba(8, 12, 17, 0.144) 38%, rgba(8, 12, 17, 0.274) 100%),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 26%),
    radial-gradient(circle at 78% 16%, rgba(224, 31, 38, 0.18) 0%, rgba(224, 31, 38, 0) 30%),
    radial-gradient(circle at 50% 78%, rgba(224, 31, 38, 0.12) 0%, rgba(224, 31, 38, 0) 26%),
    url("/src/assets/images/bg.png") bottom / cover no-repeat;
  transform: scale(1.05);
}

.hero-plx::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.05) 0%, rgba(8, 10, 14, 0.12) 34%, rgba(8, 10, 14, 0.3) 100%);
  pointer-events: none;
}

.hero-plx::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -120px;
  transform: translateX(-50%);
  width: min(1080px, 96vw);
  height: 270px;
  border-radius: 50%;
  background: rgba(224, 31, 38, 0.18);
  filter: blur(78px);
  z-index: -1;
  pointer-events: none;
}

.hero-plx .container {
  position: relative;
  z-index: 2;
}

.hero-plx__content {
  width: min(100%, 920px);
  margin-inline: auto;
  padding: 0;
  text-align: center;
}

.hero-plx__title {
  padding-top: 70px;
  max-width: 13ch;
  color: #ffffff;
  font-size: clamp(2.5rem, 5.2vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.hero-plx__title span,
.hero-plx__accent {
  color: var(--hero-accent, var(--color-primary));
  text-shadow: 0 12px 34px rgba(224, 31, 38, 0.24);
}

.hero-plx__subtitle {
  margin: 40px 0;
  max-width: 820px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.03rem, 1.5vw, 1.18rem);
  line-height: 1.82;
  text-shadow: 0 6px 18px rgba(255, 255, 255, 0.16);
}

.hero-plx__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 50px;
}

.hero-plx__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 34px rgba(0, 0, 0, 0.16);
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.hero-plx__btn .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hero-plx__btn:hover {
  transform: translateY(-2px);
}

.hero-plx__btn--whatsapp {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.56);
}

.hero-plx__btn--whatsapp:hover {
  color: #ffffff;
  background: #25d366;
  border-color: #25d366;
  box-shadow:
    0 16px 34px rgba(37, 211, 102, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.hero-plx__btn--quote {
  color: var(--hero-accent, #e01f26);
  border-color: color-mix(in srgb, var(--hero-accent, #e01f26) 55%, white 45%);
}

.hero-plx__btn--quote:hover {
  color: #ffffff;
  background: var(--hero-accent, #e01f26);
  border-color: var(--hero-accent, #e01f26);
  box-shadow:
    0 16px 34px rgba(224, 31, 38, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.hero-plx__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.hero-plx__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 10px 24px rgba(0, 0, 0, 0.14);
}

.hero-plx__badge .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--hero-accent, #e01f26);
}

/* =========================
   Desktop adjustments
========================= */
@media (min-width: 981px) {
  .hero-plx .container {
    display: flex;
    align-items: stretch;
    min-height: inherit;
  }

  .hero-plx__content {
    min-height: clamp(550px, 80vh, 700px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(18px, 2.2vh, 26px) 0 clamp(14px, 2vh, 20px);
  }

  .hero-plx__title {
    margin: 0 auto;
  }

  .hero-plx__actions {
    margin-top: 90px;
  }

  .hero-plx__subtitle {
    margin: auto auto 0;
    max-width: 860px;
  }

  .hero-plx__badges {
    margin-top: 12px;
    padding-top: 0;
  }
}

@media (max-width: 980px) {
  .hero-plx__badges {
    display: none;
  }
}

@media (max-width: 767px) {
  .hero-plx {
    min-height: 750px;
    align-items: flex-start;
  }

  .hero-plx__bg {
    background:
      linear-gradient(180deg, rgba(8, 12, 17, 0.048) 0%, rgba(8, 12, 17, 0.137) 34%, rgba(8, 12, 17, 0.205) 100%),
      radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 24%),
      radial-gradient(circle at 80% 12%, rgba(224, 31, 38, 0.18) 0%, rgba(224, 31, 38, 0) 28%),
      radial-gradient(circle at 50% 78%, rgba(224, 31, 38, 0.1) 0%, rgba(224, 31, 38, 0) 26%),
      url("/src/assets/images/bg_mobile.png") bottom / cover no-repeat;
    transform: none;
  }

  .hero-plx__content {
    padding: 30px 0 132px;
  }

  .hero-plx__title {
    max-width: 100%;
  }

  .hero-plx__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 130px;
  }

  .hero-plx__subtitle {
    margin-top: 90px;
  }

  .hero-plx__btn {
    width: 100%;
    min-height: 54px;
  }
}

@media (max-width: 560px) {
  .hero-plx {
    min-height: 700px;
  }

  .hero-plx__content {
    padding: 25px 0 25px;
  }

  .hero-plx__title {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }

  .hero-plx__actions {
    padding-top: 135px;
  }

  .hero-plx__subtitle {
    margin-top: 40px;
    font-size: 0.97rem;
    line-height: 1.72;
  }
}

@media (max-width: 390px) {
  .hero-plx {
    min-height: 600px;
  }

  .hero-plx__content {
    padding: 25px 0 20px;
  }

  .hero-plx__actions {
    margin-top: 140px;
  }

  .hero-plx__subtitle {
    margin-top: 40px;
  }
}