/* Sensible Heating Solutions homepage media enhancements.
   Kept separate from the compiled app bundle so pricing, calculator and lead flow remain untouched. */

.shs-hero-layout {
  width: min(100%, 1180px);
  margin: 0 auto clamp(1.4rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.shs-hero-copy {
  min-width: 0;
  text-align: left !important;
}

.shs-hero-copy h1 {
  max-width: 700px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  font-size: clamp(2.85rem, 4vw, 4rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em;
  text-align: left !important;
}

.shs-hero-copy p {
  text-align: left !important;
}

.shs-hero-media {
  width: 100%;
  margin: 0;
  aspect-ratio: 4 / 3;
  max-height: 520px;
  overflow: hidden;
  border-radius: 24px;
  background: #f3f3f1;
  box-shadow: 0 18px 50px rgba(25, 32, 37, 0.12);
}

.shs-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.shs-trust-strip {
  width: min(100% - 2rem, 1180px);
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(31, 41, 51, 0.09);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(25, 32, 37, 0.06);
}

.shs-trust-strip__item {
  min-width: 0;
  padding: 1.1rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-align: center;
  color: #27313a;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.shs-trust-strip__item + .shs-trust-strip__item {
  border-left: 1px solid rgba(31, 41, 51, 0.09);
}

.shs-trust-strip__check {
  flex: 0 0 auto;
  width: 1.45rem;
  height: 1.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff2e6;
  color: #cf6200;
  font-size: 0.85rem;
  font-weight: 900;
}

.shs-media-highlights {
  padding: clamp(3.5rem, 7vw, 6rem) 1.25rem;
  background: #f7f7f5;
  color: #1f2933;
}

.shs-media-highlights,
.shs-media-highlights * {
  box-sizing: border-box;
}

.shs-media-highlights__inner {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.shs-media-highlights__intro {
  max-width: 760px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.shs-media-highlights__eyebrow {
  margin: 0 0 0.65rem;
  color: #cf6200;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shs-media-highlights__intro h2 {
  margin: 0;
  color: #1d2730;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.shs-media-highlights__intro p {
  margin: 1rem auto 0;
  max-width: 680px;
  color: #59636d;
  font-size: 1rem;
  line-height: 1.7;
}

.shs-media-highlights__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.5vw, 1.75rem);
}

.shs-media-card {
  overflow: hidden;
  border: 1px solid rgba(31, 41, 51, 0.08);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(25, 32, 37, 0.07);
}

.shs-media-card__image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #ecece9;
}

.shs-media-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shs-media-card__body {
  padding: clamp(1.2rem, 2.6vw, 1.75rem);
}

.shs-media-card h3 {
  margin: 0;
  color: #1d2730;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.25;
}

.shs-media-card p {
  margin: 0.75rem 0 0;
  color: #5d6670;
  font-size: 0.98rem;
  line-height: 1.65;
}

.shs-media-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: stretch;
}

.shs-media-card--wide .shs-media-card__image {
  min-height: 300px;
  aspect-ratio: auto;
}

.shs-media-card--wide .shs-media-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 900px) {
  .shs-hero-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .shs-hero-copy h1 {
    font-size: clamp(2.55rem, 8vw, 3.8rem) !important;
  }

  .shs-hero-media {
    aspect-ratio: 16 / 10;
    max-height: none;
    border-radius: 18px;
  }

  .shs-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shs-trust-strip__item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(31, 41, 51, 0.09);
  }

  .shs-trust-strip__item:nth-child(4) {
    border-top: 1px solid rgba(31, 41, 51, 0.09);
  }

  .shs-media-highlights__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .shs-hero-layout {
    margin-bottom: 1.4rem;
  }

  .shs-hero-copy h1 {
    font-size: clamp(2.3rem, 10vw, 3.25rem) !important;
    line-height: 1.05 !important;
  }

  .shs-hero-media {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    box-shadow: 0 12px 34px rgba(25, 32, 37, 0.11);
  }

  .shs-trust-strip {
    width: calc(100% - 2rem);
    grid-template-columns: 1fr;
    border-radius: 14px;
  }

  .shs-trust-strip__item {
    justify-content: flex-start;
    text-align: left;
    padding: 0.9rem 1rem;
  }

  .shs-trust-strip__item + .shs-trust-strip__item,
  .shs-trust-strip__item:nth-child(3),
  .shs-trust-strip__item:nth-child(4) {
    border-left: 0;
    border-top: 1px solid rgba(31, 41, 51, 0.09);
  }

  .shs-media-highlights {
    padding: 3.5rem 1rem;
  }

  .shs-media-card,
  .shs-media-card--wide {
    grid-column: auto;
    display: block;
    border-radius: 16px;
  }

  .shs-media-card--wide .shs-media-card__image {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shs-media-highlights img,
  .shs-hero-media img {
    scroll-behavior: auto;
  }
}
