/* =====================================================================
   Home page (front-page.php). Values transcribed from src/pages/Home.jsx.
   Shared classes (container, grids, eyebrow, diamond, buttons, cards,
   tiles, bullets) live in ../m2.css; only Home-specific rules are here.
   ===================================================================== */

/* ---------- hero ---------- */
.m2-home-hero { background: #fff; border-bottom: 1px solid #e2e8f0; overflow: hidden; }
.m2-home-hero__grid { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: center; }
.m2-home-hero__title { margin: 0 0 22px; font-family: Montserrat, system-ui, sans-serif; font-weight: 800; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -.025em; color: #020617; text-wrap: balance; }
.m2-home-hero__lede { margin: 0 0 34px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: #475569; max-width: 560px; text-wrap: pretty; }

.m2-home-hero__media { position: relative; min-height: 380px; }
.m2-home-hero__deco { position: absolute; top: -30px; right: -30px; width: 180px; height: 180px; background: #004aad; transform: rotate(45deg); border-radius: 18px; opacity: .10; }
.m2-home-hero__images { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; gap: 12px; }
.m2-home-hero__img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; box-shadow: 0 30px 60px -30px rgba(0, 32, 80, .45); }

.m2-home-hero__badge { position: absolute; left: -16px; bottom: -22px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 16px 18px; box-shadow: 0 12px 30px -12px rgba(2, 6, 23, .25); display: flex; gap: 14px; align-items: center; }
.m2-home-hero__badge-icon { position: relative; width: 34px; height: 34px; }
.m2-home-hero__badge-sq { position: absolute; transform: rotate(45deg); border-radius: 4px; }
.m2-home-hero__badge-sq--pale { inset: 8px 8px 0 0; background: #a8c7ef; }
.m2-home-hero__badge-sq--blue { inset: 4px 4px 4px 4px; background: #004aad; }
.m2-home-hero__badge-sq--red { inset: 0 0 8px 8px; background: #db2d26; opacity: .95; }
.m2-home-hero__badge-title { font-family: Montserrat, system-ui, sans-serif; font-weight: 700; font-size: 15px; color: #020617; }
.m2-home-hero__badge-sub { font-size: 13px; color: #64748b; }

/* ---------- capabilities strip ---------- */
.m2-home-strip { background: #020617; color: #fff; }
.m2-home-strip__inner { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; }
.m2-home-strip__label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #7aa8e6; }
.m2-home-strip__item { font-family: Montserrat, system-ui, sans-serif; font-weight: 600; font-size: 15px; color: #f8fafc; display: inline-flex; align-items: center; gap: 10px; }

/* ---------- sectors ---------- */
.m2-home-sectors__intro { max-width: 680px; margin-bottom: 44px; }
.m2-home-sector { position: relative; border-radius: 14px; overflow: hidden; background: #020617; color: #fff; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; }
.m2-home-sector:hover { box-shadow: 0 30px 60px -30px rgba(0, 32, 80, .6); }
.m2-home-sector__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.m2-home-sector__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 6, 23, .05) 20%, rgba(2, 6, 23, .92) 75%); }
.m2-home-sector__body { position: relative; padding: 32px 30px; }
.m2-home-sector__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #7aa8e6; margin-bottom: 10px; }
.m2-home-sector__title { margin: 0 0 12px; font-family: Montserrat, system-ui, sans-serif; font-weight: 700; font-size: 26px; line-height: 1.2; color: #fff; }
.m2-home-sector__text { margin: 0 0 18px; font-size: 15.5px; line-height: 1.6; color: #cbd5e1; max-width: 520px; text-wrap: pretty; }
.m2-home-sector__tags { margin: 0 0 22px; }

/* ---------- benefits ---------- */
.m2-home-benefits__intro { max-width: 640px; margin-bottom: 48px; }
.m2-home-benefit__num { font-family: Montserrat, system-ui, sans-serif; font-weight: 800; font-size: 13px; color: #004aad; letter-spacing: .06em; }
.m2-home-benefit__title { margin: 0; font-family: Montserrat, system-ui, sans-serif; font-weight: 700; font-size: 21px; line-height: 1.25; color: #020617; }
.m2-home-benefit__text { margin: 0; font-size: 15.5px; line-height: 1.65; color: #475569; text-wrap: pretty; }

/* ---------- services teaser ---------- */
.m2-home-services { background: #fff; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.m2-home-services__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.m2-home-services__intro { max-width: 600px; }
.m2-home-service__mark { margin: 4px 0 6px 4px; display: block; }
.m2-home-service__title { margin: 0; font-family: Montserrat, system-ui, sans-serif; font-weight: 700; font-size: 18px; color: #020617; }
.m2-home-service__text { margin: 0; font-size: 14.5px; line-height: 1.6; color: #64748b; }

/* ---------- testimonials ---------- */
.m2-home-testimonial { margin: 0; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 30px 28px; display: flex; flex-direction: column; gap: 20px; }
.m2-home-testimonial__mark { font-family: Montserrat, system-ui, sans-serif; font-weight: 800; font-size: 44px; line-height: .6; color: #a8c7ef; }
.m2-home-testimonial__quote { margin: 0; font-size: 16.5px; line-height: 1.65; color: #1e293b; text-wrap: pretty; }
.m2-home-testimonial__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.m2-home-testimonial__avatar { width: 40px; height: 40px; border-radius: 50%; background: #eaf1fb; color: #004aad; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.m2-home-testimonial__name { display: block; font-weight: 600; font-size: 15px; color: #020617; }
.m2-home-testimonial__role { display: block; font-size: 13px; color: #64748b; }
.m2-home-testimonials__note { margin: 18px 0 0; font-size: 13px; color: #94a3b8; }

/* ---------- about teaser ---------- */
.m2-home-about { background: #fff; border-top: 1px solid #e2e8f0; }
.m2-home-about__img { width: 100%; height: 420px; object-fit: cover; border-radius: 12px; display: block; }
.m2-home-about__text { margin: 0 0 16px; font-size: 17px; line-height: 1.65; color: #475569; text-wrap: pretty; }
.m2-home-about__bullets { margin: 0 0 30px; }

/* ---------- CTA band (custom, with decorative squares) ---------- */
.m2-home-cta { background: #004aad; color: #fff; position: relative; overflow: hidden; }
.m2-home-cta__deco { position: absolute; transform: rotate(45deg); border-radius: 32px; }
.m2-home-cta__deco--top { right: -80px; top: -80px; width: 320px; height: 320px; background: #1f66c4; opacity: .5; }
.m2-home-cta__deco--bottom { right: 60px; bottom: -140px; width: 260px; height: 260px; background: #003b8a; }
.m2-home-cta__inner { position: relative; padding-top: clamp(64px, 8vw, 96px); padding-bottom: clamp(64px, 8vw, 96px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.m2-home-cta__text { max-width: 620px; }
.m2-home-cta__title { margin: 0 0 14px; }
.m2-home-cta__body { margin: 0; font-size: 17px; line-height: 1.6; color: #d3e3f7; }
.m2-home-cta__body a { color: #fff; font-weight: 600; }
