/* Homepage hero — professional editorial + bento grid */

.icg-hero--pro {
    position: relative;
    padding: 28px 0 40px;
    background: #f6f5f2;
    overflow: hidden;
}

.icg-hero-accent {
    position: absolute;
    top: -120px;
    right: -80px;
    width: min(520px, 70vw);
    height: min(520px, 70vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 197, 24, 0.2) 0%, transparent 68%);
    pointer-events: none;
}

.icg-hero-accent::after {
    content: "";
    position: absolute;
    bottom: -40%;
    left: -60%;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 106, 53, 0.08) 0%, transparent 70%);
}

.icg-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    gap: 32px;
    align-items: center;
}

/* ── Copy column ── */
.icg-hero-content {
    animation: icgHeroIn 0.6s ease backwards;
}

.icg-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.55);
}

.icg-hero-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--icg-yellow, #f5c518);
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.35);
}

.icg-hero-title {
    margin: 0 0 16px;
    font-size: clamp(36px, 8vw, 58px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: #0f0f0f;
    max-width: 11ch;
}

.icg-hero-title em {
    font-style: normal;
    color: var(--icg-green-dark, #1e4d24);
    background: linear-gradient(180deg, transparent 62%, rgba(245, 197, 24, 0.65) 62%);
}

.icg-hero-lead {
    margin: 0 0 22px;
    max-width: 440px;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(17, 17, 17, 0.68);
}

.icg-hero-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.icg-hero-perks li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--icg-green-dark, #1e4d24);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.icg-hero-perks i {
    font-size: 14px;
    color: var(--icg-green, #2d6a35);
}

.icg-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.icg-btn--hero {
    padding: 15px 28px;
    font-size: 15px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08), 0 10px 28px rgba(245, 197, 24, 0.35);
}

.icg-btn--hero i {
    transition: transform 0.2s ease;
}

.icg-btn--hero:hover i {
    transform: translateX(4px);
}

.icg-hero-signout,
.icg-hero-signin-hint {
    margin: 14px 0 0;
    font-size: 13px;
    color: rgba(17, 17, 17, 0.55);
}

.icg-hero-signout a {
    color: rgba(17, 17, 17, 0.55);
    text-decoration: none;
    font-weight: 600;
}

.icg-hero-signout a:hover {
    color: var(--icg-green-dark, #1e4d24);
}

.icg-hero-signin-hint button {
    appearance: none;
    border: none;
    background: none;
    padding: 0;
    font: inherit;
    font-weight: 700;
    color: var(--icg-green-dark, #1e4d24);
    text-decoration: underline;
    cursor: pointer;
}

.icg-hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.icg-hero-metric {
    flex: 1 1 100px;
    padding: 0 20px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.icg-hero-metric:first-child {
    padding-left: 0;
}

.icg-hero-metric:last-child {
    border-right: none;
    padding-right: 0;
}

.icg-hero-metric strong {
    display: block;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f0f0f;
    line-height: 1.1;
}

.icg-hero-metric span {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(17, 17, 17, 0.5);
}

/* ── Bento product grid ── */
.icg-hero-bento {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(130px, 1fr));
    gap: 12px;
    min-height: 360px;
    animation: icgHeroIn 0.65s ease 0.08s backwards;
}

.icg-hero-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.icg-hero-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    color: inherit;
}

.icg-hero-tile--0 {
    grid-row: 1 / 3;
    grid-column: 1;
}

.icg-hero-tile--1 {
    grid-column: 2;
    grid-row: 1;
}

.icg-hero-tile--2 {
    grid-column: 3;
    grid-row: 1;
}

.icg-hero-tile--3 {
    grid-column: 2 / 4;
    grid-row: 2;
}

.icg-hero-tile-label {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: #0f0f0f;
    color: #fff;
}

.icg-hero-tile-sale {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    background: #e53935;
    color: #fff;
}

.icg-hero-tile-img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 16px;
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.icg-hero-tile--0 .icg-hero-tile-img {
    padding: 24px;
}

.icg-hero-tile-img img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.icg-hero-tile-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 80px;
    color: var(--icg-green, #2d6a35);
    font-size: clamp(2rem, 8vw, 3.5rem);
    opacity: 0.45;
}

.icg-hero-tile-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
}

.icg-hero-tile-name {
    font-size: 12px;
    font-weight: 600;
    color: rgba(17, 17, 17, 0.75);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.icg-hero-tile--0 .icg-hero-tile-name {
    font-size: 13px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.icg-hero-tile-price {
    font-size: 13px;
    font-weight: 800;
    color: var(--icg-green-dark, #1e4d24);
    white-space: nowrap;
}

.icg-hero-tile--0 .icg-hero-tile-price {
    font-size: 15px;
}

@keyframes icgHeroIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .icg-hero--pro {
        padding: 40px 0 56px;
    }

    .icg-hero-inner {
        grid-template-columns: 1fr 1.05fr;
        gap: 40px;
        padding: 0 28px;
    }

    .icg-hero-title {
        max-width: none;
    }

    .icg-hero-bento {
        min-height: 400px;
        gap: 14px;
    }
}

@media (min-width: 1024px) {
    .icg-hero-inner {
        gap: 48px;
        padding: 0 32px;
    }

    .icg-hero-bento {
        min-height: 440px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .icg-hero-content,
    .icg-hero-bento,
    .icg-hero-tile {
        animation: none;
        transition: none;
    }
}
