/* ==========================================================
   HCG HERO
   Image-first corporate engineering hero
   ========================================================== */

.hcg-hero-section {
    position: relative;
    overflow: hidden;
    padding: 22px 0 42px;
    background: #ffffff;
    border-bottom: 1px solid #e7e7e7;
}

.hcg-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(17,17,17,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17,17,17,.018) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%);
}

.hcg-hero-section::after {
    content: "";
    position: absolute;
    width: 540px;
    height: 540px;
    right: -280px;
    bottom: -330px;
    border: 1px solid rgba(198,161,91,.16);
    border-radius: 50%;
    box-shadow:
        0 0 0 26px rgba(198,161,91,.025),
        0 0 0 52px rgba(17,17,17,.012);
    pointer-events: none;
}

.hcg-hero-section .hamsa-container {
    position: relative;
    z-index: 2;
}

/* ==========================================================
   TWO-COLUMN STRUCTURE
   Left = image + content
   Right = process card
   ========================================================== */

.hcg-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(360px, .9fr);
    gap: 42px;
    align-items: start;
}

.hcg-hero-left {
    min-width: 0;
}

/* ==========================================================
   IMAGE — ALWAYS ABOVE LEFT CONTENT
   ========================================================== */

.hcg-hero-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 2.12 / 1;
    overflow: hidden;
    background: #eef0f1;
    border-radius: 0;
    margin: 0 0 28px;
}

.hcg-hero-visual picture,
.hcg-hero-visual-image {
    display: block;
    width: 100%;
    height: 100%;
}

.hcg-hero-visual-image {
    object-fit: cover;
    object-position: center center;
    filter: saturate(.82) contrast(.98);
}

.hcg-hero-visual-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255,255,255,.05), transparent 35%, rgba(8,27,42,.08)),
        linear-gradient(0deg, rgba(8,27,42,.10), transparent 42%);
}

.hcg-hero-visual-line {
    position: absolute;
    left: 28px;
    bottom: 26px;
    width: 90px;
    height: 2px;
    background: #c6a15b;
    opacity: .95;
}

/* ==========================================================
   LEFT CONTENT
   ========================================================== */

.hcg-hero-content {
    position: relative;
    max-width: 900px;
    padding: 0 0 6px;
}

.hcg-hero-rule {
    width: 54px;
    height: 2px;
    margin: 0 0 21px;
    background: #c6a15b;
}

.hcg-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    position: relative;
    margin: 0 0 18px;
    color: #9d7a2f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.hcg-hero-eyebrow::after {
    content: "";
    width: 5px;
    height: 5px;
    margin-left: 13px;
    border-radius: 50%;
    background: #c6a15b;
    box-shadow: 20px 0 0 rgba(198,161,91,.42);
}

.hcg-hero-title {
    max-width: 18ch;
    margin: 0 0 22px;
    color: #111111;
    font-size: clamp(38px, 4.1vw, 58px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.042em;
}

.hcg-hero-description {
    max-width: 900px;
    margin: 0 0 30px;
    color: #444444;
    font-size: 17px;
    line-height: 1.72;
}

.hcg-hero-description p {
    margin: 0 0 15px;
}

.hcg-hero-description p:last-child {
    margin-bottom: 0;
}

/* ==========================================================
   BUTTONS
   ========================================================== */

.hcg-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 27px;
}

.hcg-hero-buttons .hcg-btn-primary,
.hcg-hero-buttons .hcg-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 25px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.hcg-hero-buttons .hcg-btn-primary {
    color: #111111 !important;
    background: #c6a15b;
    border: 1px solid #c6a15b;
}

.hcg-hero-buttons .hcg-btn-primary:hover {
    color: #ffffff !important;
    background: #111111;
    border-color: #111111;
    transform: translateY(-1px);
}

.hcg-hero-buttons .hcg-btn-secondary {
    color: #111111 !important;
    background: #ffffff;
    border: 1px solid #111111;
}

.hcg-hero-buttons .hcg-btn-secondary:hover {
    color: #ffffff !important;
    background: #111111;
    border-color: #111111;
    transform: translateY(-1px);
}

/* ==========================================================
   RIGHT PROCESS CARD
   ========================================================== */

