/* ==========================================================================
   EDUTECH - Home 3D (prova) - stile Apple/Figma
   Caricato solo da home-3d.asp: index.asp e css/home.css restano invariati.
   ========================================================================== */

.h3-home {
    --h3-ink: var(--apple-text-main, #1d1d1f);
    --h3-sub: var(--apple-text-sub, #6e6e73);
    --h3-blue: var(--apple-blue, #0071e3);
    --h3-bg: var(--apple-bg, #fff);
    --h3-surface: #fff;
    --h3-soft: #f5f5f7;
    --h3-line: rgba(0, 0, 0, .09);
    --h3-card: rgba(255, 255, 255, .72);
    --h3-violet: #6f5bff;
    --h3-cyan: #00c2ff;
    --h3-pink: #e74a7b;
    --h3-shadow: 0 30px 80px rgba(15, 23, 42, .12);
    background: var(--h3-bg);
    color: var(--h3-ink);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
}

[data-theme="dark"] .h3-home {
    --h3-surface: #1a1d23;
    --h3-soft: #15181d;
    --h3-line: rgba(255, 255, 255, .1);
    --h3-card: rgba(26, 29, 35, .72);
    --h3-sub: #a3a7b1;
    --h3-shadow: 0 30px 90px rgba(0, 0, 0, .55);
}

[data-theme="dark"] .h3-home ~ * .navbar,
[data-theme="dark"] .navbar { background: rgba(8, 8, 10, .84) !important; border-bottom-color: rgba(255, 255, 255, .08) }
[data-theme="dark"] .navbar .nav-link { color: #f5f5f7 !important }
[data-theme="dark"] .navbar .nav-link:hover { color: #6fb3ff !important }
[data-theme="dark"] .navbar .btn-nav-cta { background: #f5f5f7; color: #08080a !important }
[data-theme="dark"] .navbar .apple-login-icon { color: #f5f5f7 }
[data-theme="dark"] .navbar .navbar-toggler img { filter: invert(1); opacity: .65 }

html:has(.h3-home) { scroll-behavior: smooth; scroll-padding-top: 96px }

.h3-home *,
.h3-home *::before,
.h3-home *::after { box-sizing: border-box }

.h3-home a { color: inherit }
.h3-home img { max-width: 100% }

.h3-wrap { width: min(1220px, calc(100% - 44px)); margin-inline: auto; position: relative; z-index: 2 }
.h3-sec { position: relative; padding: clamp(64px, 8vw, 116px) 0 }
.h3-sec h2 { margin: 0; font-size: clamp(34px, 4.3vw, 58px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800 }
.h3-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: var(--h3-blue); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase }
.h3-kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .65 }
.h3-lead { color: var(--h3-sub); font-size: clamp(16px, 1.45vw, 20px); line-height: 1.55; letter-spacing: -.01em }
.h3-muted { color: var(--h3-sub) }
.h3-sec[id] { scroll-margin-top: 96px }

/* --- barra di avanzamento --- */
.h3-progress { position: fixed; top: 0; left: 0; z-index: 1200; width: 0; height: 2px; background: linear-gradient(90deg, #0071e3, #6f5bff 55%, #00c2ff); box-shadow: 0 0 12px rgba(0, 113, 227, .5); pointer-events: none }

/* --- pulsanti --- */
.h3-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 15px 26px; border: 1px solid transparent; border-radius: 999px;
    font-family: inherit; font-size: 14px; font-weight: 650; text-decoration: none; white-space: nowrap;
    transform: translate3d(var(--tx, 0), var(--ty, 0), 0);
    transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, background .3s, border-color .3s, color .3s;
}
.h3-btn:hover { text-decoration: none }
.h3-btn svg { width: 16px; height: 16px; flex: 0 0 auto; transition: transform .3s }
.h3-btn:hover svg { transform: translateX(3px) }
.h3-btn-primary {
    background: linear-gradient(180deg, #0a7cf0, #0066d6);
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(0, 113, 227, .32), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.h3-btn-primary:hover { box-shadow: 0 20px 42px rgba(0, 113, 227, .42), inset 0 1px 0 rgba(255, 255, 255, .45) }
.h3-btn-ghost {
    border-color: var(--h3-line); background: var(--h3-card); color: var(--h3-ink) !important;
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.h3-btn-ghost:hover { border-color: var(--h3-blue); box-shadow: 0 16px 34px rgba(15, 23, 42, .1) }

/* ==========================================================================
   HERO
   ========================================================================== */
.h3-hero {
    position: relative; isolation: isolate; display: flex; align-items: center;
    min-height: min(940px, 100svh);
    padding: clamp(128px, 13vw, 182px) 0 clamp(58px, 7vw, 92px);
    overflow: hidden;
}
.h3-hero::before {
    content: ""; position: absolute; inset: -18% -12% auto; height: 88%; z-index: 0;
    background:
        radial-gradient(ellipse at 18% 24%, rgba(0, 113, 227, .17), transparent 55%),
        radial-gradient(ellipse at 86% 12%, rgba(111, 91, 255, .12), transparent 48%),
        radial-gradient(ellipse at 62% 82%, rgba(0, 194, 255, .09), transparent 50%);
    pointer-events: none;
}
.h3-hero::after {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, .04) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: linear-gradient(to bottom, #000, transparent 66%);
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 66%);
    opacity: .7;
}
[data-theme="dark"] .h3-hero::after {
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
}
.h3-orb { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; filter: blur(55px); opacity: .55; will-change: transform }
.h3-orb-1 { width: 48vw; max-width: 640px; aspect-ratio: 1; left: -12vw; top: -12vw; background: radial-gradient(circle at 42% 42%, rgba(0, 113, 227, .6), transparent 62%); transform: translate3d(0, calc(var(--p, 0) * .07px), 0) }
.h3-orb-2 { width: 34vw; max-width: 460px; aspect-ratio: 1; right: -6vw; top: 6%; background: radial-gradient(circle at 50% 50%, rgba(111, 91, 255, .5), transparent 64%); transform: translate3d(0, calc(var(--p, 0) * -.05px), 0) }
.h3-orb-3 { width: 30vw; max-width: 420px; aspect-ratio: 1; left: 38%; bottom: -16%; background: radial-gradient(circle at 50% 50%, rgba(0, 194, 255, .38), transparent 66%); transform: translate3d(0, calc(var(--p, 0) * .03px), 0) }

.h3-hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(30px, 4vw, 62px); align-items: center }

.h3-eyebrow {
    display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; padding: 7px 13px 7px 9px;
    border: 1px solid var(--h3-line); border-radius: 999px; background: var(--h3-card);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    color: var(--h3-sub); font-size: 11px; font-weight: 650;
}
.h3-pulse { width: 7px; height: 7px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 4px rgba(48, 209, 88, .12); animation: h3Pulse 2.2s ease-in-out infinite }
.h3-hero h1 { margin: 0; font-size: clamp(49px, 5.9vw, 84px); line-height: .94; letter-spacing: -.062em; font-weight: 850 }
.h3-grad {
    background: linear-gradient(100deg, #0071e3 4%, #3aa0ff 34%, #6f5bff 62%, #00c2ff 92%);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text;
    color: transparent; -webkit-text-fill-color: transparent;
    animation: h3Shine 10s ease-in-out infinite;
}
.h3-hero .h3-lead { max-width: 550px; margin: 26px 0 0 }
.h3-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px }
.h3-proof { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; color: var(--h3-sub); font-size: 12px; font-weight: 550 }
.h3-hero-copy { transform: translate3d(0, calc(var(--hp, 0) * -46px), 0); will-change: transform }
.h3-proof span { display: inline-flex; align-items: center; gap: 7px }
.h3-proof i { width: 5px; height: 5px; border-radius: 50%; background: var(--h3-blue); box-shadow: 0 0 0 3px rgba(0, 113, 227, .1) }

/* --- palcoscenico 3D --- */
.h3-stage {
    position: relative; width: 100%; max-width: 590px; margin-left: auto;
    perspective: 1400px; perspective-origin: 50% 40%;
    transform: translate3d(0, calc(var(--hp, 0) * -58px), 0) rotateX(calc(var(--hp, 0) * 8deg)) scale(calc(1 - var(--hp, 0) * .07));
    transform-origin: 50% 68%; will-change: transform;
}
.h3-stage-inner {
    position: relative; transform-style: preserve-3d;
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
.h3-stage::after {
    content: ""; position: absolute; left: 7%; right: 7%; bottom: -7%; height: 16%;
    background: radial-gradient(ellipse, rgba(15, 23, 42, .24), transparent 72%);
    filter: blur(18px); z-index: -1;
}
.h3-photo-card {
    position: relative; aspect-ratio: 4 / 4.32; border-radius: 36px; overflow: hidden;
    background: var(--h3-soft);
    box-shadow: 0 48px 96px rgba(15, 23, 42, .26), 0 2px 0 rgba(255, 255, 255, .55) inset;
    transform: rotate(-1.8deg);
}
.h3-photo-card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.03) }
.h3-photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .02) 34%, rgba(0, 0, 0, .42) 100%) }
.h3-photo-tag {
    position: absolute; left: 18px; bottom: 18px; z-index: 2;
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, .32); border-radius: 999px;
    background: rgba(12, 14, 18, .42); color: #fff;
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    font-size: 10px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
}
.h3-photo-tag i { width: 6px; height: 6px; border-radius: 50%; background: #30d158 }
.h3-float {
    position: absolute; z-index: 3; padding: 16px 18px; border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .68);
    background: linear-gradient(150deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .62));
    color: var(--h3-ink);
    box-shadow: 0 26px 54px rgba(15, 23, 42, .2);
    backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
    transform-style: preserve-3d;
}
[data-theme="dark"] .h3-float {
    border-color: rgba(255, 255, 255, .12);
    background: linear-gradient(150deg, rgba(38, 42, 51, .92), rgba(24, 27, 33, .78));
    box-shadow: 0 26px 60px rgba(0, 0, 0, .55);
}
.h3-float-temp { top: 7%; left: -9%; width: min(252px, 64%); transform: translateZ(84px) rotate(-1deg); animation: h3Bob 8s ease-in-out infinite }
.h3-float-cert { right: -7%; bottom: 8%; width: min(272px, 68%); transform: translateZ(126px); animation: h3Bob 9s ease-in-out -3.2s infinite reverse }
.h3-float-label { display: block; margin-bottom: 8px; color: var(--h3-sub); font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase }
.h3-live { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; color: var(--h3-sub); font-size: 10px; font-weight: 650 }
.h3-live i { width: 6px; height: 6px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 3px rgba(48, 209, 88, .14) }
.h3-temp { display: flex; align-items: center; justify-content: space-between; gap: 12px }
.h3-temp strong { font-size: 32px; line-height: 1; letter-spacing: -.055em; font-weight: 800 }
.h3-temp strong small { margin-left: 2px; color: var(--h3-sub); font-size: 12px; font-weight: 600 }
.h3-temp span { color: var(--h3-sub); font-size: 10px; line-height: 1.35; text-align: right }
.h3-temp em { display: block; color: #1a9e43; font-style: normal; font-weight: 650 }
.h3-spark { display: flex; align-items: flex-end; gap: 4px; height: 30px; margin-top: 14px }
.h3-spark span { flex: 1; height: var(--h, 40%); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, rgba(0, 113, 227, .8), rgba(0, 113, 227, .22)) }
.h3-spark span:nth-child(2n) { background: linear-gradient(180deg, rgba(48, 209, 88, .74), rgba(48, 209, 88, .18)) }
.h3-cert { display: flex; align-items: center; gap: 12px }
.h3-cert-mark { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #4be07c, #1a9e43 72%); color: #fff; box-shadow: 0 8px 18px rgba(26, 158, 67, .35), inset 0 1px 0 rgba(255, 255, 255, .5) }
.h3-cert-mark svg { width: 19px; height: 19px }
.h3-cert strong { display: block; font-size: 14px; letter-spacing: -.02em }
.h3-cert span { display: block; margin-top: 3px; color: var(--h3-sub); font-size: 10px; line-height: 1.4 }
.h3-glare {
    position: absolute; inset: -2%; z-index: 4; border-radius: 42px; pointer-events: none;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 40%), rgba(255, 255, 255, .45), transparent 62%);
    mix-blend-mode: overlay; opacity: 0; transition: opacity .35s;
}
.h3-stage:hover .h3-glare { opacity: .9 }
.h3-cue { position: absolute; left: 50%; bottom: 16px; z-index: 2; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; color: var(--h3-sub); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: calc(1 - var(--hp, 0) * 2.2) }
.h3-cue svg { width: 12px; height: 12px; animation: h3Nudge 1.8s ease-in-out infinite }

/* ==========================================================================
   STRISCIA (stile Apple: sottile, sobria, testo piccolo)
   ========================================================================== */
.h3-ribbon {
    position: relative; z-index: 2; overflow: hidden;
    padding: 14px 0;
    background: var(--h3-soft);
    border-block: 1px solid var(--h3-line);
}
.h3-ribbon-wheel {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.h3-ribbon-track { display: flex; width: max-content; will-change: transform; animation: h3RibbonLeft 74s linear infinite }
.h3-ribbon:hover .h3-ribbon-track { animation-play-state: paused }
.h3-ribbon-group { display: flex; align-items: center; gap: 30px; padding-right: 30px }
.h3-ribbon-item {
    position: relative; white-space: nowrap;
    color: var(--h3-ink); font-size: 13px; font-weight: 550; line-height: 1.2;
    letter-spacing: -.01em; -webkit-font-smoothing: antialiased;
}
.h3-ribbon-item::after {
    content: ""; position: absolute; top: 50%; right: -16.5px; width: 3px; height: 3px;
    border-radius: 50%; background: var(--h3-sub); opacity: .55; transform: translateY(-50%);
}

/* ==========================================================================
   INTRO + NUMERI
   ========================================================================== */
.h3-intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 88px); align-items: end }
.h3-intro-grid .h3-lead { max-width: 470px; margin: 0 0 4px auto }
.h3-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: clamp(38px, 5vw, 64px) }
.h3-stat {
    position: relative; padding: 24px 22px 22px; border: 1px solid var(--h3-line); border-radius: 22px;
    background: var(--h3-surface);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 12px 30px rgba(15, 23, 42, .05);
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s;
}
.h3-stat:hover { transform: translateY(-5px); border-color: rgba(0, 113, 227, .3); box-shadow: 0 22px 46px rgba(15, 23, 42, .1) }
.h3-stat strong { display: block; font-size: clamp(34px, 3.8vw, 52px); line-height: .95; letter-spacing: -.06em; font-weight: 800 }
.h3-stat span { display: block; margin-top: 9px; color: var(--h3-sub); font-size: 10.5px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase }

