/* Atom Electric - corrective overrides
   Loaded after the compiled bundle so it wins without touching build/. */

/* --- broken / not-yet-uploaded product images ------------------------- */
/* js swaps the src to img/placeholder.svg on error; these rules make the
   placeholder (and any still-broken <img>) look intentional, not broken.   */
img.imgProduct,
img.imagen {
  background-color: #eef2f6;
  background-image: linear-gradient(135deg, #eef2f6 0%, #dde5ee 100%);
  object-fit: contain;
}

img.imgProduct {
  min-height: 130px;
  width: 100%;
}

img.imgProduct.img-fallback,
img.imagen.img-fallback {
  opacity: .85;
}

/* --- layout helpers ---------------------------------------------------- */
.videoHero {
  display: block;
  width: 100%;
  height: auto;
  background-color: #0a2a45;
}

/* footer restructure: ISE wordmark and mail line are no longer headings */
.ISE {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 .5rem;
}

.footerMail {
  margin: .5rem 0 0;
}

.footerMail img,
.iseF img {
  vertical-align: middle;
}

/* contact form note */
.formNote {
  margin-top: .75rem;
  font-size: .9rem;
  line-height: 1.5;
  color: #0f5aa8;
}

/* --- accessibility ----------------------------------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ff6a13;
  outline-offset: 2px;
}

/* respect reduced-motion for the hero video */
@media (prefers-reduced-motion: reduce) {
  .videoHero {
    display: none;
  }
}

/* --- per-product quote button ----------------------------------------- */
.btnQuote {
  display: block;
  margin: .5rem auto .25rem;
  padding: .35rem .9rem;
  width: fit-content;
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.3;
  color: #ffffff;
  background-color: #0f5aa8;
  border: 1px solid #0f5aa8;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  transition: background-color .15s ease, color .15s ease;
}

.btnQuote:hover,
.btnQuote:focus-visible {
  background-color: #ffffff;
  color: #0f5aa8;
  text-decoration: none;
}

/* --- brand page CTA band ---------------------------------------------- */
.ctaBand {
  background-color: #eef2f6;
  border-top: 3px solid #0f5aa8;
  padding: 2.5rem 1.25rem;
  margin-top: 2rem;
}

.ctaInner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.ctaInner h2 {
  margin: 0 0 .6rem;
  font-size: 1.5rem;
  color: #0a3d73;
}

.ctaInner p {
  margin: 0 auto 1.4rem;
  max-width: 640px;
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
}

.ctaActions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}

.btnPrimary,
.btnGhost {
  display: inline-block;
  padding: .7rem 1.5rem;
  font-size: .95rem;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none;
}

.btnPrimary {
  background-color: #ff6a13;
  border: 1px solid #ff6a13;
  color: #ffffff;
}

.btnPrimary:hover {
  background-color: #e05a0c;
  color: #ffffff;
  text-decoration: none;
}

.btnGhost {
  background-color: #ffffff;
  border: 1px solid #0f5aa8;
  color: #0f5aa8;
}

.btnGhost:hover {
  background-color: #0f5aa8;
  color: #ffffff;
  text-decoration: none;
}

/* --- enquiry context chip on the contact form -------------------------- */
.enquiryChip {
  margin: 0 0 1rem;
  padding: .6rem .8rem;
  font-size: .95rem;
  line-height: 1.5;
  color: #0a3d73;
  background-color: #eef2f6;
  border-left: 4px solid #ff6a13;
}

@media (max-width: 600px) {
  .ctaActions {
    flex-direction: column;
  }

  .btnPrimary,
  .btnGhost {
    text-align: center;
  }
}
