/*
 * Pertecnica Hero 2.0.1
 * Integrated engineering artwork: complete image visibility, no frame,
 * soft edge fusion, and enough vertical room for the full artwork.
 */

.hcg-hero-section {
    position: relative;
    padding: 52px 0 72px !important;
    background: #fff !important;
    overflow: hidden;
}

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

/* LEFT COMPOSITION */
.hcg-hero-content {
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.hcg-hero-copy {
    position: relative;
    z-index: 3;
    max-width: 670px;
    padding-top: 2px;
}

.hcg-hero-rule {
    width: 38px;
    height: 1px;
    margin: 0 0 12px;
    background: var(--per-gold, #b38a3a) !important;
}

.hcg-hero-eyebrow {
    margin: 0 0 11px;
    color: var(--per-muted, #727272);
    font-size: 9px;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hcg-hero-title {
    max-width: 680px;
    margin: 0 !important;
    color: var(--per-heading, #171717);
    font-size: clamp(34px, 3.65vw, 48px) !important;
    line-height: 1.08 !important;
    font-weight: 500 !important;
    letter-spacing: -.025em;
}

.hcg-hero-description {
    max-width: 620px;
    margin-top: 18px;
    color: var(--per-text, #555);
    font-size: 14px;
    line-height: 1.62;
}

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

.hcg-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

/*
 * FUSED ENGINEERING ARTWORK
 * The artwork is deliberately larger than the visible text block and is
 * allowed to breathe below it. No border, box, background or clipping frame.
 */
.hcg-hero-visual {
    position: relative;
    z-index: 1;
    width: min(100%, 680px);
    height: 470px;
    margin: 4px 0 -4px -20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    pointer-events: none;
}

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

.hcg-hero-visual-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    mix-blend-mode: multiply;
    opacity: .82;
    filter: saturate(.68) contrast(.96);
    -webkit-mask-image: radial-gradient(ellipse 88% 88% at 50% 50%, #000 54%, rgba(0,0,0,.94) 72%, rgba(0,0,0,.48) 88%, transparent 100%);
    mask-image: radial-gradient(ellipse 88% 88% at 50% 50%, #000 54%, rgba(0,0,0,.94) 72%, rgba(0,0,0,.48) 88%, transparent 100%);
}

/* Very light edge fusion; deliberately not strong enough to erase the artwork. */
.hcg-hero-visual-fade {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(255,255,255,.72) 0%, rgba(255,255,255,0) 14%, rgba(255,255,255,0) 88%, rgba(255,255,255,.78) 100%),
        linear-gradient(to right, rgba(255,255,255,.74) 0%, rgba(255,255,255,0) 13%, rgba(255,255,255,0) 87%, rgba(255,255,255,.74) 100%);
}

/* RIGHT INFORMATION PANEL */
.hcg-hero-business-card {
    min-width: 0;
    padding-left: 20px;
    border-left: 1px solid var(--per-line-strong, #d9d9d9);
    display: flex;
    flex-direction: column;
}

.hcg-business-header {
    padding: 0 0 14px;
    border-bottom: 1px solid var(--per-line, #dedede);
}

.hcg-business-header > span {
    display: block;
    margin-bottom: 5px;
    color: var(--per-muted, #737373);
    font-size: 9px;
    line-height: 1.4;
    letter-spacing: .07em;
}

.hcg-business-header h2 {
    margin: 0 !important;
    color: var(--per-heading, #171717);
    font-size: 20px !important;
    line-height: 1.25 !important;
    font-weight: 500 !important;
    letter-spacing: -.012em;
}

.hcg-business-items { display: grid; }

.hcg-business-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 0 14px;
    border-bottom: 1px solid var(--per-line, #e0e0e0);
}

.hcg-business-item-number {
    padding-top: 2px;
    color: var(--per-gold, #b38a3a);
    font-size: 8px;
    line-height: 1.4;
    letter-spacing: .08em;
}

.hcg-business-item-body h3 {
    margin: 0 !important;
    color: var(--per-heading, #171717);
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
    letter-spacing: -.005em;
}

.hcg-business-item-body p {
    max-width: 500px;
    margin: 3px 0 0 !important;
    color: var(--per-muted, #777);
    font-size: 10px;
    line-height: 1.48;
}

.hcg-hero-buttons .hcg-btn-primary,
.hcg-hero-buttons .hcg-btn-secondary { min-height: 34px; }

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

    .hcg-hero-title { font-size: 40px !important; }

    .hcg-hero-visual {
        width: min(100%, 620px);
        height: 430px;
        margin-left: -12px;
    }
}

@media (max-width: 900px) {
    .hcg-hero-section { padding: 44px 0 56px !important; }

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

    .hcg-hero-visual {
        width: 100%;
        height: 440px;
        margin: 0;
    }

    .hcg-hero-business-card {
        padding: 26px 0 0;
        border-left: 0;
        border-top: 1px solid var(--per-line-strong, #d9d9d9);
    }
}

@media (max-width: 560px) {
    .hcg-hero-section { padding: 34px 0 46px !important; }

    .hcg-hero-title { font-size: 32px !important; }

    .hcg-hero-description {
        font-size: 13px;
        line-height: 1.58;
    }

    .hcg-hero-visual {
        height: 330px;
        margin-top: 4px;
    }

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

    .hcg-business-item-body h3 { font-size: 12px !important; }
    .hcg-business-item-body p { font-size: 9.5px; }
}