/* ==========================================================================
   SERVIZI
   ========================================================================== */
.h3-services { position: relative }
.h3-serv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(30px, 4vw, 48px); perspective: 1400px }
.h3-serv {
    position: relative; display: flex; flex-direction: column; padding: 26px;
    border: 1px solid var(--h3-line); border-radius: 24px; background: var(--h3-surface);
    color: var(--h3-ink) !important; text-decoration: none; overflow: hidden;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 10px 30px rgba(15, 23, 42, .05);
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
    transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s;
    will-change: transform;
}
.h3-serv::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
    background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 113, 227, .15), transparent 62%);
    transition: opacity .3s;
}
.h3-serv:hover { --lift: -5px; border-color: rgba(0, 113, 227, .35); box-shadow: 0 26px 54px rgba(15, 23, 42, .13); text-decoration: none }
.h3-serv:hover::after { opacity: 1 }
.h3-serv-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgba(0, 113, 227, .1); color: var(--h3-blue) }
.h3-serv-icon svg { width: 20px; height: 20px }
.h3-serv h3 { margin: 16px 0 8px; font-size: 17px; line-height: 1.2; letter-spacing: -.025em; font-weight: 750 }
.h3-serv p { margin: 0; color: var(--h3-sub); font-size: 12px; line-height: 1.55 }
.h3-serv-link { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 18px; color: var(--h3-blue); font-size: 11.5px; font-weight: 650 }
.h3-serv-link svg { width: 12px; height: 12px; transition: transform .25s }
.h3-serv:hover .h3-serv-link svg { transform: translateX(3px) }

