/* ===================== SCOPED RESET ===================== */
.qvh-hero,
.qvh-hero *,
.qvh-hero *::before,
.qvh-hero *::after {
    box-sizing: border-box;
}

.qvh-hero h1,
.qvh-hero h2,
.qvh-hero h3,
.qvh-hero h4,
.qvh-hero h5,
.qvh-hero p,
.qvh-hero ul,
.qvh-hero li,
.qvh-hero figure {
    margin: 0;
    padding: 0;
}

.qvh-hero ul {
    list-style: none;
}

.qvh-hero a {
    text-decoration: none;
    color: inherit;
}

.qvh-hero img,
.qvh-hero svg {
    display: block;
}

/* ===================== TOKENS / ROOT ===================== */
.qvh-hero {
    --qvh-navy: #1b3a6b;
    --qvh-navy-deep: #142a52;
    --qvh-orange: #f47a1e;
    --qvh-orange-2: #f9941f;
    --qvh-orange-soft: #fff2e6;
    --qvh-green: #16a34a;
    --qvh-blue: #2f6bff;
    --qvh-ink: #2b3344;
    --qvh-muted: #6b7585;
    --qvh-line: #eceff5;
    --qvh-line-2: #e3e8f1;
    --qvh-card: #ffffff;
    --qvh-shadow-sm: 0 6px 18px rgba(22, 40, 77, .06);
    --qvh-shadow: 0 18px 44px rgba(22, 40, 77, .12);
    --qvh-radius: 18px;

    position: relative;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--qvh-ink);
    background:
        radial-gradient(1200px 600px at 78% 8%, #eef3fc 0%, rgba(238, 243, 252, 0) 55%),
        linear-gradient(180deg, #ffffff 0%, #f6f8fd 100%);
    overflow: hidden;
    padding: 54px 0 40px;
}

.qvh-hero__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

.qvh-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    gap: 24px;
    align-items: center;
}

/* ===================== LEFT CONTENT ===================== */
.qvh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--qvh-line-2);
    border-radius: 999px;
    padding: 8px 16px 8px 10px;
    box-shadow: var(--qvh-shadow-sm);
}

.qvh-eyebrow__spin {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--qvh-orange), #ffd089, var(--qvh-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    animation: qvh-spin 4.5s linear infinite;
}

.qvh-eyebrow__spin::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
}

.qvh-eyebrow__text {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: .06em;
    color: var(--qvh-navy);
}

.qvh-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    color: var(--qvh-navy);
    font-size: clamp(34px, 4.2vw, 58px);
    line-height: 1.08;
    letter-spacing: -.01em;
    margin-top: 22px;
}

.qvh-title .qvh-accent {
    color: var(--qvh-orange);
}

.qvh-lead {
    max-width: 540px;
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.62;
    color: var(--qvh-muted);
}

.qvh-lead strong {
    color: var(--qvh-ink);
    font-weight: 600;
}

/* feature chips */
.qvh-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.qvh-chip {
    display: flex;
    align-items: center;
    gap: 11px;
    background: #fff;
    border: 1px solid var(--qvh-line-2);
    border-radius: 14px;
    padding: 11px 16px;
    box-shadow: var(--qvh-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}

.qvh-chip:hover {
    transform: translateY(-3px);
    box-shadow: var(--qvh-shadow);
}

.qvh-chip__ico {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qvh-chip__ico svg {
    width: 18px;
    height: 18px;
}

.qvh-chip--a .qvh-chip__ico {
    background: #eef2ff;
    color: #3b5bdb;
}

.qvh-chip--b .qvh-chip__ico {
    background: #fff1e6;
    color: var(--qvh-orange);
}

.qvh-chip--c .qvh-chip__ico {
    background: #e8f8ee;
    color: var(--qvh-green);
}

.qvh-chip--d .qvh-chip__ico {
    background: #f0ecff;
    color: #7c5cff;
}

.qvh-chip__txt {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.qvh-chip__txt b {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    color: var(--qvh-navy-deep);
}

.qvh-chip__txt span {
    font-size: 12.5px;
    color: var(--qvh-muted);
}

/* CTAs */
.qvh-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}

.qvh-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 16px 26px;
    border-radius: 14px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.qvh-btn--primary {
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, var(--qvh-orange) 0%, var(--qvh-orange-2) 100%);
    box-shadow: 0 14px 26px rgba(244, 122, 30, .32);
}

.qvh-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(244, 122, 30, .42);
}

