/* ════════════════════════════════════════════
   Hero Header V7 — Dark Gradient
   Centered dark hero: single gradient H1,
   avatar row, gradient pill CTA, note text.
   Depends on scw-base (tokens; all var() uses
   carry literal fallbacks).
   ════════════════════════════════════════════ */

.scw-hh7 {
    position: relative;
    overflow: hidden;
    background: var(--scw-hh7-bg, #08080B);
    font-family: var(--scw-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    text-align: center;
    padding: clamp(96px, 13vw, 168px) 24px clamp(80px, 11vw, 140px);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.scw-hh7 *,
.scw-hh7 *::before,
.scw-hh7 *::after {
    box-sizing: border-box;
}

/* ── Soft accent glow (pure gradients — no blur filter) ── */
.scw-hh7__glow {
    position: absolute;
    top: -22%;
    left: 50%;
    transform: translateX(-50%);
    width: min(1100px, 130vw);
    height: 75%;
    background:
        radial-gradient(ellipse 55% 60% at 38% 40%, var(--scw-hh7-a1, #A855F7) 0%, transparent 65%),
        radial-gradient(ellipse 55% 60% at 62% 45%, var(--scw-hh7-a2, #EC4899) 0%, transparent 65%);
    opacity: 0.14;
    pointer-events: none;
}

.scw-hh7__inner {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
}

/* ── Heading — one element, gradient painted across the whole line ── */
.scw-hh7__title {
    font-size: clamp(40px, 6.6vw, 76px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin: 0 0 26px;
    color: var(--scw-hh7-title, #FFFFFF);
}

.scw-hh7__title--gradient {
    /* Solid color is the built-in fallback: browsers without
       text-fill support simply show the accent color. */
    color: var(--scw-hh7-a2, #EC4899);
    background: linear-gradient(98deg, var(--scw-hh7-a1, #A855F7) 10%, var(--scw-hh7-a2, #EC4899) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Description ── */
.scw-hh7__desc {
    font-size: clamp(17px, 2vw, 21px);
    font-weight: 500;
    line-height: 1.6;
    color: var(--scw-hh7-desc, #E5E7EB);
    max-width: 640px;
    margin: 0 auto 36px;
}

/* ── Avatar row — overlapping circles ── */
.scw-hh7__avatars {
    display: flex;
    justify-content: center;
    margin: 0 0 40px;
}

.scw-hh7__avatar {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--scw-hh7-bg, #08080B);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 6px 16px rgba(0, 0, 0, 0.45);
    margin-left: -14px;
    position: relative;
    transition: transform 0.2s var(--scw-ease, cubic-bezier(0.4, 0, 0.2, 1));
}

.scw-hh7__avatar:first-child {
    margin-left: 0;
}

.scw-hh7__avatar:hover {
    transform: translateY(-4px);
    z-index: 2;
}

.scw-hh7__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── CTA — gradient pill ── */
.scw-hh7__cta-wrap {
    position: relative;
    display: inline-block;
}

.scw-hh7__cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 19px 46px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #FFFFFF;
    text-decoration: none;
    background: linear-gradient(98deg, var(--scw-hh7-a2, #EC4899) 0%, var(--scw-hh7-a1, #A855F7) 100%);
    transition: transform 0.2s var(--scw-ease, cubic-bezier(0.4, 0, 0.2, 1)),
                box-shadow 0.2s var(--scw-ease, cubic-bezier(0.4, 0, 0.2, 1));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* Colored glow under the button: small blurred copy of its own gradient */
.scw-hh7__cta::before {
    content: '';
    position: absolute;
    inset: 10px 6px -6px 6px;
    border-radius: inherit;
    background: inherit;
    filter: blur(18px);
    opacity: 0.45;
    z-index: -1;
    transition: opacity 0.2s var(--scw-ease, cubic-bezier(0.4, 0, 0.2, 1));
}

.scw-hh7__cta:hover {
    transform: translateY(-2px);
    color: #FFFFFF;
}

.scw-hh7__cta:hover::before {
    opacity: 0.7;
}

.scw-hh7__cta:active {
    transform: translateY(0);
}

.scw-hh7__cta:focus-visible {
    outline: 2px solid var(--scw-hh7-a2, #EC4899);
    outline-offset: 4px;
}

.scw-hh7__cta svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ── Note / terms ── */
.scw-hh7__note {
    margin: 26px auto 0;
    max-width: 480px;
    font-size: 13px;
    line-height: 1.65;
    color: var(--scw-hh7-note, #8B8B93);
}

.scw-hh7__note p {
    margin: 0;
}

.scw-hh7__note a {
    color: var(--scw-hh7-a2, #EC4899);
    text-decoration: none;
}

.scw-hh7__note a:hover {
    text-decoration: underline;
}

/* ── Optional stats row ── */
.scw-hh7__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    list-style: none;
    margin: 52px auto 0;
    padding: 0;
}

.scw-hh7__stat {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    padding: 20px 34px;
    min-width: 180px;
}

.scw-hh7__stat-num {
    display: block;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
    color: var(--scw-hh7-a2, #EC4899);
    background: linear-gradient(98deg, var(--scw-hh7-a1, #A855F7) 0%, var(--scw-hh7-a2, #EC4899) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.scw-hh7__stat-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--scw-hh7-desc, #E5E7EB);
    opacity: 0.75;
}

/* ── Optional bottom curve ── */
.scw-hh7__curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
    z-index: 1;
    pointer-events: none;
}

.scw-hh7__curve svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ════════════════════════════════════════════
   Responsive — Tablet (≤ 1023px)
   ════════════════════════════════════════════ */
@media (max-width: 1023px) {
    .scw-hh7__curve svg { height: 50px; }
}

/* ════════════════════════════════════════════
   Responsive — Mobile (≤ 767px)
   ════════════════════════════════════════════ */
@media (max-width: 767px) {
    .scw-hh7 {
        padding-left: 20px;
        padding-right: 20px;
    }

    .scw-hh7__title { margin-bottom: 20px; }

    .scw-hh7__desc { margin-bottom: 30px; }

    .scw-hh7__avatars { margin-bottom: 34px; }

    .scw-hh7__avatar {
        width: 48px;
        height: 48px;
        margin-left: -12px;
        border-width: 2.5px;
    }

    .scw-hh7__cta {
        padding: 17px 40px;
        font-size: 15px;
    }

    .scw-hh7__stats { margin-top: 44px; gap: 10px; }

    .scw-hh7__stat {
        padding: 16px 26px;
        min-width: 150px;
    }

    .scw-hh7__stat-num { font-size: 21px; }
}

/* ════════════════════════════════════════════
   Responsive — Small mobile (≤ 480px)
   ════════════════════════════════════════════ */
@media (max-width: 480px) {
    .scw-hh7__avatar {
        width: 44px;
        height: 44px;
        margin-left: -10px;
    }

    .scw-hh7__cta-wrap {
        display: block;
    }

    .scw-hh7__cta {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }

    .scw-hh7__note { font-size: 12px; }

    .scw-hh7__stats {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .scw-hh7__stat { min-width: 0; }
}

/* ── Elementor Editor Overrides ── */
.elementor-editor-active .scw-hh7 {
    min-height: 200px;
}