/* ==========================================================================
   CATALOGO
   ========================================================================== */
.h3-catalog { background: var(--h3-soft); border-block: 1px solid var(--h3-line) }
.h3-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px) }
.h3-head h2 { max-width: 720px }
.h3-link {
    display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px;
    border-bottom: 1px solid rgba(0, 113, 227, .35);
    color: var(--h3-blue) !important; font-size: 13px; font-weight: 650; text-decoration: none; white-space: nowrap;
    transition: gap .2s;
}
.h3-link:hover { gap: 13px; text-decoration: none }
.h3-link svg { width: 14px; height: 14px }

.h3-tools { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 26px }
.h3-home .hm-chips { display: flex; flex-wrap: wrap; gap: 8px }
.h3-home .hm-chip {
    padding: 10px 16px; border: 1px solid var(--h3-line); border-radius: 999px;
    background: var(--h3-card); color: var(--h3-sub);
    font-family: inherit; font-size: 11.5px; font-weight: 650; cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.h3-home .hm-chip:hover { color: var(--h3-ink); border-color: var(--h3-ink) }
.h3-home .hm-chip.is-active { background: var(--h3-ink); border-color: var(--h3-ink); color: var(--h3-bg); box-shadow: 0 8px 20px rgba(15, 23, 42, .18) }
.h3-home .hm-search { position: relative; display: flex; align-items: center; width: 264px; max-width: 100%; border-bottom: 1px solid var(--h3-line); transition: border-color .2s }
.h3-home .hm-search:focus-within { border-color: var(--h3-blue) }
.h3-home .hm-search svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--h3-sub) }
.h3-home .hm-search input { width: 100%; padding: 10px 4px 10px 9px; border: 0; outline: 0; background: transparent; color: var(--h3-ink); font-family: inherit; font-size: 13px }
.h3-home .hm-search input::placeholder { color: var(--h3-sub) }

