/* ==========================================================================
   3 Lions — Hub page format (reuses home.css; adds the alternating service
   rows, FAQ, and hub-hero chrome). Self-contained, Roboto, navy/red.
   ========================================================================== */

/* ---- hub hero (image background + kept overlay text) ---- */
.home-hero__pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  margin: 0 0 1rem; padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255,255,255,.32); border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff;
}
.home-hero__pill svg { width: 15px; height: 15px; color: #ff4b5c; }
.home-hero__sub .accent { color: #ff4b5c; font-weight: 500; }

/* ---- plain hero (no video/image — used on Work) ---- */
.home-hero--plain {
  min-height: auto;
  background:
    radial-gradient(1200px 600px at 15% 20%, rgba(207,8,31,.22), transparent 60%),
    radial-gradient(900px 700px at 90% 85%, rgba(159,179,224,.16), transparent 65%),
    #00082A;
}
.home-hero--plain::after { display: none; }
.home-hero--plain .home-hero__inner { padding-block: clamp(4rem, 10vh, 6rem); }

/* ---- work gallery cards (Selected Work / Automation & Business Systems) ---- */
.work-grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); margin-top: clamp(2rem, 4vw, 3rem); grid-template-columns: 1fr; }
@media (min-width: 640px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .work-grid:not(.work-grid--2) { grid-template-columns: repeat(3, 1fr); } }
.work-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 28px rgba(1,33,105,.1); transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s; }
.work-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(1,33,105,.16); }
.work-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: #e4e9f2; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s cubic-bezier(.16,1,.3,1); }
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__body { padding: 1.25rem 1.4rem 1.5rem; }
.work-card__title { margin: 0 0 0.4rem; font-weight: 700; font-size: 1.12rem; color: #012169; }
.work-card__desc { margin: 0; color: #4a5568; font-size: 0.92rem; line-height: 1.55; }

/* tighten the intro block — less dead space top/bottom */
.home-intro { padding-block: clamp(1.75rem, 3.5vw, 3rem); }
.home-intro .home-h2 { margin-bottom: 1rem; }
.home-intro__body { margin-bottom: 1rem; }

/* ---- alternating image + text service rows ---- */
.home-alt { display: grid; gap: clamp(2.5rem, 6vw, 5rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.home-alt__row { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 3.25rem); align-items: center; }
@media (min-width: 860px) {
  .home-alt__row { grid-template-columns: 1fr 1fr; }
  .home-alt__row--flip .home-alt__media { order: 2; }
}
.home-alt__media { position: relative; }
.home-alt__media img {
  width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 16px; border: 1px solid #e4e9f2; display: block;
  box-shadow: 0 28px 64px -34px rgba(1,33,105,.45);
}
.home-alt__eyebrow { margin: 0 0 0.7rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #CF081F; }
.home-alt__title { margin: 0 0 0.9rem; font-weight: 800; font-size: clamp(1.6rem, 1rem + 2.4vw, 2.4rem); line-height: 1.1; letter-spacing: -0.02em; color: #012169; text-wrap: balance; }
.home-alt__title .accent { color: #CF081F; }
.home-alt__body { margin: 0 0 1.4rem; color: #41506a; font-size: clamp(1rem, 1rem + 0.25vw, 1.12rem); line-height: 1.65; max-width: 48ch; }
.home-alt__link { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #CF081F; text-decoration: none; }
.home-alt__link::after { content: '\2192'; transition: transform .2s; }
.home-alt__link:hover { text-decoration: none; }
.home-alt__link:hover::after { transform: translateX(4px); }
.home-alt__link:focus-visible { outline: 3px solid #012169; outline-offset: 3px; border-radius: 3px; }

/* ---- 4-step process variant (reuses .home-proc from home.css) ---- */
@media (min-width: 600px) { .home-proc--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .home-proc--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---- FAQ (native disclosure, home format) ---- */
.home-faq { max-width: 820px; margin: clamp(2rem, 4vw, 3rem) auto 0; border-top: 1px solid #e4e9f2; text-align: left; }
.home-faq details { border-bottom: 1px solid #e4e9f2; }
.home-faq summary { cursor: pointer; list-style: none; position: relative; padding: 1.25rem 2.75rem 1.25rem 0; font-weight: 700; font-size: 1.08rem; color: #012169; }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after { content: ''; position: absolute; right: 0.35rem; top: 1.5rem; width: 10px; height: 10px; border-right: 2px solid #CF081F; border-bottom: 2px solid #CF081F; transform: rotate(45deg); transition: transform .2s; }
.home-faq details[open] summary::after { transform: rotate(-135deg); }
.home-faq summary:focus-visible { outline: 3px solid #012169; outline-offset: 3px; border-radius: 4px; }
.home-faq p { margin: 0 0 1.25rem; color: #4a5568; line-height: 1.7; max-width: 70ch; }

/* CTA close band (reuses home palette) */
.home-cta { background: #012169; color: #fff; text-align: center; }
.home-cta .home-h2 { color: #fff; margin-inline: auto; max-width: 20ch; }
.home-cta .home-lead { color: rgba(255,255,255,.78); margin: 0 auto 1.75rem; max-width: 54ch; }
