/* DoorWin service hub hero — old service-page visual style, current SEO copy. */
.hub-v62-hero {
  padding: 0 0 28px;
  color: #ffffff;
}
.hub-v62-hero .container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}
.hub-v62-hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .78fr);
  gap: clamp(22px, 3vw, 38px);
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: clamp(26px, 4vw, 48px);
  min-height: clamp(420px, 54vw, 560px);
  background: linear-gradient(135deg, #0b1220 0%, #0b3a57 56%, #0b1220 100%);
  box-shadow: 0 26px 70px rgba(15,23,42,.18);
  isolation: isolate;
}
.hub-v62-hero__row::before {
  content: '';
  position: absolute;
  inset: -18% -8% auto auto;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(14,165,233,.28), rgba(14,165,233,0) 65%);
  z-index: -1;
}
.hub-v62-hero__row::after {
  content: '';
  position: absolute;
  inset: auto auto -30% -10%;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(249,115,22,.22), rgba(249,115,22,0) 68%);
  z-index: -1;
}
.hub-v62-hero[data-hub="emergency"] .hub-v62-hero__row { background: linear-gradient(135deg, #170b0b 0%, #7f1d1d 54%, #111827 100%); }
.hub-v62-hero[data-hub="doors"] .hub-v62-hero__row { background: linear-gradient(135deg, #0b1220 0%, #0b3a57 55%, #0b1220 100%); }
.hub-v62-hero[data-hub="windows"] .hub-v62-hero__row { background: linear-gradient(135deg, #0f172a 0%, #14532d 56%, #0f172a 100%); }
.hub-v62-hero[data-hub="glass"] .hub-v62-hero__row { background: linear-gradient(135deg, #0b1220 0%, #0b3a57 58%, #13213a 100%); }
.hub-v62-hero[data-hub="hardware"] .hub-v62-hero__row { background: linear-gradient(135deg, #111827 0%, #134e4a 54%, #0f172a 100%); }
.hub-v62-hero[data-hub="maintenance"] .hub-v62-hero__row { background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 54%, #0f172a 100%); }
.hub-v62-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hub-v62-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.18);
  font-size: .78rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  backdrop-filter: blur(10px);
}
.hub-v62-hero__title {
  margin: 16px 0 14px;
  max-width: 840px;
  color: #ffffff;
  font-size: clamp(2.25rem, 4.8vw, 4.65rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 760;
  text-wrap: balance;
  text-shadow: 0 4px 24px rgba(0,0,0,.28);
}
.hub-v62-hero__title span {
  color: #7dd3fc;
  font-style: normal;
}
.hub-v62-hero[data-hub="emergency"] .hub-v62-hero__title span { color: #fed7aa; }
.hub-v62-hero[data-hub="windows"] .hub-v62-hero__title span { color: #bbf7d0; }
.hub-v62-hero[data-hub="hardware"] .hub-v62-hero__title span { color: #99f6e4; }
.hub-v62-hero[data-hub="maintenance"] .hub-v62-hero__title span { color: #bfdbfe; }
.hub-v62-hero__sub {
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.62;
  font-weight: 430;
  text-shadow: 0 2px 16px rgba(0,0,0,.22);
}
.hub-v62-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.hub-v62-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.24);
  font-weight: 760;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.hub-v62-hero__btn:hover { transform: translateY(-1px); }
.hub-v62-hero__btn--primary {
  background: #0ea5e9;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 14px 30px rgba(14,165,233,.28);
}
.hub-v62-hero__btn--primary:hover { background: #0284c7; }
.hub-v62-hero[data-hub="emergency"] .hub-v62-hero__btn--primary { background: #dc2626; box-shadow: 0 14px 30px rgba(220,38,38,.28); }
.hub-v62-hero[data-hub="emergency"] .hub-v62-hero__btn--primary:hover { background: #b91c1c; }
.hub-v62-hero__btn--secondary {
  background: rgba(255,255,255,.08);
  color: #fff;
  backdrop-filter: blur(10px);
}
.hub-v62-hero__btn--secondary:hover { background: rgba(255,255,255,.15); }
.hub-v62-hero__trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin-top: 24px;
  max-width: 720px;
}
.hub-v62-hero__trust div {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.88);
  font-size: .95rem;
  line-height: 1.35;
  font-weight: 560;
}
.hub-v62-hero__trust span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: #fff;
  flex: 0 0 auto;
}
.hub-v62-hero__image {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 24px;
  min-height: 330px;
  height: 100%;
  background: #111827;
  box-shadow: 0 20px 52px rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.18);
}
.hub-v62-hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0) 45%, rgba(15,23,42,.58) 100%);
  pointer-events: none;
}
.hub-v62-hero__image img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
}
.hub-v62-hero__image-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15,23,42,.76);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
@media (max-width: 980px) {
  .hub-v62-hero__row { grid-template-columns: 1fr; min-height: auto; }
  .hub-v62-hero__copy { max-width: 100%; }
  .hub-v62-hero__image { min-height: 300px; }
  .hub-v62-hero__image img { min-height: 300px; }
}
@media (max-width: 640px) {
  .hub-v62-hero { padding-bottom: 22px; }
  .hub-v62-hero .container { width: min(100%, calc(100% - 20px)); }
  .hub-v62-hero__row { padding: 22px; border-radius: 22px; gap: 20px; }
  .hub-v62-hero__title { font-size: clamp(2.05rem, 11vw, 3.2rem); line-height: 1.02; }
  .hub-v62-hero__actions { flex-direction: column; }
  .hub-v62-hero__btn { width: 100%; }
  .hub-v62-hero__trust { grid-template-columns: 1fr; }
  .hub-v62-hero__image, .hub-v62-hero__image img { min-height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .hub-v62-hero__btn { transition: none; }
}

/* Safety fallback if the hub helper is missing during partial uploads. */
.hub-fallback-hero { padding: 24px 0 28px; }
.hub-fallback-hero__box {
  width:min(1180px, calc(100% - 24px));
  margin-inline:auto;
  border-radius:24px;
  padding:34px 28px;
  background:linear-gradient(135deg,#111827,#1f2937);
  color:#fff;
  text-align:center;
}
.hub-fallback-hero h1 { margin:0 0 10px; font-size:clamp(2rem,4vw,3.4rem); line-height:1.04; }
.hub-fallback-hero p { max-width:760px; margin:0 auto 18px; color:rgba(255,255,255,.78); line-height:1.6; }
.hub-fallback-hero a { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:0 18px; border-radius:999px; background:#fff; color:#111827; font-weight:700; text-decoration:none; }