.qvh-btn--primary svg {
    transition: transform .25s ease;
}

.qvh-btn--primary:hover svg {
    transform: translate(2px, -2px);
}

.qvh-btn--ghost {
    color: var(--qvh-navy);
    background: #fff;
    border: 1px solid var(--qvh-line-2);
    box-shadow: var(--qvh-shadow-sm);
}

.qvh-btn--ghost:hover {
    transform: translateY(-3px);
    box-shadow: var(--qvh-shadow);
    border-color: #cfd8e8;
}

.qvh-btn--ghost .qvh-play {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--qvh-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qvh-btn--ghost .qvh-play svg {
    width: 9px;
    height: 9px;
}

/* review badges */
.qvh-reviews {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.qvh-review {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--qvh-line-2);
    border-radius: 14px;
    padding: 12px 20px;
    box-shadow: var(--qvh-shadow-sm);
}

.qvh-review__logo {
    flex: none;
}

.qvh-review__logo svg {
    width: 30px;
    height: 30px;
}

.qvh-review__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.qvh-stars {
    display: flex;
    gap: 2px;
    color: #f5a623;
}

.qvh-stars svg {
    width: 15px;
    height: 15px;
}

.qvh-stars--green {
    color: #00b67a;
}

.qvh-review__count {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .05em;
    color: var(--qvh-muted);
}

/* ===================== RIGHT VISUAL (ORBIT) ===================== */
.qvh-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    min-height: 520px;
}

/* dashed orbit ring */
.qvh-orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 62%;
    height: 62%;
    transform: translate(-50%, -50%);
    border: 1.5px dashed #c4d2ec;
    border-radius: 50%;
    animation: qvh-rotate 60s linear infinite;
}

.qvh-orbit-ring::before,
.qvh-orbit-ring::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.qvh-orbit-ring::before {
    width: 11px;
    height: 11px;
    background: var(--qvh-orange);
    top: -5px;
    left: 30%;
    box-shadow: 0 0 0 4px rgba(244, 122, 30, .15);
}

.qvh-orbit-ring::after {
    width: 9px;
    height: 9px;
    background: var(--qvh-blue);
    bottom: 6%;
    right: -4px;
    box-shadow: 0 0 0 4px rgba(47, 107, 255, .15);
}

/* glowing center orb + Q logo */
.qvh-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 38%, #ffffff 0%, #eef3fd 62%, #e3ebfa 100%);
    box-shadow: 0 30px 60px rgba(27, 58, 107, .16), inset 0 0 0 12px rgba(255, 255, 255, .7);
}

.qvh-core::before {
    content: "";
    position: absolute;
    inset: 14%;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(27, 58, 107, .05), 0 10px 30px rgba(27, 58, 107, .10);
}

.qvh-core__mark {
    position: relative;
    display: flex;
    align-items: flex-start;
}

.qvh-core__q {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: clamp(54px, 7vw, 96px);
    line-height: .8;
    color: var(--qvh-navy);
}

.qvh-core__pix {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    margin-top: 6px;
    margin-left: 4px;
}

.qvh-core__pix i {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--qvh-orange);
    display: block;
}

.qvh-core__pix i:nth-child(2) {
    opacity: .55;
}

.qvh-core__pix i:nth-child(3) {
    opacity: .8;
}

/* service nodes */
.qvh-node {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    animation: qvh-bob 6s ease-in-out infinite;
}

.qvh-node__dot {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--qvh-shadow);
}

