/*
 * Pertecnica CTA — Unified Engineering Design System
 * Palette: gold / black / white / grey
 * Visual language: quiet engineering drawing / pencil-line detail
 */
.hcg-cta-section{
    position:relative;
    overflow:hidden;
    background:#f6f6f4!important;
    color:#171717!important;
    padding:72px 0 76px!important;
    border-top:1px solid #e4e4e1;
}

/* Very light drafting-paper geometry. It stays subordinate to the content. */
.hcg-cta-section::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:.42;
    background-image:
        linear-gradient(90deg, transparent 0 24%, rgba(23,23,23,.035) 24.05%, transparent 24.1%),
        linear-gradient(0deg, transparent 0 72%, rgba(23,23,23,.03) 72.05%, transparent 72.1%),
        linear-gradient(90deg, transparent 0 74%, rgba(198,161,91,.055) 74.05%, transparent 74.1%);
    background-size:520px 260px, 460px 220px, 680px 340px;
}

/* Fine engineering circles / construction marks */
.hcg-cta-section::after{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    right:-150px;
    top:-185px;
    border:1px solid rgba(23,23,23,.065);
    border-radius:50%;
    box-shadow:
        0 0 0 34px rgba(23,23,23,.018),
        0 0 0 92px rgba(198,161,91,.028),
        0 0 0 150px rgba(23,23,23,.014);
    pointer-events:none;
}

.hcg-cta-card{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:52px;
    align-items:center;
    padding:42px 46px 44px;
    background:rgba(255,255,255,.92);
    border:1px solid #dcdcd8;
    border-left:3px solid #c6a15b;
    box-shadow:0 8px 30px rgba(23,23,23,.045);
    overflow:hidden;
}

.hcg-cta-card.hcg-cta-has-image{
    grid-template-columns:150px minmax(0,1fr) auto;
}

.hcg-cta-visual{
    width:150px;
    height:108px;
    border:1px solid #d9d9d5;
    background:#f7f7f5;
    overflow:hidden;
    position:relative;
}

.hcg-cta-visual::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(135deg,rgba(255,255,255,.45),transparent 45%,rgba(198,161,91,.08));
    pointer-events:none;
}

.hcg-cta-visual img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:.38;
    filter:grayscale(1) contrast(.82);
}

.hcg-cta-content{
    position:relative;
    z-index:2;
    max-width:780px;
}

.hcg-cta-content::before{
    content:"CALL TO ACTION";
    display:block;
    margin:0 0 11px;
    color:#8b8d8f;
    font-size:10px;
    line-height:1.2;
    font-weight:600;
    letter-spacing:.18em;
    text-transform:uppercase;
}

.hcg-cta-content h2{
    margin:0!important;
    color:#171717!important;
    font-size:30px!important;
    line-height:1.22!important;
    font-weight:500!important;
    letter-spacing:-.015em;
    max-width:760px;
}

.hcg-cta-content p{
    margin:14px 0 0!important;
    max-width:760px;
    color:#62656a!important;
    font-size:15.5px!important;
    line-height:1.68!important;
    font-weight:400;
}

.hcg-cta-actions{
    position:relative;
    z-index:2;
    display:flex;
    flex-direction:column;
    gap:10px;
    min-width:190px;
}

.hcg-cta-button{
    display:flex!important;
    align-items:center;
    justify-content:center;
    min-height:46px;
    width:100%;
    padding:11px 20px!important;
    border:1px solid #2f3032!important;
    border-radius:1px!important;
    box-sizing:border-box;
    font-size:13.5px!important;
    line-height:1.2!important;
    font-weight:500!important;
    letter-spacing:.005em;
    text-align:center;
    text-decoration:none!important;
    transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease;
}

.hcg-cta-button.primary{
    background:#c6a15b!important;
    color:#171717!important;
    border-color:#c6a15b!important;
}

.hcg-cta-button.primary:hover,
.hcg-cta-button.primary:focus-visible{
    background:#171717!important;
    color:#fff!important;
    border-color:#171717!important;
    transform:translateY(-1px);
}

.hcg-cta-button.secondary{
    background:#fff!important;
    color:#303236!important;
    border-color:#bfc0bd!important;
}

.hcg-cta-button.secondary:hover,
.hcg-cta-button.secondary:focus-visible{
    background:#fff!important;
    color:#a97822!important;
    border-color:#c6a15b!important;
    transform:translateY(-1px);
}

.hcg-cta-button:focus-visible{
    outline:2px solid rgba(198,161,91,.45);
    outline-offset:3px;
}

@media(max-width:900px){
    .hcg-cta-section{padding:60px 0 64px!important}
    .hcg-cta-card,
    .hcg-cta-card.hcg-cta-has-image{
        grid-template-columns:1fr;
        gap:30px;
        padding:36px 34px 38px;
    }
    .hcg-cta-visual{
        width:100%;
        height:130px;
    }
    .hcg-cta-actions{
        flex-direction:row;
        min-width:0;
    }
    .hcg-cta-actions .hcg-cta-button{flex:1}
}

@media(max-width:560px){
    .hcg-cta-section{padding:48px 0 52px!important}
    .hcg-cta-card{
        gap:24px;
        padding:28px 22px 30px;
        border-left-width:2px;
    }
    .hcg-cta-content::before{
        margin-bottom:9px;
        font-size:9px;
    }
    .hcg-cta-content h2{font-size:24px!important}
    .hcg-cta-content p{font-size:14.5px!important;line-height:1.62!important}
    .hcg-cta-actions{flex-direction:column}
    .hcg-cta-button{min-height:44px}
}