.h3-home .hm-course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; perspective: 1400px }
.h3-home .hm-course {
    position: relative; display: flex; flex-direction: column; min-height: 318px; padding: 22px;
    border: 1px solid var(--h3-line); border-radius: 26px; background: var(--h3-surface);
    color: var(--h3-ink) !important; text-decoration: none; overflow: hidden;
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
    transform-style: preserve-3d; will-change: transform;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 10px 30px rgba(15, 23, 42, .05);
    transition: transform .22s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s;
}
.h3-home .hm-course:hover { --lift: -3px; border-color: rgba(0, 113, 227, .38); box-shadow: 0 28px 58px rgba(15, 23, 42, .14) }
.h3-home .hm-course::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(180deg, var(--h3-pink), #0f4c5c) }
.h3-home .hm-course::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 113, 227, .16), transparent 62%);
    transition: opacity .3s;
}
.h3-home .hm-course:hover::after { opacity: 1 }
.h3-home .hm-course.is-hidden { display: none }
.h3-course-top, .h3-home .hm-course-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 15px }
.h3-home .hm-course-index { padding-top: 3px; color: var(--h3-sub); font-size: 10px; font-weight: 700; letter-spacing: .12em }
.h3-home .hm-course-cat { max-width: 150px; margin-left: auto; color: var(--h3-blue); font-size: 9px; font-weight: 700; line-height: 1.35; letter-spacing: .1em; text-transform: uppercase; text-align: right }
.h3-home .hm-course-free {
    flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 56px; height: 56px; margin: -2px 0 0 2px; border: 2px solid rgba(255, 255, 255, .92); border-radius: 50%;
    background: radial-gradient(circle at 32% 24%, #f16a97, #d9366a 72%); color: #fff;
    box-shadow: 0 8px 18px rgba(217, 54, 106, .26), inset 0 1px 0 rgba(255, 255, 255, .35);
    transform: rotate(-8deg) translateZ(18px); line-height: 1; text-transform: uppercase; text-align: center; letter-spacing: .06em;
}
.h3-home .hm-course-free small { display: block; font-size: 6.5px; font-weight: 750; letter-spacing: .12em }
.h3-home .hm-course-free strong { display: block; margin-top: 2px; font-size: 8.5px; font-weight: 850; letter-spacing: .02em }
.h3-home .hm-course h3 { margin: 0; font-size: 19px; line-height: 1.16; letter-spacing: -.028em; font-weight: 750 }
.h3-home .hm-course p { margin: 0 0 16px; color: var(--h3-sub); font-size: 12px; line-height: 1.5 }
.h3-home .hm-course-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--h3-line); color: var(--h3-sub); font-size: 11px; font-weight: 600 }
.h3-home .hm-course-hours { display: inline-flex; align-items: center; padding: 7px 9px; border-radius: 7px; background: var(--h3-pink); color: #fff; font-size: 9.5px; font-weight: 800; line-height: 1; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 5px 12px rgba(231, 74, 123, .2) }
.h3-home .hm-course-hours b { font-weight: 850 }
.h3-home .hm-course-brands { display: flex; align-items: center; margin-top: 12px }
.h3-home .hm-brands-dock { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 9px; border: 1px solid rgba(0, 0, 0, .07); border-radius: 10px; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .04) }
.h3-home .hm-brands-dock img { display: block; width: auto; object-fit: contain }
.h3-home .hm-brands-dock img.hm-edutech { height: 16px }
.h3-home .hm-brands-dock img.hm-officine { height: 31px }
.h3-home .hm-brands-sep { width: 1px; height: 19px; background: rgba(0, 0, 0, .13) }
.h3-home .hm-arrow { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--h3-soft); color: var(--h3-ink); transition: background .25s, color .25s, transform .25s }
.h3-home .hm-course:hover .hm-arrow { background: var(--h3-blue); color: #fff; transform: rotate(-35deg) }
.h3-home .hm-arrow svg { width: 12px; height: 12px }
.h3-home .hm-empty { grid-column: 1 / -1; padding: 40px 20px; border: 1px dashed var(--h3-line); border-radius: 24px; color: var(--h3-sub); text-align: center; font-size: 13px }
.h3-home .hm-empty a { color: var(--h3-blue) !important }

.h3-js .hm-course-grid .hm-course { opacity: 0 }
.h3-js .hm-course-grid.is-in .hm-course { animation: h3CardIn .62s cubic-bezier(.16, .8, .24, 1) both; animation-delay: calc(var(--i, 0) * 60ms) }
.h3-catalog-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px }
.h3-catalog-count { color: var(--h3-sub); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase }
.h3-load { padding: 8px 0; border: 0; border-bottom: 1px solid var(--h3-line); background: transparent; color: var(--h3-ink); font-family: inherit; font-size: 12px; font-weight: 650; cursor: pointer; transition: color .2s, border-color .2s }
.h3-load:hover { color: var(--h3-blue); border-color: var(--h3-blue) }

