/* =====================================================================
   Magica — Homepage design system (JSON-driven, namespaced under .m-home)
   Ported from the "Sito Standalone" revision. Self-contained: every rule
   is scoped to .m-home (or body.home for the shared navbar) so it never
   collides with styles.css or the rest of the theme.
   ===================================================================== */

.m-home {
    --ink: #161a1e;
    --ink-2: #1f242a;
    --page: #f9f9f9;
    --card: #ffffff;
    --blue: #0d62e1;
    --blue-600: #0a52bd;
    --text: #161a1e;
    --muted: #5c646d;
    --muted-2: #838a92;
    --line: #e7e9ec;
    --line-dark: rgba(255, 255, 255, .14);
    --r-lg: 32px;
    --r-md: 24px;
    --r-sm: 16px;
    --shadow: 0 4px 24px rgba(22, 26, 30, .06);
    --shadow-soft: 0 2px 10px rgba(38, 74, 95, .08);
    --font-body: "Albert Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-head: "Unbounded", "Albert Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font: var(--font-body);   /* back-compat alias: plain body text */

    background: var(--page);
    color: var(--text);
    font-family: var(--font);
    overflow-x: clip;
}

body.home { background: #f9f9f9; }

.m-home * { box-sizing: border-box; }

.m-home .mh-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Shared typography ------------------------------------------------- */
.m-home h1, .m-home h2, .m-home h3 {
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.1;
    color: var(--ink);
    margin: 0;
}
.m-home .mh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue);
    padding: .4rem .85rem;
    border: 1px solid rgba(13, 98, 225, .28);
    border-radius: 999px;
    background: rgba(13, 98, 225, .06);
}
.m-home .mh-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}
.m-home .mh-section-head h2 {
    font-size: clamp(2.3rem, 4.6vw, 3.4rem);
}
.m-home .mh-section-head p {
    margin: 1rem 0 0;
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.5;
}

/* Buttons ----------------------------------------------------------- */
.m-home .mh-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font);
    font-weight: 600;
    font-size: .98rem;
    line-height: 1;
    padding: .85rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    cursor: pointer;
}
.m-home .mh-btn--primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 8px 20px rgba(13, 98, 225, .28);
}
.m-home .mh-btn--primary:hover {
    background: var(--blue-600);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(13, 98, 225, .34);
    color: #fff;
}
.m-home .mh-btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.m-home .mh-btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.m-home .mh-btn--light {
    background: #fff;
    color: var(--ink);
}
.m-home .mh-btn--light:hover { transform: translateY(-1px); color: var(--ink); }
.m-home .mh-btn i, .m-home .mh-btn svg { font-size: 1.05em; }

/* Navbar (fixed floating pill) lives in chrome.css — loaded site-wide. */

/* =====================  HERO (cinematic video / still)  ============ */
.m-home .mh-hero--cinematic {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    color: #fff;
    background: var(--ink);
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    overflow: hidden;
    padding: clamp(120px, 13vh, 190px) 0 clamp(60px, 7vh, 110px);
}
/* Media layer: gradient base + optional poster/still (mobile) + video (desktop) */
.m-home .mh-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #0e1116;
    background-image: var(--hero-poster, linear-gradient(135deg, #0e1116 0%, #182130 55%, #10161f 100%));
    background-size: cover;
    background-position: center;
}
.m-home .mh-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
/* Left-weighted scrim keeps the copy legible over any footage */
.m-home .mh-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(13,16,20,.94) 0%, rgba(13,16,20,.78) 34%, rgba(13,16,20,.36) 64%, rgba(13,16,20,0) 90%),
        linear-gradient(0deg, rgba(13,16,20,.55) 0%, rgba(13,16,20,0) 42%);
}
.m-home .mh-hero--cinematic .mh-wrap { position: relative; z-index: 3; width: 100%; }

