/*
  ETECHTICS SOFTWARE SOLUTIONS — Inner page hero
  -------------------------------------------------
  One hero for every page except Home: the light decorative banner
  (images/inner-banner.webp), a one-line heading at the same size on
  every page, and a quick enquiry form on the right
  (js/quick-form.js). Self-contained: depends only on tokens.css,
  base.css (buttons) and this file.
*/

.ip-hero {
  position: relative;
  background: #ffffff url("/assets/images/inner-banner.webp?v=3") center bottom / 100% auto no-repeat;
  border-bottom: 1px solid var(--color-border);
  padding-block: 72px 88px;
}
.ip-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 56px;
  align-items: center;
}

.ip-hero__eyebrow {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A65F00;
  background: rgba(255, 150, 0, 0.12);
  border: 1px solid rgba(255, 150, 0, 0.4);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.9rem;
  margin-bottom: var(--space-3);
}
.ip-hero h1 {
  color: var(--color-navy);
  font-size: clamp(1.75rem, 1rem + 1.75vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
  margin: 0 0 var(--space-3);
}
.ip-hero__lede {
  color: var(--color-body-text);
  font-size: var(--font-size-md);
  max-width: 58ch;
  margin: 0 0 var(--space-4);
}
.ip-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.ip-hero__stats {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}
.ip-hero__stat-label {
  display: block;
  font-size: var(--font-size-sm);
  color: var(--color-muted);
  max-width: 22ch;
}
.ip-hero__stat-label strong {
  display: block;
  color: var(--color-navy);
  font-size: var(--font-size-base);
  margin-bottom: 0.15rem;
}

/* ---------------------------------------------------------------
   Responsive — the one-line rule relaxes only on smaller screens
--------------------------------------------------------------- */
@media (max-width: 1180px) {
  .ip-hero__inner { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
  .ip-hero h1 { font-size: 2rem; white-space: normal; }
}
@media (max-width: 1023px) {
  .ip-hero { padding-block: 56px 64px; }
  .ip-hero__inner { grid-template-columns: 1fr; }
  .ip-hero__form { max-width: 560px; }
}
@media (max-width: 599px) {
  .ip-hero h1 { font-size: 1.75rem; }
  .ip-hero__stats { flex-direction: column; gap: var(--space-2); }
}

/* ---------------------------------------------------------------
   Page illustration on the right of the hero
--------------------------------------------------------------- */
.ip-hero__visual {
  display: flex;
  justify-content: flex-end;   /* right column hugs the right edge */
}
.ip-hero__visual svg {
  width: 100%;
  max-width: 470px;
  height: auto;
  overflow: visible;
}
.ip-hero__visual text { font-family: var(--font-base); }
.hv-title { fill: var(--color-navy); font-weight: 700; }
.hv-label { fill: var(--color-body-text); font-weight: 600; }
.hv-muted { fill: var(--color-muted); font-weight: 600; }
.hv-white { fill: #ffffff; font-weight: 700; }
@media (max-width: 1023px) {
  .ip-hero__visual { order: 2; justify-content: center; }
  .ip-hero__visual svg { max-width: 420px; }
}
