/* Homepage entry retained from the layout approved by Ellis. */
.home-page .hero {
  --hero-paper: #fff;
  --hero-ink: #17232d;
  --hero-signal: var(--site-orange);
  display: block;
  width: 100%;
  min-height: 660px;
  margin: 0 auto;
  padding: clamp(76px, 9vw, 132px) clamp(20px, 5vw, 82px) clamp(88px, 10vw, 148px);
  color: var(--hero-paper);
  background: var(--site-hero-gradient);
  font-family: "Segoe UI", "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  text-align: center;
}
.home-page .hero .copy { position: relative; width: min(1120px, 100%); margin: 0 auto; }
.home-page .hero .eyebrow {
  max-width: 70ch;
  margin: 0 0 17px;
  color: #ffb45f;
  font-size: .74rem;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: .115em;
  text-transform: uppercase;
}
.home-page .hero h1 {
  max-width: 20ch;
  margin-inline: auto;
  color: var(--hero-paper);
  font-family: Montserrat, "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  font-size: clamp(3.1rem, 7.5vw, 6.65rem);
  font-weight: 760;
  line-height: .96;
  letter-spacing: -.055em;
}
.home-page .hero .copy > p:not(.eyebrow) {
  max-width: 760px;
  margin: 28px auto 34px;
  color: var(--site-dark-copy);
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  line-height: 1.65;
}
.hero-quote {
  display: block;
  width: min(1080px, 100%);
  margin: 38px auto 0;
  padding: clamp(18px, 2.6vw, 28px);
  color: #fff;
  background: var(--site-panel);
  border: 1px solid #353d44;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgb(0 0 0 / 32%);
  text-align: left;
}
.request-toggle {
  display: flex;
  width: fit-content;
  margin: 0 0 18px;
  padding: 4px;
  background: #0f1317;
  border: 1px solid #3d464e;
  border-radius: 11px;
}
.request-toggle legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.request-toggle label { display: block; font-weight: 680; cursor: pointer; }
.request-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.request-toggle span {
  display: block;
  padding: 9px 15px;
  color: #bfc7cd;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 750;
  line-height: 1.25;
  transition: color 160ms ease, background 160ms ease;
}
.request-toggle input:checked + span { color: #15191d; background: var(--hero-signal); }
.request-toggle input:focus-visible + span { outline: 3px solid #8fc7ff; outline-offset: 2px; }
.hero-fields { display: grid; grid-template-columns: minmax(260px, 2fr) minmax(190px, .85fr) auto; gap: 12px; align-items: end; }
.hero-fields label { display: grid; gap: 7px; min-width: 0; color: #edf1f3; font-size: .82rem; font-weight: 720; }
.hero-fields input {
  width: 100%;
  min-height: 56px;
  padding: 11px 12px;
  color: #111519;
  background: #fff;
  border: 1px solid white;
  border-radius: 8px;
  font-size: 1rem;
}
.hero-fields .button {
  min-height: 56px;
  padding: 10px 18px;
  border-radius: 8px;
  color: #0f1922;
  background: var(--hero-signal);
  font-weight: 730;
  white-space: nowrap;
}
.hero-fields .button:hover { background: #d87510; }
.hero-form-note { margin: 13px 0 0; color: #aeb8bf; font-size: .78rem; line-height: 1.5; }

@media (max-width: 900px) {
  .home-page .hero { padding-top: 70px; padding-bottom: 88px; }
  .home-page .hero h1 { max-width: 18ch; }
  .hero-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-fields .button { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 620px) {
  .home-page .hero { min-height: 0; padding: 44px 16px 58px; }
  .home-page .hero h1 { max-width: none; font-size: clamp(2.35rem, 12vw, 4.1rem); line-height: .98; }
  .home-page .hero .copy > p:not(.eyebrow) { margin-block: 20px 24px; }
  .hero-quote { margin-top: 24px; padding: 16px; border-radius: 14px; }
  .request-toggle { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; min-width: 0; }
  .request-toggle span { min-height: 44px; padding: 10px 8px; text-align: center; }
  .hero-fields { grid-template-columns: minmax(0, 1fr); }
  .hero-fields input, .hero-fields .button { min-height: 52px; }
  .hero-fields .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .request-toggle span { transition: none; } }
