.sh-home-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 515px;
  overflow: hidden;
  color: var(--sh-white);
  background: #070707;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sh-home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("/assets/images/hero_bg_03.png");
  background-repeat: no-repeat;
  background-position: center 42%;
  background-size: cover;
  transform: scale(1.02);
}

.sh-home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.68) 0%,
      rgba(0, 0, 0, 0.48) 32%,
      rgba(0, 0, 0, 0.1) 62%,
      rgba(0, 0, 0, 0.4) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.05) 55%,
      rgba(0, 0, 0, 0.24) 100%
    );
}

.sh-home-hero .container {
  position: relative;
  z-index: 2;
}

.sh-home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  min-height: 515px;
  padding: 4.1rem 0 3.9rem;
}

.sh-home-hero__content {
  max-width: 500px;
}

.sh-home-hero__content h1 {
  margin: 0 0 0.45rem;
  font-family: "Sofia Sans Condensed", "Sofia Sans", sans-serif;
  font-size: clamp(2.5rem, 4.2vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.86;
  text-transform: uppercase;
}

.sh-home-hero__script {
  margin-bottom: 1.55rem;
}

.sh-home-hero__tagline {
  width: 320px;
  max-width: 100%;
  height: auto;
}

.sh-home-hero__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Sofia Sans Condensed", "Sofia Sans", sans-serif;
  font-size: clamp(1.25rem, 1.9vw, 1.75rem);
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.sh-home-hero__divider {
  width: 58px;
  height: 2px;
  margin: 1.3rem 0 1.55rem;
  background: var(--sh-gold);
  border-radius: 999px;
}

.sh-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.sh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.62rem;
  min-height: 56px;
  padding: 1rem 1.75rem;
  border-radius: 8px;
  font-family: "Sofia Sans Condensed", "Sofia Sans", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.sh-btn--primary {
  color: var(--sh-white);
  background: linear-gradient(180deg, var(--sh-red), var(--sh-red-dark));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 32px rgba(201, 21, 36, 0.26);
}

.sh-btn--primary:hover,
.sh-btn--primary:focus-visible {
  color: var(--sh-white);
  background: linear-gradient(180deg, #db1b2d, var(--sh-red));
  box-shadow: 0 20px 38px rgba(201, 21, 36, 0.34);
  transform: translateY(-1px);
}

.sh-btn--outline {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.sh-btn--outline:hover,
.sh-btn--outline:focus-visible {
  color: var(--sh-white);
  border-color: rgba(200, 154, 74, 0.8);
  background: rgba(200, 154, 74, 0.1);
  transform: translateY(-1px);
}

.sh-home-search {
  width: 100%;
  padding: 1.35rem 1.45rem 1.45rem;
  color: var(--sh-white);
  background: rgba(15, 14, 13, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.sh-home-search h2 {
  margin: 0 0 1.15rem;
  color: var(--sh-white);
  font-family: "Sofia Sans Condensed", "Sofia Sans", sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.sh-home-search__form {
  display: grid;
  gap: 0.95rem;
}

.sh-home-search__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.sh-home-search__field label,
.sh-home-search__price-label {
  display: block;
  margin-bottom: 0.36rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.sh-home-search .form-select {
  min-height: 44px;
  color: rgba(255, 255, 255, 0.94);
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: none;
}

.sh-home-search .form-select:focus {
  border-color: rgba(200, 154, 74, 0.9);
  box-shadow: 0 0 0 0.18rem rgba(200, 154, 74, 0.22);
}

.sh-home-search__price {
  padding: 0.35rem 0 0.2rem;
}

.sh-home-search__range {
  position: relative;
  height: 4px;
  margin: 0.85rem 0 0.65rem;
  background: rgba(255, 255, 255, 0.24);
  border-radius: 999px;
}

.sh-home-search__range-fill {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: var(--sh-gold);
  border-radius: inherit;
  pointer-events: none;
}

.sh-home-search__range-handle {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  padding: 0;
  background: var(--sh-white);
  border: 3px solid var(--sh-gold);
  border-radius: 50%;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.18);
  transform: translate(-50%, -50%);
  cursor: pointer;
  appearance: none;
}

.sh-home-search__range-handle--min {
  left: 0;
}

.sh-home-search__range-handle--max {
  left: 100%;
}

.sh-home-search__range-handle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
}

.sh-home-search__price-values {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.84rem;
  font-weight: 700;
}

.sh-home-search__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 50px;
  width: 100%;
  margin-top: 0.2rem;
  color: var(--sh-white);
  background: linear-gradient(180deg, #e4ad55, #c98d32);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 16px 28px rgba(201, 141, 50, 0.24);
  font-family: "Sofia Sans Condensed", "Sofia Sans", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.sh-home-search__submit:hover,
.sh-home-search__submit:focus-visible {
  background: linear-gradient(180deg, #f0bb66, #d69a3c);
  box-shadow: 0 20px 36px rgba(201, 141, 50, 0.34);
  transform: translateY(-1px);
}

/* Explore section */
.sh-explore {
  background:
    radial-gradient(
      circle at 18% 0%,
      rgba(200, 154, 74, 0.08),
      rgba(255, 255, 255, 0) 34%
    ),
    #ffffff;
}

.sh-section-title {
  margin: 0;
  color: #111111;
  font-family: "Sofia Sans Condensed", "Sofia Sans", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
}

.sh-explore-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1rem;
}

.sh-explore-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  color: #151515;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.sh-explore-card:hover,
.sh-explore-card:focus-visible {
  color: #151515;
  border-color: rgba(200, 154, 74, 0.65);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.sh-explore-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f3f1ee;
}

.sh-explore-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.sh-explore-card:hover .sh-explore-card__image img,
.sh-explore-card:focus-visible .sh-explore-card__image img {
  transform: scale(1.045);
}

.sh-explore-card__badge {
  position: absolute;
  top: 0.72rem;
  left: 0.72rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.32rem 0.58rem;
  color: #ffffff;
  background: linear-gradient(180deg, #e4ad55, #c98d32);
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(201, 141, 50, 0.28);
  font-family: "Sofia Sans Condensed", "Sofia Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.sh-explore-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 148px;
  padding: 1rem 1rem 1.05rem;
}

.sh-explore-card__body h3 {
  margin: 0 0 0.32rem;
  color: #111111;
  font-family: "Sofia Sans Condensed", "Sofia Sans", sans-serif;
  font-size: clamp(1.08rem, 1.2vw, 1.32rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.03;
}

.sh-explore-card__body p {
  margin: 0;
  color: #555b66;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.32;
}

.sh-explore-card__arrow {
  display: inline-flex;
  align-items: center;
  width: 34px;
  height: 34px;
  margin-top: auto;
  padding-top: 0.85rem;
  color: var(--sh-red);
  font-size: 1.75rem;
  line-height: 1;
  transition:
    transform 180ms ease,
    color 180ms ease;
}

.sh-explore-card:hover .sh-explore-card__arrow,
.sh-explore-card:focus-visible .sh-explore-card__arrow {
  color: var(--sh-red-dark);
  transform: translateX(4px);
}

.sh-home-classifieds {
  padding-top: 0.25rem;
}

.sh-section-heading__title {
  color: #111111;
  font-family: "Sofia Sans Condensed", "Sofia Sans", sans-serif;
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.sh-section-heading__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0;
  color: var(--sh-blue, #0d6efd);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

.sh-section-heading__pill:hover,
.sh-section-heading__pill:focus-visible,
.sh-section-heading__pill.is-active {
  color: var(--sh-red);
  border-color: var(--sh-red);
  outline: 0;
}

.sh-section-heading__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--sh-blue, #0d6efd);
  font-weight: 800;
  text-decoration: none;
}

.sh-section-heading__link:hover,
.sh-section-heading__link:focus-visible {
  color: var(--sh-red);
}

.sh-home-classifieds__status {
  min-height: 44px;
  padding: 0.8rem 1rem;
  color: #626975;
  background: #f7f7f7;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  font-weight: 700;
}

.sh-home-classifieds__status[hidden] {
  display: none;
}

@media (max-width: 1199.98px) {
  .sh-home-hero__inner {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 2.5rem;
  }

  .sh-explore-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .sh-home-hero {
    min-height: auto;
  }

  .sh-home-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.64) 0%,
      rgba(0, 0, 0, 0.44) 48%,
      rgba(0, 0, 0, 0.72) 100%
    );
  }

  .sh-home-hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 4rem 0 3rem;
  }

  .sh-home-hero__content {
    max-width: 680px;
  }

  .sh-home-search {
    max-width: 520px;
  }

  .sh-explore-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .sh-home-hero__inner {
    padding: 3rem 0 2.25rem;
  }

  .sh-home-hero__content h1 {
    font-size: 3.1rem;
  }

  .sh-home-hero__lead {
    font-size: 1.55rem;
  }

  .sh-home-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .sh-btn {
    width: 100%;
  }

  .sh-home-search {
    padding: 1rem;
    border-radius: 14px;
  }

  .sh-home-search__grid {
    grid-template-columns: 1fr;
  }

  .sh-section-title {
    font-size: 2rem;
  }

  .sh-explore-grid {
    grid-template-columns: 1fr;
  }
}