.h3-partners { display: grid; grid-template-columns: minmax(170px, .38fr) 1fr; align-items: center; gap: 18px; margin-top: 28px; padding: 18px 20px; border: 1px solid rgba(0, 0, 0, .08); border-radius: 20px; background: #fff }
.h3-partners-copy span { display: block; color: #1d1d1f; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase }
.h3-partners-copy p { margin: 5px 0 0; color: #6e6e73; font-size: 10px; line-height: 1.45 }
.h3-partners-logos { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 24px; min-width: 0 }
.h3-partners-logos img { display: block; width: auto; height: auto; max-height: 30px; max-width: 100px; object-fit: contain }
.h3-partners-logos img.hm-pl-gol { max-height: 38px; max-width: 70px }
.h3-partners-logos img.hm-pl-eu { max-height: 32px; max-width: 54px }
.h3-partners-logos img.hm-pl-lazio { max-height: 30px; max-width: 94px }
.h3-partners-logos img.hm-pl-ml { max-height: 32px; max-width: 42px }
.h3-partners-logos img.hm-pl-italia { max-height: 30px; max-width: 190px }
.h3-partners-logos a { display: inline-flex; align-items: center; justify-content: center; line-height: 0; text-decoration: none; border-radius: 8px }
.h3-partners-logos a:focus-visible { outline: 3px solid var(--h3-blue); outline-offset: 3px }

/* ==========================================================================
   PERCORSI
   ========================================================================== */
.h3-path-grid { display: grid; grid-template-columns: 1.16fr .84fr; grid-template-rows: repeat(2, minmax(238px, 1fr)); gap: 15px; perspective: 1600px }
.h3-path {
    position: relative; min-height: 238px; border-radius: 28px; overflow: hidden; isolation: isolate;
    background: #151517; color: #fff !important; text-decoration: none;
    transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s;
    box-shadow: 0 24px 50px rgba(15, 23, 42, .16);
}
.h3-path-large { grid-row: span 2; min-height: 500px }
.h3-path img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.2, .7, .2, 1) }
.h3-path::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .03) 18%, rgba(0, 0, 0, .8) 100%) }
.h3-path:hover { box-shadow: 0 36px 74px rgba(15, 23, 42, .26) }
.h3-path:hover img { transform: scale(1.06) }
.h3-path:hover { text-decoration: none }
.h3-path-copy { position: absolute; inset: auto 0 0; z-index: 2; padding: 27px }
.h3-path-copy > span:first-child { display: block; margin-bottom: 8px; color: rgba(255, 255, 255, .68); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase }
.h3-path-copy h3 { max-width: 460px; margin: 0; color: #fff; font-size: clamp(23px, 2.4vw, 33px); line-height: 1.03; letter-spacing: -.04em; font-weight: 800 }
.h3-path-large .h3-path-copy { padding: 34px }
.h3-path-large .h3-path-copy h3 { font-size: clamp(33px, 4vw, 54px) }
.h3-path-copy p { max-width: 400px; margin: 12px 0 0; color: rgba(255, 255, 255, .74); font-size: 12px; line-height: 1.5 }
.h3-path-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: #fff; font-size: 11px; font-weight: 650 }
.h3-path-link svg { width: 13px; height: 13px; transition: transform .25s }
.h3-path:hover .h3-path-link svg { transform: translateX(4px) }

/* ==========================================================================
   PIATTAFORMA (scura)
   ========================================================================== */
.h3-platform { position: relative; overflow: hidden; background: #07070a; color: #f5f5f7 }
.h3-platform::before {
    content: ""; position: absolute; top: -24%; right: -16%; width: 54vw; height: 54vw; max-width: 720px; max-height: 720px;
    border-radius: 50%; background: radial-gradient(circle, rgba(0, 113, 227, .22), transparent 66%); pointer-events: none;
}
.h3-platform .h3-kicker { color: #6fb3ff }
.h3-platform h2 { color: #f5f5f7 }
.h3-platform-head { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 70px); align-items: end; margin-bottom: clamp(32px, 4vw, 54px) }
.h3-platform-head .h3-lead { max-width: 450px; margin: 0 0 5px auto; color: #a1a1a6 }
.h3-platform-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 62px); align-items: center }

.h3-dash-stage { position: relative; perspective: 1500px; perspective-origin: 50% 45% }
.h3-dash {
    position: relative; padding: 18px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 30px;
    background: linear-gradient(145deg, #1a1a1f, #0a0a0c); color: #f5f5f7;
    box-shadow: 0 44px 90px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .07);
    transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .45s cubic-bezier(.2, .7, .2, 1);
    overflow: hidden;
}
.h3-dash::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 88% 0%, rgba(0, 113, 227, .2), transparent 44%); pointer-events: none }
.h3-dash-inset { position: relative; z-index: 1 }
.h3-dash-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 4px 15px; color: #8e8e93; font-size: 10px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase }
.h3-dots { display: flex; gap: 4px }
.h3-dots i { width: 5px; height: 5px; border-radius: 50%; background: #3a3a3e }
.h3-tabs { display: flex; gap: 3px; padding: 3px; border-radius: 13px; background: rgba(255, 255, 255, .06) }
.h3-tab { flex: 1; padding: 9px 5px; border: 0; border-radius: 10px; background: transparent; color: #8e8e93; font-family: inherit; font-size: 10px; font-weight: 650; cursor: pointer; transition: background .2s, color .2s }
.h3-tab:hover { color: #fff }
.h3-tab.is-active { background: rgba(255, 255, 255, .13); color: #fff }
.h3-panel { display: none; animation: h3Fade .3s ease }
.h3-panel.is-active { display: block }
.h3-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px }
.h3-metric { padding: 12px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 13px; background: rgba(255, 255, 255, .035) }
.h3-metric span { display: block; min-height: 22px; color: #8e8e93; font-size: 9px; font-weight: 600; line-height: 1.2 }
.h3-metric strong { display: block; margin-top: 7px; font-size: 23px; line-height: 1; letter-spacing: -.04em }
.h3-metric em { display: inline-block; margin-left: 3px; color: #30d158; font-size: 9px; font-style: normal }
.h3-gauge-wrap { position: relative; display: flex; align-items: center; gap: 18px; padding: 20px 4px 12px }
.h3-gauge {
    width: 113px; height: 113px; flex: 0 0 auto; border-radius: 50%;
    background: conic-gradient(#30d158 calc(var(--p, 76) * 1%), rgba(255, 255, 255, .09) 0);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 0);
    mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 0);
}
.h3-gauge-value { position: absolute; left: 56px; top: 50%; transform: translate(-50%, -50%); font-size: 28px; line-height: 1; letter-spacing: -.06em; font-weight: 800 }
.h3-gauge-value small { display: block; margin-top: 4px; color: #8e8e93; font-size: 9px; font-weight: 600; text-align: center }
.h3-gauge-copy { min-width: 0 }
.h3-gauge-copy strong { display: block; font-size: 13px; font-weight: 650 }
.h3-gauge-copy span { display: block; margin-top: 4px; color: #8e8e93; font-size: 10px; line-height: 1.45 }
.h3-list { margin-top: 2px; border-top: 1px solid rgba(255, 255, 255, .09) }
.h3-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 2px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 10px }
.h3-row:last-child { border-bottom: 0 }
.h3-row span { display: flex; align-items: center; gap: 7px; color: #c7c7cc }
.h3-row span i { width: 5px; height: 5px; border-radius: 50%; background: #30d158 }
.h3-row b { color: #8e8e93; font-size: 9px; font-weight: 600 }
.h3-row.is-alert span i { background: #ffd60a }
.h3-row.is-alert b { color: #ffd60a }
.h3-alert { display: flex; align-items: flex-start; gap: 10px; padding: 12px; margin-top: 12px; border: 1px solid rgba(255, 214, 10, .22); border-radius: 13px; background: rgba(255, 214, 10, .06) }
.h3-alert svg { width: 16px; height: 16px; flex: 0 0 auto; color: #ffd60a }
.h3-alert strong { display: block; font-size: 10px; font-weight: 650 }
.h3-alert span { display: block; margin-top: 3px; color: #8e8e93; font-size: 9px; line-height: 1.4 }
.h3-dash-chip {
    position: absolute; right: 14px; bottom: -18px; z-index: 2;
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px;
    background: rgba(28, 30, 36, .82); color: #f5f5f7; font-size: 10px; font-weight: 650;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.h3-dash-chip i { width: 7px; height: 7px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 3px rgba(48, 209, 88, .16) }

.h3-platform-copy .h3-lead { margin: 18px 0 24px; color: #a1a1a6 }
.h3-feature-list { display: grid; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none }
.h3-feature-list li { display: flex; align-items: flex-start; gap: 9px; color: #c7c7cc; font-size: 12px; line-height: 1.45 }
.h3-feature-list li::before { content: ""; width: 15px; height: 15px; flex: 0 0 auto; margin-top: 1px; border-radius: 50%; background: rgba(48, 209, 88, .16); box-shadow: inset 0 0 0 1px rgba(48, 209, 88, .5) }
.h3-platform .h3-btn-primary { background: #f5f5f7; color: #08080a !important; box-shadow: 0 16px 34px rgba(0, 0, 0, .4) }
.h3-platform .h3-btn-primary:hover { background: #fff }

.h3-bento { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; margin-top: 34px; perspective: 1400px }
.h3-bento-card {
    position: relative; min-height: 196px; padding: 22px; border: 1px solid rgba(255, 255, 255, .11); border-radius: 24px;
    background: linear-gradient(150deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
    overflow: hidden;
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .35s, background .35s;
}
.h3-bento-card:hover { --lift: -4px; border-color: rgba(255, 255, 255, .22); background: linear-gradient(150deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)) }
.h3-bento-card h3 { margin: 16px 0 6px; color: #f5f5f7; font-size: 15px; font-weight: 700; letter-spacing: -.02em }
.h3-bento-card p { max-width: 300px; margin: 0; color: #8e8e93; font-size: 11px; line-height: 1.45 }
.h3-bento-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(10, 132, 255, .15); color: #6fb3ff }
.h3-bento-icon svg { width: 17px; height: 17px }
.h3-bars { display: flex; align-items: end; gap: 5px; height: 42px; margin-top: 18px }
.h3-bars span { display: block; width: 25px; border-radius: 4px; background: linear-gradient(180deg, #0a84ff, rgba(10, 132, 255, .18)); height: var(--h, 50%) }
.h3-ring { width: 56px; height: 56px; margin-top: 16px; border-radius: 50%; background: conic-gradient(#30d158 calc(var(--p, 82) * 1%), rgba(255, 255, 255, .11) 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 0); mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 0) }
.h3-tags { display: flex; gap: 4px; margin-top: 18px }
.h3-tags span { padding: 5px 8px; border-radius: 6px; background: rgba(255, 255, 255, .07); color: #c7c7cc; font-size: 9px; font-weight: 650 }

/* ==========================================================================
   METODO
   ========================================================================== */
.h3-method { background: var(--h3-soft); border-block: 1px solid var(--h3-line); perspective: 1600px }
.h3-method-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: clamp(30px, 4vw, 48px) }
.h3-method-head .h3-lead { max-width: 410px; margin: 0 }
.h3-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px }
.h3-step {
    position: relative; padding: 28px; border: 1px solid var(--h3-line); border-radius: 26px;
    background: var(--h3-surface); overflow: hidden;
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s;
}
.h3-step:hover { --lift: -6px; border-color: rgba(0, 113, 227, .3); box-shadow: 0 26px 56px rgba(15, 23, 42, .12) }
.h3-step-ghost { position: absolute; top: -8px; right: 12px; color: var(--h3-ink); font-size: 104px; font-weight: 850; line-height: 1; letter-spacing: -.09em; opacity: .05; pointer-events: none }
.h3-step-num { color: var(--h3-blue); font-size: 11px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase }
.h3-step h3 { margin: 34px 0 8px; font-size: 20px; line-height: 1.1; letter-spacing: -.03em; font-weight: 750 }
.h3-step p { max-width: 285px; margin: 0; color: var(--h3-sub); font-size: 12px; line-height: 1.55 }

/* ==========================================================================
   CITAZIONE + CTA
   ========================================================================== */
.h3-quote { padding: clamp(74px, 9vw, 126px) 0; text-align: center }
.h3-quote blockquote { max-width: 1000px; margin: 0 auto; font-size: clamp(28px, 3.9vw, 54px); line-height: 1.12; letter-spacing: -.045em; font-weight: 750 }
.h3-quote blockquote span { color: var(--h3-sub) }
.h3-quote-source { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--h3-sub); font-size: 10px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase }
.h3-quote-source::before,
.h3-quote-source::after { content: ""; width: 22px; height: 1px; background: var(--h3-line) }

.h3-cta { padding-top: 0 }
.h3-cta-card {
    position: relative; isolation: isolate; overflow: hidden; padding: clamp(34px, 6vw, 74px); border-radius: 36px; color: #fff;
    background:
        radial-gradient(560px circle at var(--mx, 80%) var(--my, 8%), rgba(100, 195, 255, .5), transparent 46%),
        linear-gradient(125deg, #0071e3 0%, #0b3d91 52%, #07070a 100%);
    box-shadow: 0 44px 96px rgba(0, 60, 140, .32);
}
.h3-cta-card::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, #000, transparent 82%);
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 82%);
    opacity: .55;
}
.h3-cta-card .h3-kicker { color: rgba(255, 255, 255, .68) }
.h3-cta-card h2 { max-width: 760px; color: #fff; font-size: clamp(38px, 5.6vw, 72px) }
.h3-cta-card p { max-width: 510px; margin: 18px 0 0; color: rgba(255, 255, 255, .74); font-size: 15px; line-height: 1.55 }
.h3-cta-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px }
.h3-cta-card .h3-btn-primary { background: #fff; color: #0b0b0d !important; box-shadow: 0 16px 34px rgba(0, 0, 0, .28) }
.h3-cta-card .h3-btn-primary:hover { background: #f0f0f2 }
.h3-cta-card .h3-btn-ghost { border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); color: #fff !important }
.h3-cta-card .h3-btn-ghost:hover { border-color: #fff }

/* ==========================================================================
   RIVELAZIONI (solo con JS attivo)
   ========================================================================== */
.h3-js [data-reveal] {
    opacity: 0; translate: 0 42px; scale: .985;
    transition: opacity .85s cubic-bezier(.16, .8, .24, 1), translate .85s cubic-bezier(.16, .8, .24, 1), scale .85s cubic-bezier(.16, .8, .24, 1);
    transition-delay: var(--d, 0s);
}
.h3-js [data-reveal="zoom"] { translate: 0 34px; scale: .93 }
.h3-js [data-reveal="left"] { translate: -40px 0; scale: 1 }
.h3-js [data-reveal="right"] { translate: 40px 0; scale: 1 }
.h3-js [data-reveal].is-in { opacity: 1; translate: 0 0; scale: 1 }

/* ==========================================================================
   ANIMAZIONI
   ========================================================================== */
@keyframes h3Pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(48, 209, 88, .1) } 50% { box-shadow: 0 0 0 8px rgba(48, 209, 88, .03) } }
@keyframes h3Bob { 0%, 100% { translate: 0 0 } 50% { translate: 0 -10px } }
@keyframes h3Nudge { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(4px) } }
@keyframes h3RibbonLeft { from { transform: translate3d(0, 0, 0) } to { transform: translate3d(-50%, 0, 0) } }
@keyframes h3CardIn { from { opacity: 0; translate: 0 24px; scale: .97 } to { opacity: 1; translate: 0 0; scale: 1 } }
@keyframes h3Fade { from { opacity: 0; transform: translateY(5px) } to { opacity: 1; transform: none } }
@keyframes h3Shine { 0%, 100% { background-position: 0% 50% } 50% { background-position: 100% 50% } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991.98px) {
    .h3-hero { min-height: auto; padding-top: 122px }
    .h3-hero-grid, .h3-platform-head, .h3-platform-grid, .h3-intro-grid, .h3-method-head { grid-template-columns: 1fr }
    .h3-method-head { display: block }
    .h3-method-head .h3-lead { margin-top: 14px; max-width: 520px }
    .h3-intro-grid .h3-lead, .h3-platform-head .h3-lead { margin: 0; max-width: 600px }
    .h3-stage { max-width: 560px; margin: 10px auto 0 }
    .h3-photo-card { aspect-ratio: 4 / 3.7 }
    .h3-float-temp { left: 10px; top: 14px }
    .h3-float-cert { right: 10px; bottom: 14px }
    .h3-home .hm-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
    .h3-path-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto }
    .h3-path-large { grid-row: auto; grid-column: 1 / -1; min-height: 400px }
    .h3-bento { grid-template-columns: 1fr 1fr }
    .h3-bento-card:first-child { grid-column: 1 / -1 }
    .h3-serv-grid { grid-template-columns: 1fr 1fr }
    .h3-steps { grid-template-columns: 1fr }
    .h3-step h3 { margin-top: 18px }
}

@media (max-width: 767.98px) {
    .h3-head { display: block }
    .h3-head .h3-link { margin-top: 20px }
    .h3-stats { grid-template-columns: 1fr 1fr }
    .h3-quote { text-align: left }
    .h3-quote-source { margin-top: 22px }
    .h3-catalog-foot { align-items: flex-start; flex-direction: column; gap: 10px }
    .h3-partners { grid-template-columns: 1fr; gap: 14px; padding: 16px }
    .h3-partners-logos { justify-content: flex-start; gap: 16px }
    .h3-partners-logos img { max-height: 25px }
    .h3-partners-logos img.hm-pl-gol { max-height: 32px }
}

@media (max-width: 575.98px) {
    .h3-wrap { width: calc(100% - 32px) }
    .h3-hero { padding-top: 112px; padding-bottom: 46px }
    .h3-hero h1 { font-size: clamp(42px, 12.6vw, 58px) }
    .h3-hero .h3-lead { margin-top: 20px; font-size: 15px }
    .h3-actions { flex-direction: column; align-items: stretch }
    .h3-actions .h3-btn { width: 100% }
    .h3-proof { gap: 7px 14px; font-size: 11px }
    .h3-cue { display: none }
    .h3-sec { padding: 62px 0 }
    .h3-stage { max-width: 100% }
    .h3-photo-card { aspect-ratio: 4 / 4.2; border-radius: 28px }
    .h3-float { padding: 12px 13px; border-radius: 17px }
    .h3-float-temp { width: 158px; left: 6px }
    .h3-float-cert { width: 216px; right: 6px }
    .h3-temp strong { font-size: 26px }
    .h3-cert strong { font-size: 12px }
    .h3-cert span { font-size: 9px }
    .h3-tools { display: block }
    .h3-home .hm-chips { margin-bottom: 16px }
    .h3-home .hm-search { width: 100% }
    .h3-home .hm-course-grid { grid-template-columns: 1fr }
    .h3-home .hm-course { min-height: 300px }
    .h3-home .hm-course-free { width: 50px; height: 50px }
    .h3-home .hm-course-free small { font-size: 6px }
    .h3-home .hm-course-free strong { font-size: 7.5px }
    .h3-partners-logos { gap: 13px }
    .h3-path-grid, .h3-bento, .h3-serv-grid { grid-template-columns: 1fr }
    .h3-path-large { min-height: 340px }
    .h3-path-copy, .h3-path-large .h3-path-copy { padding: 22px }
    .h3-platform-head { margin-bottom: 28px }
    .h3-dash { padding: 13px; border-radius: 24px }
    .h3-dash-chip { display: none }
    .h3-metric { padding: 10px 8px }
    .h3-metric strong { font-size: 19px }
    .h3-row { font-size: 9px }
    .h3-bento-card { min-height: 168px }
    .h3-cta-card { padding: 30px 22px; border-radius: 26px }
    .h3-cta-actions { flex-direction: column; align-items: stretch }
    .h3-cta-actions .h3-btn { width: 100% }
}

@media (prefers-reduced-motion: reduce) {
    .h3-home *, .h3-home *::before, .h3-home *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important }
    .h3-ribbon-track { animation: none }
    .h3-orb { display: none }
    .h3-hero-copy, .h3-stage { transform: none }
    .h3-js [data-reveal] { opacity: 1; translate: 0 0; scale: 1 }
    .h3-js .hm-course-grid .hm-course { opacity: 1 }
}