.hcg-hero-business-card {
    position: relative;
    overflow: hidden;
    padding: 28px 24px 24px;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-top: 2px solid #c6a15b;
    border-radius: 3px;
    box-shadow: 0 10px 28px rgba(17,17,17,.075);
}

.hcg-hero-business-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -78px;
    bottom: -88px;
    border: 1px solid rgba(198,161,91,.17);
    border-radius: 50%;
    box-shadow:
        0 0 0 22px rgba(198,161,91,.025),
        0 0 0 44px rgba(17,17,17,.012);
    pointer-events: none;
}

.hcg-business-header {
    position: relative;
    z-index: 2;
    padding: 2px 0 15px;
}

.hcg-business-header span {
    display: block;
    margin: 0 0 10px;
    color: #9d7a2f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.hcg-business-header h2 {
    max-width: 15ch;
    margin: 0;
    color: #111111;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -.025em;
}

.hcg-business-items {
    position: relative;
    z-index: 2;
}

.hcg-business-item {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid #e8e8e8;
}

.hcg-business-item:first-child {
    border-top: 1px solid #e8e8e8;
}

.hcg-business-item-number {
    position: relative;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    color: transparent;
    border: 1px solid rgba(198,161,91,.72);
    border-radius: 50%;
}

.hcg-business-item-number::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 4px;
    background: #c6a15b;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.hcg-business-item-body {
    min-width: 0;
}

.hcg-business-item h3 {
    margin: 0 0 7px;
    color: #111111;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.hcg-business-item p {
    margin: 0;
    color: #666666;
    font-size: 14px;
    line-height: 1.68;
}

/* ==========================================================
   LARGE TABLET
   ========================================================== */

@media (max-width: 1100px) {
    .hcg-hero-grid {
        grid-template-columns: minmax(0, 1.45fr) minmax(330px, .9fr);
        gap: 30px;
    }

    .hcg-hero-title {
        font-size: clamp(38px, 4.7vw, 54px);
    }

    .hcg-hero-business-card {
        padding-left: 22px;
        padding-right: 22px;
    }
}

/* ==========================================================
   TABLET / MOBILE
   Image remains above content; card follows below.
   ========================================================== */

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

    .hcg-hero-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .hcg-hero-visual {
        aspect-ratio: 2 / 1;
        margin-bottom: 26px;
    }

    .hcg-hero-business-card {
        max-width: none;
    }
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {
    .hcg-hero-section {
        padding: 14px 0 34px;
    }

    .hcg-hero-section::before {
        background-size: 52px 52px;
    }

    .hcg-hero-visual {
        aspect-ratio: 1.55 / 1;
        margin-bottom: 23px;
    }

    .hcg-hero-visual-line {
        left: 20px;
        bottom: 20px;
        width: 65px;
    }

    .hcg-hero-content {
        padding-bottom: 0;
    }

    .hcg-hero-rule {
        width: 44px;
        margin-bottom: 17px;
    }

    .hcg-hero-eyebrow {
        margin-bottom: 15px;
        font-size: 11px;
        letter-spacing: .11em;
    }

    .hcg-hero-title {
        max-width: none;
        margin-bottom: 19px;
        font-size: 38px;
        line-height: 1.06;
    }

    .hcg-hero-description {
        font-size: 16px;
        line-height: 1.68;
        margin-bottom: 0;
    }

    .hcg-hero-buttons {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
        margin-top: 24px;
    }

    .hcg-hero-buttons .hcg-btn-primary,
    .hcg-hero-buttons .hcg-btn-secondary {
        width: 100%;
    }

    .hcg-hero-business-card {
        padding: 25px 20px 20px;
    }

    .hcg-business-header h2 {
        font-size: 25px;
    }

    .hcg-business-item {
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 9px;
        padding: 18px 0;
    }

    .hcg-business-item h3 {
        font-size: 16px;
    }

    .hcg-business-item p {
        font-size: 14px;
        line-height: 1.65;
    }
}

@media (max-width: 480px) {
    .hcg-hero-title {
        font-size: 34px;
    }

    .hcg-hero-description {
        font-size: 15.5px;
    }
}
