/* ==========================================================
   HAMSA / HPE — STATISTICS
   Premium corporate metrics section
   Palette: gold + warm gray + black
========================================================== */

.hcg-statistics-section {
    position: relative;
    padding: 56px 0 64px;
    background: #ffffff;
    overflow: hidden;
}

.hcg-statistics-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .48;
    background:
        radial-gradient(circle at 83% 26%, rgba(191, 145, 61, .10) 0 1px, transparent 1.5px) 0 0 / 12px 12px,
        linear-gradient(118deg, transparent 0 76%, rgba(191,145,61,.10) 76.1% 76.3%, transparent 76.4%);
}

.hcg-statistics-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(230px, .82fr) minmax(0, 2.7fr);
    align-items: stretch;
    min-height: 292px;
    background: linear-gradient(108deg, #f8f7f4 0%, #f2f2f0 57%, #ececeb 100%);
    border: 1px solid #e2e0db;
    box-shadow: 0 18px 50px rgba(24, 24, 24, .08);
}

.hcg-statistics-shell::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 42%;
    height: 100%;
    pointer-events: none;
    background:
        radial-gradient(circle, rgba(17,17,17,.07) 1px, transparent 1.3px) 0 0 / 9px 9px;
    mask-image: linear-gradient(90deg, transparent, #000 42%, #000);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 42%, #000);
    opacity: .34;
}

.hcg-statistics-shell::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -155px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(191,145,61,.30);
    border-radius: 50%;
    pointer-events: none;
}

/* ----------------------------------------------------------
   INTRO
---------------------------------------------------------- */

.hcg-statistics-intro {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px 34px;
    border-right: 1px solid #ddd9d0;
    background: rgba(255,255,255,.38);
}

.hcg-statistics-rule {
    display: block;
    width: 46px;
    height: 3px;
    margin-bottom: 18px;
    background: #bd913d;
}

.hcg-statistics-eyebrow {
    margin-bottom: 13px;
    color: #a47a2f;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.hcg-statistics-intro h2 {
    margin: 0 0 14px;
    color: #111111;
    font-size: clamp(27px, 2.25vw, 38px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.hcg-statistics-intro p {
    max-width: 250px;
    margin: 0;
    color: #686b6f;
    font-size: 16px;
    line-height: 1.55;
}

/* ----------------------------------------------------------
   CARDS
---------------------------------------------------------- */

.hcg-statistics-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 28px 28px 28px 0;
    background: rgba(255,255,255,.82);
    border: 1px solid #dddcd8;
    box-shadow: 0 12px 30px rgba(17,17,17,.06);
}

.hcg-statistics-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px 25px 22px;
    border-right: 1px solid #deddd9;
    background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(249,249,247,.88));
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.hcg-statistics-card:last-child {
    border-right: 0;
}

.hcg-statistics-card:hover {
    z-index: 3;
    transform: translateY(-3px);
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(17,17,17,.09);
}

.hcg-statistics-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: linear-gradient(145deg, #cda55b, #aa7d31);
    box-shadow: 0 7px 16px rgba(164,122,47,.20);
}

.hcg-statistics-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hcg-statistics-number {
    margin: 0 0 4px;
    color: #101010;
    font-size: clamp(30px, 2.3vw, 40px);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.035em;
}

.hcg-statistics-title {
    margin: 0;
    color: #171717;
    font-size: 20px;
    font-weight: 650;
    line-height: 1.2;
}

.hcg-statistics-card-rule {
    display: block;
    width: 40px;
    height: 3px;
    margin: 16px 0 15px;
    background: #bd913d;
}

.hcg-statistics-description {
    max-width: 22ch;
    margin: 0;
    color: #62656a;
    font-size: 15px;
    line-height: 1.55;
}

/* ----------------------------------------------------------
   DECORATIVE CORNERS
---------------------------------------------------------- */

.hcg-statistics-corner {
    position: absolute;
    z-index: 3;
    width: 86px;
    height: 86px;
    pointer-events: none;
}

.hcg-statistics-corner--top {
    top: 0;
    right: 0;
    border-top: 2px solid #bd913d;
    border-right: 2px solid #bd913d;
    clip-path: polygon(48% 0, 100% 0, 100% 52%);
}

.hcg-statistics-corner--bottom {
    left: 0;
    bottom: 0;
    border-left: 2px solid #bd913d;
    border-bottom: 2px solid #bd913d;
    clip-path: polygon(0 48%, 52% 100%, 0 100%);
}

/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */

@media (max-width: 1100px) {
    .hcg-statistics-shell {
        grid-template-columns: minmax(220px, .75fr) minmax(0, 2.25fr);
    }

    .hcg-statistics-intro {
        padding: 30px 25px;
    }

    .hcg-statistics-grid {
        margin-right: 20px;
    }

    .hcg-statistics-card {
        padding: 21px 18px;
    }

    .hcg-statistics-title {
        font-size: 18px;
    }
}

@media (max-width: 900px) {
    .hcg-statistics-section {
        padding: 42px 0 48px;
    }

    .hcg-statistics-shell {
        display: block;
        min-height: 0;
    }

    .hcg-statistics-intro {
        border-right: 0;
        border-bottom: 1px solid #ddd9d0;
    }

    .hcg-statistics-intro p {
        max-width: 520px;
    }

    .hcg-statistics-grid {
        margin: 20px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hcg-statistics-card:nth-child(2) {
        border-right: 0;
    }

    .hcg-statistics-card:nth-child(-n+2) {
        border-bottom: 1px solid #deddd9;
    }
}

@media (max-width: 600px) {
    .hcg-statistics-section {
        padding: 30px 0 38px;
    }

    .hcg-statistics-intro {
        padding: 30px 22px;
    }

    .hcg-statistics-intro h2 {
        font-size: 29px;
    }

    .hcg-statistics-grid {
        grid-template-columns: 1fr;
        margin: 14px;
    }

    .hcg-statistics-card,
    .hcg-statistics-card:nth-child(-n+2) {
        border-right: 0;
        border-bottom: 1px solid #deddd9;
    }

    .hcg-statistics-card:last-child {
        border-bottom: 0;
    }

    .hcg-statistics-card {
        padding: 22px;
    }

    .hcg-statistics-description {
        max-width: 100%;
    }
}