.qvh-node__dot svg {
    width: 26px;
    height: 26px;
}

.qvh-node__label {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 12.5px;
    color: var(--qvh-navy-deep);
    white-space: nowrap;
    text-align: center;
    line-height: 1.2;
}

.qvh-node--seo {
    top: 7%;
    left: 50%;
}

.qvh-node--ppc {
    top: 16%;
    left: 81%;
    animation-delay: .4s;
}

.qvh-node--web {
    top: 42%;
    left: 92%;
    animation-delay: .8s;
}

.qvh-node--crm {
    top: 64%;
    left: 84%;
    animation-delay: 1.2s;
}

.qvh-node--ai {
    top: 86%;
    left: 58%;
    animation-delay: 1.6s;
}

.qvh-node--content {
    top: 64%;
    left: 20%;
    animation-delay: 2s;
}

.qvh-node--social {
    top: 40%;
    left: 9%;
    animation-delay: 2.4s;
}

.qvh-i-seo {
    color: var(--qvh-blue);
}

.qvh-i-ppc {
    color: var(--qvh-orange);
}

.qvh-i-web {
    color: #7c5cff;
}

.qvh-i-crm {
    color: var(--qvh-blue);
}

.qvh-i-ai {
    color: var(--qvh-navy);
}

.qvh-i-content {
    color: var(--qvh-orange);
}

.qvh-i-social {
    color: var(--qvh-blue);
}

/* floating metric cards */
.qvh-card {
    position: absolute;
    background: var(--qvh-card);
    border: 1px solid var(--qvh-line);
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: var(--qvh-shadow);
    width: 172px;
    animation: qvh-float 7s ease-in-out infinite;
    z-index: 3;
}

.qvh-card__title {
    font-size: 12px;
    color: var(--qvh-muted);
    font-weight: 500;
}

.qvh-card__big {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin: 2px 0 1px;
}

.qvh-card__sub {
    font-size: 11.5px;
    color: var(--qvh-muted);
}

.qvh-up {
    color: var(--qvh-green);
}

.qvh-card svg.qvh-spark {
    width: 100%;
    height: 34px;
    margin-top: 8px;
}

.qvh-card--seo {
    top: 8%;
    left: -2%;
    animation-delay: .2s;
}

.qvh-card--leads {
    top: 8%;
    right: -3%;
    animation-delay: 1s;
}

.qvh-card--traffic {
    top: 36%;
    left: -6%;
    animation-delay: 1.8s;
}

.qvh-card--ppc {
    top: 34%;
    right: -7%;
    animation-delay: .6s;
}

.qvh-card--auto {
    bottom: 4%;
    left: 0%;
    animation-delay: 1.4s;
}

.qvh-card--rev {
    bottom: 1%;
    right: -2%;
    animation-delay: 2.2s;
}

/* AI automation card body */
.qvh-card--auto .qvh-auto-head {
    display: flex;
    align-items: center;
    gap: 9px;
}