.m-home .mh-hero__copy { max-width: 720px; }
.m-home .mh-hero .mh-eyebrow {
    color: #9ec5ff;
    border-color: rgba(158, 197, 255, .4);
    background: rgba(158, 197, 255, .12);
    margin-bottom: clamp(1.2rem, 2.4vh, 2.4rem);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.m-home .mh-hero__eyebrow-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .25);
}
.m-home .mh-hero h1 {
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 4.1rem);
    letter-spacing: -.03em;
    line-height: 1.02;
    text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.m-home .mh-hero h1 .accent {
    color: #6aa8ff;
    background: linear-gradient(90deg, #6aa8ff, #9ec5ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.m-home .mh-hero__lead {
    margin: clamp(1.2rem, 2.4vh, 2.4rem) 0 0;
    max-width: 580px;
    font-size: 1.1rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, .85);
}
.m-home .mh-hero__lead--short { display: none; }
.m-home .mh-hero__cta-row {
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
    margin-top: clamp(1.6rem, 3.6vh, 3.4rem);
}
.m-home .mh-hero__cta-sub { font-size: .85rem; color: rgba(255, 255, 255, .7); margin: 0; }
.m-home .mh-hero__badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: clamp(1.4rem, 3vh, 3rem); }
.m-home .mh-hero__badge {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .78rem; font-weight: 600; color: rgba(255, 255, 255, .92);
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
    padding: .45rem .8rem; border-radius: 999px; white-space: nowrap;
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.m-home .mh-hero__badge i { color: #9ec5ff; font-size: .85rem; }

/* Copy reveal — staggered, done within ~2s. Pure CSS so it never gets stuck. */
.m-home .mh-hero__copy > * { opacity: 0; animation: mhHeroIn .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.m-home .mh-hero__copy > *:nth-child(1) { animation-delay: .9s; }
.m-home .mh-hero__copy > *:nth-child(2) { animation-delay: 1.05s; }
.m-home .mh-hero__copy > *:nth-child(3) { animation-delay: 1.25s; }
.m-home .mh-hero__copy > *:nth-child(4) { animation-delay: 1.45s; }
.m-home .mh-hero__copy > *:nth-child(5) { animation-delay: 1.6s; }
.m-home .mh-hero__copy > *:nth-child(6) { animation-delay: 1.75s; }
.m-home .mh-hero__copy > *:nth-child(7) { animation-delay: 1.9s; }
@keyframes mhHeroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 991px) {
    /* Mobile: still image only, no video, leaner copy, no reveal delay.
       Full-viewport height (svh = the visible area with the browser toolbar
       showing, so nothing is clipped on load); content stays vertically centered. */
    .m-home .mh-hero--cinematic { min-height: 100svh; padding: 104px 0 48px; border-radius: 0 0 24px 24px; }
    .m-home .mh-hero__video { display: none; }
    /* Dedicated portrait still for the tall mobile hero (falls back to the
       desktop poster, then the gradient, if it isn't provided). */
    .m-home .mh-hero__media {
        background-image: var(--hero-poster-mobile, var(--hero-poster, linear-gradient(135deg, #0e1116 0%, #182130 55%, #10161f 100%)));
    }
    .m-home .mh-hero__scrim {
        background: linear-gradient(180deg, rgba(13,16,20,.66) 0%, rgba(13,16,20,.58) 42%, rgba(13,16,20,.86) 100%);
    }
    .m-home .mh-hero__copy { max-width: 100%; }
    .m-home .mh-hero__copy > * { opacity: 1; animation: none; }
    .m-home .mh-hero h1 { font-size: 2.05rem; line-height: 1.08; }
    .m-home .mh-hero .mh-eyebrow { margin-bottom: 1rem; }
    /* Swap the long lead for the short one; drop the badge row to declutter. */
    .m-home .mh-hero__lead--full { display: none; }
    .m-home .mh-hero__lead--short { display: block; font-size: 1rem; max-width: 100%; }
    .m-home .mh-hero__badges { display: none; }
    .m-home .mh-hero__cta-row { margin-top: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
    .m-home .mh-hero__copy > * { opacity: 1; animation: none; }
}

/* ============================  STATS  =============================== */
.m-home .mh-stats { padding: 3.5rem 0 1rem; }
.m-home .mh-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}
.m-home .mh-stat__num {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.1rem);
    letter-spacing: -.01em;
    color: var(--blue);
    line-height: 1;
}
.m-home .mh-stat__label {
    margin-top: .5rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted-2);
}

/* ============================  PILLARS  ============================= */
.m-home .mh-pillars { padding: 5rem 0; }
.m-home .mh-pillars__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}
.m-home .mh-pillar {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 1.75rem 1.6rem 1.9rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.m-home .mh-pillar__num {
    position: absolute;
    top: 1.35rem; right: 1.7rem;
    font-family: var(--font-head);
    font-size: 1.55rem; font-weight: 700; line-height: 1;
    letter-spacing: .01em;
    color: rgba(13, 98, 225, .3);
    z-index: 2;
    pointer-events: none;
}
.m-home .mh-pillar__mock {
    background: #f4f6f9;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 1rem 1.1rem;
    margin-bottom: 1.5rem;
    /* Equal height across the 3 columns so the pillar titles below line up.
       Sized to fit the tallest mock (the 6-chip one) in the common desktop
       range; content stays vertically centered. */
    min-height: 172px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.m-home .mh-pillar h3 { font-size: 1.22rem; margin-bottom: .6rem; letter-spacing: -.01em; }
.m-home .mh-pillar p { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--muted); }

/* mock 1 — live trip */
.m-home .mh-mock-eyebrow {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--muted-2); margin-bottom: .5rem;
}
.m-home .mh-mock-eyebrow .mh-live-dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
    box-shadow: 0 0 0 3px rgba(13, 98, 225, .18);
}
.m-home .mh-mock-big { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.m-home .mh-mock-big small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.m-home .mh-mock-tag {
    display: inline-flex; align-items: center; gap: .35rem; align-self: flex-start;
    margin-top: .6rem; font-size: .72rem; font-weight: 600; color: var(--muted);
    background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .6rem;
}
.m-home .mh-mock-tag i { color: var(--blue); }

/* mock 2 — chips grid */
.m-home .mh-mock-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.m-home .mh-mock-chips .mh-mchip {
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .72rem; font-weight: 600; color: var(--ink);
    background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .32rem .65rem;
}
.m-home .mh-mock-chips .mh-mchip i { color: var(--blue); font-size: .8rem; }
.m-home .mh-mock-chips .mh-mchip--ok i { color: #16a34a; }

/* mock 3 — report */
.m-home .mh-mock-report-big { font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.m-home .mh-mock-report-big span { font-size: 1.1rem; }
.m-home .mh-mock-formats { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .6rem; }
.m-home .mh-mock-formats span {
    font-size: .62rem; font-weight: 700; letter-spacing: .04em;
    color: var(--blue); background: rgba(13, 98, 225, .08);
    border-radius: 6px; padding: .25rem .5rem;
}
.m-home .mh-pillars__cta { text-align: center; margin-top: 3rem; }

/* ============================  AI FRONTIER  ======================== */
.m-home .mh-ai { padding: 2rem 0 5rem; }
.m-home .mh-ai__box {
    position: relative;
    background: var(--ink);
    color: #fff;
    border-radius: var(--r-lg);
    padding: 4.5rem 3rem;
    text-align: center;
    overflow: hidden;
}
.m-home .mh-ai__box::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(120% 100% at 50% 0%, rgba(13, 98, 225, .35), transparent 60%);
    pointer-events: none;
}
.m-home .mh-ai__inner { position: relative; max-width: 780px; margin: 0 auto; }
.m-home .mh-ai .mh-eyebrow {
    color: #7fb0ff; border-color: rgba(127, 176, 255, .35);
    background: rgba(127, 176, 255, .1); margin-bottom: 1.4rem;
}
.m-home .mh-ai h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.m-home .mh-ai__body {
    margin: 1.3rem 0 0;
    font-size: 1.06rem; line-height: 1.65;
    color: rgba(255, 255, 255, .72);
}
.m-home .mh-ai__tags { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.m-home .mh-ai__tag {
    font-size: .8rem; font-weight: 600; color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
    padding: .45rem .9rem; border-radius: 999px;
}

/* ============================  PERSONAS  =========================== */
.m-home .mh-personas { padding: 5rem 0; }
.m-home .mh-personas__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.m-home .mh-persona {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 1.6rem 1.35rem 1.7rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}
.m-home .mh-persona__icon {
    width: 46px; height: 46px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 1rem;
    background: rgba(13, 98, 225, .08);
}
.m-home .mh-persona h3 { font-size: 1.05rem; margin-bottom: .3rem; letter-spacing: -.01em; }
.m-home .mh-persona__who {
    font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    color: var(--muted-2); margin-bottom: .8rem;
}
.m-home .mh-persona__benefit { font-size: .92rem; line-height: 1.55; color: var(--muted); margin: 0 0 1.1rem; flex-grow: 1; }
.m-home .mh-persona__cap {
    align-self: flex-start;
    font-size: .76rem; font-weight: 700; color: var(--blue);
    background: rgba(13, 98, 225, .08); border-radius: 999px; padding: .35rem .75rem;
}

/* ============================  MARKET DEEP-DIVE  =================== */
.m-home .mh-deepdive { padding: 1rem 0 5rem; }
.m-home .mh-deepdive__box {
    max-width: 100%; margin: 0 auto;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 3rem 3.25rem;
    box-shadow: var(--shadow);
    display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center;
}
.m-home .mh-deepdive h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.m-home .mh-deepdive__body { margin: 1rem 0 0; font-size: 1.02rem; line-height: 1.6; color: var(--muted); }
.m-home .mh-deepdive__list { margin: 0; padding: 0; list-style: none; }
.m-home .mh-deepdive__list li {
    position: relative; padding-left: 1.7rem; margin-bottom: .7rem;
    font-size: .96rem; line-height: 1.45; color: var(--text);
}
.m-home .mh-deepdive__list li::before {
    content: "\2713"; position: absolute; left: 0; top: 0;
    color: var(--blue); font-weight: 800;
}
.m-home .mh-deepdive__cta { margin-top: 1.6rem; }

/* Reimbursement mock (right column, IT/EN) */
.m-home .mh-dd-mock {
    background: #f4f6f9;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 1.5rem 1.6rem;
}
.m-home .mh-dd-mock__eyebrow {
    display: block;
    font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--muted-2); margin-bottom: 1rem;
}
.m-home .mh-dd-mock__row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: .55rem 0; border-bottom: 1px solid var(--line);
    font-size: .95rem; color: var(--muted);
}
.m-home .mh-dd-mock__row strong { color: var(--ink); font-weight: 600; }
.m-home .mh-dd-mock__total {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: .85rem 0 .2rem; font-size: 1rem; color: var(--ink);
}
.m-home .mh-dd-mock__total strong {
    font-family: var(--font-head); font-weight: 700; font-size: 1.5rem;
    color: var(--blue); letter-spacing: -.01em;
}
.m-home .mh-dd-mock__formats { display: flex; gap: .4rem; margin-top: 1rem; }
.m-home .mh-dd-mock__formats span {
    font-size: .64rem; font-weight: 700; letter-spacing: .04em;
    color: var(--blue); background: rgba(13, 98, 225, .08);
    border-radius: 6px; padding: .28rem .6rem;
}

/* ============================  AWARDS  ============================= */
.m-home .mh-awards { padding: 4rem 0; text-align: center; }
.m-home .mh-awards__panel {
    position: relative;
    max-width: 100%; margin: 0 auto;
    padding: 3.5rem 2rem 3.25rem;
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
    border: 1px solid #e4ecff;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.m-home .mh-awards__panel::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(58% 60% at 50% -5%, rgba(13, 98, 225, .14), transparent 70%);
    pointer-events: none;
}
.m-home .mh-awards__panel > * { position: relative; z-index: 1; }
.m-home .mh-awards h2 { font-size: clamp(2rem, 4vw, 3rem); }
.m-home .mh-awards p { margin: 1rem auto 0; max-width: 540px; color: var(--muted); font-size: 1.05rem; line-height: 1.5; }
.m-home .mh-awards__badges {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 2.5rem;
}
.m-home .mh-awards__badge img { height: 92px; width: auto; }
@media (max-width: 640px) {
    .m-home .mh-awards__badges { gap: 1.5rem; }
    .m-home .mh-awards__badge img { height: 72px; }
}

/* ============================  MAKER  ============================== */
.m-home .mh-maker { padding: 4rem 0; }
.m-home .mh-maker__box {
    max-width: 100%; margin: 0 auto;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 3rem 3.25rem;
    box-shadow: var(--shadow);
    display: grid; grid-template-columns: 240px 1fr; gap: 2.75rem; align-items: center;
}
.m-home .mh-maker__photo {
    width: 100%; aspect-ratio: 1;
    border-radius: 22px; overflow: hidden;
    background: linear-gradient(150deg, #1b2740, #0d1830);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow);
}
.m-home .mh-maker__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-home .mh-maker__ph {
    font-family: var(--font-head); font-weight: 700; font-size: 3.4rem;
    color: rgba(255, 255, 255, .9); letter-spacing: .02em;
}
.m-home .mh-maker h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
/* Balance multi-line section titles so they don't leave an orphan word on the
   last line. Applied to section h2s and card h3s (not the hero h1, which is
   composed by hand). */
.m-home h2, .m-home h3 { text-wrap: balance; }
/* Title accent on light backgrounds: solid brand blue. (The hero h1 accent is a
   lighter gradient tuned for its dark video backdrop — see .mh-hero h1 .accent.) */
.m-home h2 .accent, .m-home h3 .accent { color: var(--blue); }
/* Dark-background sections (AI box, testimonials band): a lighter blue keeps the
   accent legible where solid brand blue would sink into the dark. */
.m-home .mh-ai h2 .accent, .m-home .mh-testi h2 .accent { color: #7fb0ff; }
.m-home .mh-maker__body { margin: 1.3rem 0 0; font-size: 1.08rem; line-height: 1.65; color: var(--muted); }
.m-home .mh-maker__link {
    display: inline-flex; align-items: center; gap: .45rem;
    margin-top: 1.4rem; font-weight: 600; font-size: 1rem;
    color: var(--blue); text-decoration: none;
}
.m-home .mh-maker__link i { transition: transform .2s ease; }
.m-home .mh-maker__link:hover { text-decoration: underline; }
.m-home .mh-maker__link:hover i { transform: translateX(3px); }

/* ============================  TESTIMONIALS  ====================== */
.m-home .mh-testi {
    position: relative;
    background: linear-gradient(160deg, #12305f, #0d1f3d);
    color: #fff;
    padding: 4.5rem 0;
    overflow: hidden;
}
.m-home .mh-testi h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.m-home .mh-testi .mh-section-head p { color: rgba(255, 255, 255, .65); }
.m-home .mh-testi__track {
    display: flex; gap: 1.25rem;
    overflow-x: auto;
    padding: .5rem .25rem 1.25rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.m-home .mh-testi__track::-webkit-scrollbar { height: 6px; }
.m-home .mh-testi__track::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .2); border-radius: 999px; }
.m-home .mh-testi-card {
    flex: 0 0 340px;
    scroll-snap-align: start;
    background: #fff;
    color: var(--ink);
    border-radius: var(--r-md);
    padding: 1.6rem 1.5rem;
    display: flex; flex-direction: column;
}
.m-home .mh-testi-card__stars { color: #f5b301; font-size: .95rem; letter-spacing: .05em; margin-bottom: .8rem; }
.m-home .mh-testi-card__body { font-size: .95rem; line-height: 1.55; color: var(--text); flex-grow: 1; }
.m-home .mh-testi-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.2rem; }
.m-home .mh-testi-card__author { font-weight: 700; font-size: .9rem; }
.m-home .mh-testi-card__flag {
    font-size: .62rem; font-weight: 700; letter-spacing: .06em; color: #16a34a;
    background: rgba(22, 163, 74, .1); border-radius: 6px; padding: .2rem .45rem;
}

/* ============================  BLOG  ============================== */
.m-home .mh-blog { padding: 5rem 0; }
.m-home .mh-blog__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.m-home .mh-blog-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
    overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.m-home .mh-blog-card__thumb { aspect-ratio: 16 / 9; background: #eef1f4; overflow: hidden; }
.m-home .mh-blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-home .mh-blog-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex-grow: 1; }
.m-home .mh-blog-card__body h3 { font-size: 1.1rem; margin-bottom: .5rem; line-height: 1.25; }
.m-home .mh-blog-card__body h3 a { color: var(--ink); text-decoration: none; }
.m-home .mh-blog-card__body h3 a:hover { color: var(--blue); }
.m-home .mh-blog-card__excerpt { font-size: .92rem; line-height: 1.55; color: var(--muted); margin: 0 0 1rem; flex-grow: 1; }
.m-home .mh-blog-card__more { font-size: .9rem; font-weight: 600; color: var(--blue); text-decoration: none; }
.m-home .mh-blog-card__more:hover { text-decoration: underline; }
.m-home .mh-blog__cta { text-align: center; margin-top: 3rem; }

/* ============================  FINAL CTA / TAGLINE  =============== */
.m-home .mh-final { padding: 5rem 0 6rem; text-align: center; }
.m-home .mh-final__tagline {
    font-family: var(--font-head); font-weight: 700;
    font-size: clamp(1.6rem, 3.6vw, 2.6rem);
    letter-spacing: -.01em; line-height: 1.2;
    max-width: 900px; margin: 0 auto 2.2rem; color: var(--ink);
}
.m-home .mh-final__sub { margin: 1rem 0 0; font-size: .85rem; color: var(--muted-2); }

/* ============================  RESPONSIVE  ======================== */
@media (max-width: 991px) {
    .m-home .mh-hero { padding-top: 108px; }
    .m-home .mh-hero__grid { grid-template-columns: 1fr; }
    .m-home .mh-hero__visual { margin-top: 1rem; }
    .m-home .mh-hero__phone { max-width: 280px; }
    .m-home .mh-pillars__grid { grid-template-columns: 1fr; }
    .m-home .mh-personas__grid { grid-template-columns: repeat(2, 1fr); }
    .m-home .mh-blog__grid { grid-template-columns: 1fr; }
    .m-home .mh-deepdive__box { grid-template-columns: 1fr; text-align: center; }
    .m-home .mh-deepdive__cta { display: flex; justify-content: center; }
    .m-home .mh-dd-mock { text-align: left; }
    .m-home .mh-maker__box { grid-template-columns: 1fr; gap: 1.75rem; text-align: center; }
    .m-home .mh-maker__photo { max-width: 190px; margin: 0 auto; }
}
@media (max-width: 640px) {
    .m-home .mh-awards__panel { padding: 2.5rem 1.25rem; }
    .m-home .mh-wrap { padding-left: 18px; padding-right: 18px; }
    .m-home .mh-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
    .m-home .mh-personas__grid { grid-template-columns: 1fr; }
    .m-home .mh-ai__box { padding: 3rem 1.5rem; }
    .m-home .mh-deepdive__box { padding: 2rem 1.5rem; }
    .m-home .mh-testi-card { flex-basis: 82vw; }
    .m-home .mh-chip--km { left: 0; }
    .m-home .mh-chip--report { right: 0; }
}

/* Reduced-motion friendly reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .m-home .mh-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
    .m-home .mh-reveal.is-in { opacity: 1; transform: none; }
}
