/* ============================================================
   Homepage layout — Chase-style formats in the Busultans palette
   (index.html only; same content as before, new presentation)
   ============================================================ */

/* Line icons from the sprite at the top of index.html */
.hp-i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Utility bar ---------- */
.hp-utility {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 8px 6%; background: var(--navy); color: rgba(255,255,255,.78); font-size: 12.5px; font-weight: 600;
}
.hp-utility a { color: inherit; display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; }
.hp-utility a:hover { color: #fff; }
.hp-utility .hp-i { width: 15px; height: 15px; }
.hp-utility-left, .hp-utility-right { display: flex; align-items: center; gap: 22px; }
.hp-utility-left a.active { color: #fff; box-shadow: inset 0 -2px 0 var(--gold); }

/* ---------- Sections ---------- */
.hp-section { padding: 84px 6%; background: #fff; }
.hp-soft, .hp-svc-band { background: #f6f9ff; }   /* same tint as the page behind the hero stats */
.hp-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.hp-kicker { display: inline-block; color: #9a7322; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; font-size: 12px; margin-bottom: 10px; }
.hp-head h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -1px; color: var(--navy); font-weight: 750; text-wrap: balance; }
.hp-head p { color: #55657e; margin-top: 14px; font-size: 16px; line-height: 1.7; }

/* ---------- Services (Bank of America style) ----------
   One flat tinted band (it continues the band behind the stats row),
   a light centred heading, then columns divided by hairlines: large
   line icon, coloured title, short copy, plain text link. No cards,
   no shadows. */
.hp-svc-band { padding-top: 24px; }
.hp-head-light h2 { font-weight: 300; letter-spacing: -.5px; color: #17253a; }
.hp-head-light p { color: #3d4a5c; }
.hp-svc-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 52px;
  max-width: 1160px; margin: 8px auto 0;
}
.hp-svc { display: flex; flex-direction: column; gap: 18px; padding: 4px 34px; border-left: 1px solid #d3dbe7; scroll-margin-top: 110px; }
.hp-svc:nth-child(3n+1) { border-left: 0; }
.hp-svc-ico { width: 60px; height: 60px; stroke-width: 1.35; color: var(--navy2); }
.hp-svc:nth-child(even) .hp-svc-ico { color: #b8892a; }
.hp-svc-body { display: flex; flex-direction: column; flex: 1; }
.hp-svc h3 { color: #7d5c17; font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -.2px; margin-bottom: 10px; }
.hp-svc p { color: #2a3647; font-size: 15px; line-height: 1.6; margin-bottom: 16px; }
.hp-svc-link { margin-top: auto; align-self: flex-start; color: var(--royal); font-size: 16px; font-weight: 600; text-underline-offset: 3px; }
.hp-svc-link:hover { text-decoration: underline; }
.hp-svc-link:focus-visible { outline: 3px solid var(--royal); outline-offset: 3px; border-radius: 4px; }

/* ---------- About (Bank of America style) ----------
   Their app banner: a navy band with a lighter blue diagonal wedge,
   light white heading. Then their "Connect with us" cards: white,
   softly shadowed, a centred line icon above a short label. */
.hp-about { background: #fff; }
.hp-about-band {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 84px 6%; background: #0a2552; color: #fff;
}
.hp-about-band::before {           /* the diagonal wedge */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, #0d3a85 0%, #1663c7 100%);
  clip-path: polygon(40% 100%, 100% 0, 100% 100%);
}
.hp-about-art {                    /* faint outline of the bank, sitting in the wedge */
  position: absolute; z-index: -1; right: 8%; top: 50%; width: 230px; height: 230px;
  transform: translateY(-50%); color: rgba(255,255,255,.14); stroke-width: .8; pointer-events: none;
}
.hp-about-copy { max-width: 1160px; margin: 0 auto; }
.hp-about-copy > * { max-width: 640px; }
.hp-about-copy .hp-kicker { color: var(--gold); }
.hp-about-copy h2 { color: #fff; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.2; font-weight: 300; letter-spacing: -.5px; text-wrap: balance; }
.hp-about-copy p { color: rgba(255,255,255,.86); margin-top: 18px; font-size: 18px; line-height: 1.75; }
.hp-values {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  max-width: 1160px; margin: 0 auto; padding: 64px 0 88px; width: 88%;
}
.hp-value {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 32px 26px 30px; background: #fff; border-radius: 12px;
  box-shadow: 0 1px 4px rgba(10,35,70,.08), 0 8px 24px rgba(10,35,70,.07);
  transition: box-shadow .2s ease, transform .2s ease;
}
.hp-value:hover { box-shadow: 0 2px 6px rgba(10,35,70,.1), 0 18px 40px rgba(10,35,70,.11); transform: translateY(-2px); }
.hp-value-ico { width: 34px; height: 34px; color: var(--royal); stroke-width: 1.5; margin-bottom: 4px; }
.hp-value h3 { font-size: 17px; color: #17253a; font-weight: 600; }
.hp-value p { color: #46546a; font-size: 14.5px; line-height: 1.6; }

/* ---------- Rates ---------- */
.hp-rates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto 48px; }
.hp-rate {
  display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center;
  padding: 30px 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 10px 30px rgba(10,35,70,.05);
}
.hp-rate span { color: #55657e; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; }
.hp-rate strong { color: var(--navy); font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -1px; font-weight: 800; }

/* ---------- Promo banner (Need a Card?) ---------- */
.hp-promo {
  position: relative; overflow: hidden; isolation: isolate; scroll-margin-top: 110px;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 30px; align-items: center;
  max-width: 1140px; margin: 0 auto; padding: 48px 52px; border-radius: 24px; color: #fff;
  background: radial-gradient(circle at 90% 10%, rgba(214,170,66,.28), transparent 40%), linear-gradient(135deg, #06162d 0%, #0c3a72 70%, #0c4a8a 100%);
  box-shadow: 0 24px 70px rgba(6,22,45,.22);
}
.hp-promo-copy h2 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -1px; margin-bottom: 14px; }
.hp-promo-copy p { color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.7; margin-bottom: 26px; max-width: 520px; }
.hp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 850; font-size: 14px; border: none;
}
.hp-btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: var(--navy); box-shadow: 0 12px 30px rgba(214,170,66,.28); }
.hp-btn-gold:hover { filter: brightness(1.04); }
.hp-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hp-promo-art { position: relative; height: 220px; }
.hp-mini-card {
  position: absolute; right: 8%; top: 18px; width: min(320px, 100%); aspect-ratio: 1.586; border-radius: 20px; padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(circle at 80% 15%, rgba(214,170,66,.5), transparent 35%), linear-gradient(135deg, #0a1a33, #12457f);
  border: 1px solid rgba(255,255,255,.18); box-shadow: 0 24px 50px rgba(0,0,0,.35); transform: rotate(-6deg);
}
.hp-mini-back { right: 20%; top: 46px; transform: rotate(4deg); opacity: .55; background: linear-gradient(135deg, #d6aa42, #8f6a1f); }
.hp-mini-chip { width: 42px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--gold2), var(--gold)); }
.hp-mini-num { font-size: 17px; letter-spacing: 2.5px; }
.hp-mini-brand { align-self: flex-end; font-weight: 850; letter-spacing: 1px; font-size: 13px; color: var(--gold2); }

/* ---------- Contact ---------- */
.hp-contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px; max-width: 1140px; margin: 0 auto; align-items: start; }
.hp-form {
  position: relative; padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 18px 50px rgba(10,35,70,.07);
}
.hp-form h2 { font-size: 24px; color: var(--navy); letter-spacing: -.5px; margin-bottom: 20px; }
.hp-form textarea {
  width: 100%; padding: 14px; border: 1px solid #dce5f2; border-radius: 16px; outline: none; font-size: 14px;
  background: #fff; color: var(--text); font-family: inherit; resize: vertical;
}
.hp-form textarea:focus { border-color: var(--royal); box-shadow: 0 0 0 4px rgba(18,87,178,.1); }
.hp-channels {
  padding: 32px; border-radius: 22px; color: #fff;
  background: linear-gradient(160deg, #0b2a55 0%, #06162d 100%); box-shadow: 0 18px 50px rgba(6,22,45,.18);
}
.hp-channels h2 { font-size: 22px; margin-bottom: 18px; }
.hp-channel { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.hp-channel-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--gold2); flex: none; }
.hp-channel-ico .hp-i { width: 20px; height: 20px; }
.hp-channel div > span { display: block; color: rgba(255,255,255,.62); font-size: 12.5px; }
.hp-channel strong { display: block; color: #fff; font-size: 15px; margin-top: 2px; overflow-wrap: anywhere; }
.hp-channels p { color: rgba(255,255,255,.66); font-size: 13px; line-height: 1.65; margin-top: 20px; }

/* ---------- Footer ---------- */
.hp-footer { background: #06162d; color: rgba(255,255,255,.72); }
.hp-footer-top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: 40px; padding: 56px 6% 40px; }
.hp-footer-logo { display: inline-block; color: #fff; border-radius: 6px; }
.hp-footer-logo:focus-visible { outline: 3px solid var(--gold2); outline-offset: 4px; }
.hp-footer-brand p { margin: 10px 0 22px; line-height: 1.7; }
.hp-footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.hp-footer-cols h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.hp-footer-cols a, .hp-footer-cols p { display: block; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.6; margin-bottom: 8px; }
.hp-footer-cols a:hover { color: var(--gold2); }
.hp-footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 6%; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 1050px) {
  .hp-utility { display: none; }
  .hp-about-art { right: 4%; width: 180px; height: 180px; }
  .hp-contact { grid-template-columns: minmax(0, 1fr); }
  .hp-footer-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .hp-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .hp-svc:nth-child(3n+1) { border-left: 1px solid #d3dbe7; }
  .hp-svc:nth-child(2n+1) { border-left: 0; }
  .hp-svc { padding: 4px 28px; }
  /* Text spans the band, so the wedge narrows to a corner and the outline goes */
  .hp-about-band::before { clip-path: polygon(62% 100%, 100% 35%, 100% 100%); }
  .hp-about-art { display: none; }
  .hp-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-promo { grid-template-columns: minmax(0, 1fr); padding: 36px 28px; }
  .hp-promo-art { height: 190px; }
  .hp-mini-card { right: auto; left: 50%; margin-left: -150px; width: 300px; }
  .hp-mini-back { margin-left: -120px; }
}
@media (max-width: 700px) {
  .hp-section { padding: 60px 16px; }
  .hp-head { margin-bottom: 28px; }
  .hp-rates { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hp-about-band { padding: 56px 16px 72px; }
  .hp-about-band::before { clip-path: polygon(74% 100%, 100% 80%, 100% 100%); }
  .hp-about-copy p { font-size: 16px; }
  .hp-values { width: auto; padding: 40px 16px 60px; gap: 14px; }
  .hp-value { padding: 26px 20px 24px; }
  .hp-footer-cols { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hp-footer-top { padding: 44px 16px 28px; }
  .hp-footer-bottom { padding: 16px; }
  .hp-form, .hp-channels { padding: 24px 20px; }
  .hp-svc-band { padding-top: 16px; }
}
@media (max-width: 600px) {
  /* One column: icon beside the text, hairlines between services */
  .hp-svc-grid { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .hp-svc, .hp-svc:nth-child(n) { flex-direction: row; gap: 16px; padding: 24px 0; border-left: 0; border-top: 1px solid #d3dbe7; }
  .hp-svc:first-child { border-top: 0; padding-top: 4px; }
  .hp-svc-ico { width: 44px; height: 44px; flex: none; }
  .hp-svc h3 { font-size: 19px; margin-bottom: 8px; }
  .hp-svc p { margin-bottom: 12px; }
  .hp-values { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .hp-mini-card { width: 260px; margin-left: -130px; padding: 18px; }
  .hp-mini-back { margin-left: -105px; }
  .hp-mini-num { font-size: 14px; letter-spacing: 2px; }
}