.qvh-card--auto .qvh-auto-ico {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #eef2ff;
    color: var(--qvh-navy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qvh-card--auto .qvh-auto-ico svg {
    width: 20px;
    height: 20px;
}

.qvh-divider {
    height: 1px;
    background: var(--qvh-line);
    margin: 11px 0;
}

/* revenue donut */
.qvh-card--rev .qvh-rev-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qvh-donut {
    width: 54px;
    height: 54px;
    flex: none;
}

/* ===================== STATS BAR ===================== */
.qvh-stats {
    max-width: 1280px;
    margin: 46px auto 0;
    padding: 0 28px;
}

.qvh-stats__card {
    background: #fff;
    border: 1px solid var(--qvh-line);
    border-radius: 22px;
    box-shadow: var(--qvh-shadow);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 26px 8px;
}

.qvh-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 6px 26px;
    border-right: 1px solid var(--qvh-line);
}

.qvh-stat:last-child {
    border-right: 0;
}

.qvh-stat__ico {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qvh-stat__ico svg {
    width: 28px;
    height: 28px;
}

.qvh-stat--1 .qvh-stat__ico {
    background: #eaf1ff;
    color: var(--qvh-blue);
}

.qvh-stat--2 .qvh-stat__ico {
    background: #e8f8ee;
    color: var(--qvh-green);
}

.qvh-stat--3 .qvh-stat__ico {
    background: #fff0e3;
    color: var(--qvh-orange);
}

.qvh-stat--4 .qvh-stat__ico {
    background: #f1ecff;
    color: #7c5cff;
}

.qvh-stat--5 .qvh-stat__ico {
    background: #eaf1ff;
    color: var(--qvh-blue);
}

.qvh-stat__txt {
    display: flex;
    flex-direction: column;
}

.qvh-stat__num {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 30px;
    color: var(--qvh-navy);
    line-height: 1;
}

.qvh-stat__lbl {
    font-size: 13.5px;
    color: var(--qvh-muted);
    margin-top: 5px;
}

/* ===================== SIDE TABS (optional) ===================== */
/* If your theme already renders these site-wide, just delete this block
   and the two .qvh-sidetab elements in the markup. */
.qvh-sidetab {
    position: absolute;
    left: 0;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .05em;
    color: #fff;
    padding: 16px 9px;
    border-radius: 0 8px 8px 0;
    z-index: 5;
}

.qvh-sidetab--a {
    top: 120px;
    background: var(--qvh-orange);
}

.qvh-sidetab--b {
    top: 300px;
    background: var(--qvh-navy);
}

/* ===================== MOTION ===================== */
@keyframes qvh-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes qvh-rotate {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes qvh-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes qvh-bob {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-7px);
    }
}

@media (prefers-reduced-motion:reduce) {
    .qvh-hero * {
        animation: none !important;
    }
}

/* ===================== RESPONSIVE ===================== */
@media (min-width:921px) {
    .qvh-visual {
        transform: translateY(-34px);
    }
}

@media (max-width:1100px) {
    .qvh-card {
        width: 152px;
    }

    .qvh-stat {
        padding: 6px 16px;
        gap: 12px;
    }

    .qvh-stat__num {
        font-size: 26px;
    }
}

@media (max-width:920px) {
    .qvh-hero__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .qvh-visual {
        max-width: 560px;
        margin: 0 auto;
        min-height: 440px;
    }

    .qvh-sidetab {
        display: none;
    }
}

@media (max-width:760px) {
    .qvh-stats__card {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px 0;
        padding: 18px 6px;
    }

    .qvh-stat {
        border-right: 0;
        border-bottom: 1px solid var(--qvh-line);
        padding: 14px 18px;
    }

    .qvh-stat:nth-last-child(-n+1) {
        border-bottom: 0;
    }
}

@media (max-width:620px) {
    .qvh-hero {
        padding: 34px 0 28px;
    }

    .qvh-title {
        font-size: 30px;
    }

    /* simplify the orbit on phones: keep the core + ring + nodes, hide busy cards */
    .qvh-card {
        display: none;
    }

    .qvh-visual {
        min-height: 380px;
        max-width: 330px;
    }

    .qvh-node__dot {
        width: 50px;
        height: 50px;
    }

    .qvh-node__label {
        font-size: 11px;
    }

    .qvh-node--web {
        left: 84%;
    }

    .qvh-node--social {
        left: 13%;
    }

    .qvh-node--ppc {
        left: 78%;
    }

    .qvh-node--crm {
        left: 80%;
    }

    .qvh-cta-row .qvh-btn {
        flex: 1 1 100%;
        justify-content: center;
    }
}

@media (max-width:440px) {
    .qvh-stats__card {
        grid-template-columns: 1fr;
    }

    .qvh-stat {
        border-bottom: 1px solid var(--qvh-line);
    }

    .qvh-stat:last-child {
        border-bottom: 0;
    }
}