/* Homepage hero: "Digital marketing, powered by AI".
   Uses the site theme: light grey (#f9fafb) background, dark Rubik headings, solid #e73c3e accents. */
.cr-hero {
    padding: 100px 0 90px;
    background: #f9fafb;
    border-bottom: 1px solid #e7e7e7;
}

.cr-hero h1 {
    margin: 0 0 22px;
    color: #111;
    font: 700 clamp(38px, 5.2vw, 60px)/1.1 rubik, sans-serif;
    letter-spacing: -.01em;
    text-transform: none;
}

.cr-hero h1 .cr-hero-accent {
    color: #e73c3e;
}

.cr-hero-lead {
    max-width: 540px;
    margin: 0 0 34px;
    color: #606060;
    font-size: 18px;
    line-height: 1.75;
}

.cr-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.cr-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: 1px solid transparent;
    border-radius: 5px;
    font: 500 16px/1.2 rubik, sans-serif;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

.cr-hero-btn-primary {
    background: #e73c3e;
    color: #fff;
}

.cr-hero-btn-primary:hover,
.cr-hero-btn-primary:focus {
    background: #111;
    color: #fff;
}

.cr-hero-btn-secondary {
    border-color: #d8dde6;
    color: #111;
}

.cr-hero-btn-secondary:hover,
.cr-hero-btn-secondary:focus {
    border-color: #e73c3e;
    color: #e73c3e;
}

/* Results card graphic */
.cr-hero-visual {
    position: relative;
    max-width: 460px;
    margin-left: auto;
}

.cr-hero-card {
    padding: 26px;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(17, 17, 17, .08);
}

.cr-hero-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.cr-hero-card-title {
    display: block;
    color: #111;
    font: 500 17px/1.3 rubik, sans-serif;
}

.cr-hero-card-sub {
    display: block;
    margin-top: 3px;
    color: #606060;
    font-size: 13px;
}

.cr-hero-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 5px;
    background: #e73c3e;
    color: #fff;
    font: 500 13px/1 rubik, sans-serif;
}

.cr-hero-chart {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 18px;
}

.cr-hero-chips {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cr-hero-chips li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #f9fafb;
    color: #111;
    font-size: 15px;
}

.cr-hero-chip-icon {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: #fdebeb;
    color: #e73c3e;
    font-size: 18px;
}

.cr-hero-float {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(17, 17, 17, .1);
    color: #111;
    font: 500 14px/1.3 rubik, sans-serif;
}

.cr-hero-float-1 {
    top: -22px;
    left: -34px;
}

.cr-hero-float-2 {
    right: -20px;
    bottom: -24px;
}

.cr-hero-float i {
    color: #e73c3e;
    font-size: 20px;
}

@media (max-width: 991px) {
    .cr-hero {
        padding: 70px 0 70px;
    }

    .cr-hero-visual {
        margin: 56px auto 0;
    }

    .cr-hero-float-1 {
        left: -8px;
    }

    .cr-hero-float-2 {
        right: -8px;
    }
}

@media (max-width: 575px) {
    .cr-hero {
        padding: 50px 0 56px;
    }

    .cr-hero-lead {
        font-size: 16px;
    }

    .cr-hero-actions .cr-hero-btn {
        justify-content: center;
        width: 100%;
    }

    .cr-hero-float {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cr-hero-btn {
        transition: none;
    }
}
