/*
 * Hamsa Contact Page 4.0.0
 * Pertecnica visual system:
 * Gold / graphite / white / soft gray
 * Corporate • executive • technical • restrained
 */

.hcp-contact{
    /* Full-width page module. The shortcode is already rendered at the page edge,
       so do not use negative viewport margins; those can shift the module left
       when the theme content wrapper is left-aligned. */
    width:100vw;
    max-width:none;
    margin-left:0;
    margin-right:0;
    --hcp-gold:#b58a32;
    --hcp-gold-soft:#d7c28d;
    --hcp-graphite:#222a30;
    --hcp-black:#111518;
    --hcp-text:#30383e;
    --hcp-muted:#68737a;
    --hcp-line:#dfe3e5;
    --hcp-soft:#f6f7f7;
    --hcp-white:#fff;
    width:100vw;
    overflow:hidden;
    background:var(--hcp-white);
    color:var(--hcp-text);
    font-family:inherit;
    line-height:1.65;
}

.hcp-contact *,
.hcp-contact *::before,
.hcp-contact *::after{box-sizing:border-box}

.hcp-shell{
    width:min(1180px,calc(100% - 48px));
    margin-inline:auto;
}

/* ==========================================================
   HERO — Pertecnica executive engineering presentation
========================================================== */

.hcp-contact__hero{
    position:relative;
    width:100%;
    margin:0;
    padding:48px 0 52px;
    background:#fff;
    border-bottom:1px solid var(--hcp-line);
    overflow:hidden;
}

.hcp-contact__hero::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:31%;
    height:2px;
    background:var(--hcp-gold);
}

.hcp-contact__hero::after{
    content:"";
    position:absolute;
    right:-120px;
    top:-180px;
    width:520px;
    height:520px;
    border:1px solid rgba(181,138,50,.10);
    border-radius:50%;
    pointer-events:none;
}

.hcp-contact__hero-inner{
    position:relative;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(400px,.78fr);
    gap:58px;
    align-items:center;
}

.hcp-contact__hero-copy{
    position:relative;
    min-width:0;
    padding:8px 0 8px 30px;
}

.hcp-contact__hero-copy::before{
    content:"";
    position:absolute;
    left:0;
    top:5px;
    bottom:5px;
    width:2px;
    background:linear-gradient(to bottom,var(--hcp-gold),rgba(181,138,50,.08));
}

.hcp-eyebrow{
    display:flex;
    align-items:center;
    gap:11px;
    margin-bottom:18px;
    color:var(--hcp-gold);
    font-size:10px;
    font-weight:800;
    letter-spacing:.20em;
    line-height:1.2;
    text-transform:uppercase;
}

.hcp-eyebrow span{
    width:34px;
    height:1px;
    flex:none;
    background:var(--hcp-gold);
}

.hcp-contact__hero h1{
    max-width:610px;
    margin:0 0 17px;
    color:var(--hcp-black);
    font-size:30px;
    font-weight:650;
    line-height:1.18;
    letter-spacing:-.025em;
}

.hcp-hero-intro{
    max-width:590px;
    margin:0;
    color:var(--hcp-muted);
    font-size:17px;
    line-height:1.68;
}

.hcp-hero-points{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px 28px;
    max-width:650px;
    margin-top:27px;
}

.hcp-hero-point{
    display:grid;
    grid-template-columns:7px 1fr;
    gap:10px;
    align-items:start;
}

.hcp-point-mark{
    width:5px;
    height:5px;
    margin-top:8px;
    background:var(--hcp-gold);
}

.hcp-hero-point h3{
    margin:0 0 3px;
    color:var(--hcp-graphite);
    font-size:15px;
    font-weight:650;
    line-height:1.35;
}

.hcp-hero-point p{
    margin:0;
    color:var(--hcp-muted);
    font-size:12px;
    line-height:1.52;
}

.hcp-hero-cta{
    display:inline-flex;
    align-items:center;
    gap:16px;
    margin-top:29px;
    padding:12px 17px;
    border:1px solid var(--hcp-gold);
    background:var(--hcp-black);
    color:#fff!important;
    text-decoration:none;
    font-size:11px;
    font-weight:750;
    letter-spacing:.08em;
    text-transform:uppercase;
    transition:background .18s ease,transform .18s ease;
}

.hcp-hero-cta:hover{
    background:var(--hcp-gold);
    transform:translateY(-1px);
}

.hcp-hero-cta span:last-child{font-size:15px;line-height:1}

.hcp-contact__hero-visual{
    position:relative;
    min-width:0;
    padding:0 18px 18px 0;
}

.hcp-contact__hero-visual::before{
    content:"";
    position:absolute;
    z-index:0;
    right:0;
    bottom:0;
    width:88%;
    height:91%;
    background:#f3f3f0;
    border:1px solid #e2e1db;
}

.hcp-contact__hero-visual::after{
    content:"ENGINEERING • TRAINING • CAPABILITY";
    position:absolute;
    right:25px;
    bottom:2px;
    z-index:4;
    color:rgba(34,42,48,.40);
    font-size:7px;
    font-weight:700;
    letter-spacing:.17em;
    white-space:nowrap;
}

.hcp-contact__hero-image{
    position:relative;
    z-index:1;
    height:380px;
    overflow:hidden;
    background:#e8e8e4;
    border:1px solid #cfd1ce;
    box-shadow:0 18px 38px rgba(17,21,24,.08);
}

.hcp-contact__hero-image::before{
    content:"";
    position:absolute;
    inset:13px;
    z-index:2;
    border:1px solid rgba(181,138,50,.50);
    pointer-events:none;
}

.hcp-contact__hero-image::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    z-index:3;
    width:36%;
    height:2px;
    background:var(--hcp-gold);
    pointer-events:none;
}

.hcp-contact__hero-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    filter:saturate(.90) contrast(.99) brightness(1.03);
}

.hcp-hero-overlay{
    position:absolute;
    inset:0;
    z-index:1;
    background:transparent;
    pointer-events:none;
}

.hcp-hero-corner{
    position:absolute;
    z-index:4;
    width:27px;
    height:27px;
    border-color:var(--hcp-gold);
    border-style:solid;
    pointer-events:none;
}

.hcp-hero-corner--top{
    top:-1px;
    left:-1px;
    border-width:2px 0 0 2px;
}

.hcp-hero-corner--bottom{
    right:-1px;
    bottom:-1px;
    border-width:0 2px 2px 0;
}

@media (max-width:900px){
    .hcp-contact__hero-inner{
        grid-template-columns:minmax(0,1fr) minmax(300px,.72fr);
        gap:38px;
    }
    .hcp-contact__hero-visual{padding-right:12px;padding-bottom:12px}
    .hcp-contact__hero-image{height:330px}
}

@media (max-width:720px){
    .hcp-contact__hero{padding:42px 0 46px}
    .hcp-contact__hero-inner{grid-template-columns:1fr;gap:34px}
    .hcp-contact__hero-copy{padding-left:22px}
    .hcp-contact__hero h1{font-size:28px}
    .hcp-hero-intro{font-size:16px}
    .hcp-hero-points{grid-template-columns:1fr;gap:12px}
    .hcp-contact__hero-visual{max-width:520px;padding-right:10px;padding-bottom:10px}
    .hcp-contact__hero-image{height:300px}
}

@media (max-width:480px){
    .hcp-contact__hero{padding:34px 0 38px}
    .hcp-contact__hero-copy{padding-left:17px}
    .hcp-contact__hero h1{font-size:26px}
    .hcp-contact__hero-image{height:260px}
    .hcp-contact__hero-visual::after{right:17px;font-size:6px}
}

/* ==========================================================
   MAIN
========================================================== */

.hcp-main{
    padding:58px 0 76px;
    background:#fff;
}

.hcp-section-heading{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:30px;
    margin-bottom:28px;
}

.hcp-section-heading h2{
    margin:6px 0 0;
    color:var(--hcp-black);
    font-size:26px;
    font-weight:650;
    line-height:1.2;
    letter-spacing:-.02em;
}

.hcp-kicker{
    display:inline-flex;
    color:var(--hcp-gold);
    font-size:10px;
    font-weight:800;
    letter-spacing:.17em;
    line-height:1.2;
    text-transform:uppercase;
}

.hcp-heading-rule{
    display:block;
    flex:1;
    max-width:420px;
    height:1px;
    margin-bottom:7px;
    background:linear-gradient(90deg,var(--hcp-gold) 0 18%,var(--hcp-line) 18% 100%);
}

.hcp-grid{
    display:grid;
    grid-template-columns:minmax(270px,35%) minmax(0,65%);
    gap:28px;
    align-items:start;
}

.hcp-card{
    position:relative;
    background:#fff;
    border:1px solid var(--hcp-line);
}

.hcp-card::before{
    content:"";
    position:absolute;
    left:-1px;
    top:-1px;
    width:38px;
    height:2px;
    background:var(--hcp-gold);
}

.hcp-card-topline{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:12px;
}

.hcp-index{
    color:var(--hcp-gold);
    font-size:10px;
    font-weight:800;
    letter-spacing:.08em;
}

.hcp-card--details{
    padding:27px;
}

.hcp-card--details h3{
    margin:3px 0 19px;
    color:var(--hcp-black);
    font-size:22px;
    font-weight:650;
    line-height:1.25;
}

.hcp-detail{
    display:grid;
    grid-template-columns:31px 1fr;
    gap:11px;
    padding:14px 0;
    border-top:1px solid var(--hcp-line);
}

.hcp-icon{
    width:27px;
    height:27px;
    display:grid;
    place-items:center;
    color:var(--hcp-gold);
    border:1px solid rgba(181,138,50,.35);
    font-size:13px;
}

.hcp-detail strong{
    display:block;
    margin-bottom:3px;
    color:var(--hcp-graphite);
    font-size:9px;
    font-weight:800;
    letter-spacing:.09em;
    text-transform:uppercase;
}

.hcp-detail p{
    margin:0;
    color:var(--hcp-muted);
    font-size:14px;
    line-height:1.55;
}

.hcp-detail a{
    color:inherit;
    text-decoration:none;
}

.hcp-detail a:hover{color:var(--hcp-gold)}

/* FORM */

.hcp-form-card{
    padding:31px 34px 34px;
}

.hcp-form-card h2{
    margin:3px 0 8px;
    color:var(--hcp-black);
    font-size:26px;
    font-weight:650;
    line-height:1.2;
}

.hcp-form-intro{
    margin:0 0 24px;
    color:var(--hcp-muted);
    font-size:15px;
}

.hcp-fields{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:17px 19px;
}

.hcp-fields label{display:block}

.hcp-fields label>span{
    display:block;
    margin-bottom:6px;
    color:var(--hcp-graphite);
    font-size:9px;
    font-weight:800;
    letter-spacing:.07em;
    text-transform:uppercase;
}

.hcp-fields input,
.hcp-fields textarea{
    width:100%;
    border:1px solid #cfd4d7;
    border-radius:0;
    padding:11px 12px;
    background:#fff;
    color:var(--hcp-text);
    font:inherit;
    font-size:15px;
    outline:none;
    transition:border-color .18s,box-shadow .18s;
}

.hcp-fields textarea{
    resize:vertical;
    min-height:135px;
}

.hcp-fields input:focus,
.hcp-fields textarea:focus{
    border-color:var(--hcp-gold);
    box-shadow:0 0 0 2px rgba(181,138,50,.11);
}

.hcp-field--full{grid-column:1/-1}

.hcp-privacy{
    margin:17px 0;
    color:var(--hcp-muted);
    font-size:11px;
    line-height:1.5;
}

.hcp-submit{
    display:inline-flex;
    min-width:155px;
    align-items:center;
    justify-content:center;
    gap:9px;
    border:1px solid var(--hcp-black);
    border-radius:0;
    padding:11px 18px;
    color:#fff;
    background:var(--hcp-black);
    font:inherit;
    font-size:12px;
    font-weight:800;
    cursor:pointer;
    transition:background .18s,border-color .18s,transform .18s;
}

.hcp-submit:hover{
    background:var(--hcp-gold);
    border-color:var(--hcp-gold);
    transform:translateY(-1px);
}

.hcp-submit:disabled{opacity:.7;cursor:wait;transform:none}

.hcp-spinner{
    display:none;
    width:13px;
    height:13px;
    border:2px solid rgba(255,255,255,.45);
    border-top-color:#fff;
    border-radius:50%;
    animation:hcp-spin .7s linear infinite;
}

.hcp-submit.is-loading .hcp-spinner{display:inline-block}

.hcp-status{
    min-height:22px;
    margin-top:12px;
    font-size:13px;
}

.hcp-status.is-success{color:#356b4d}
.hcp-status.is-error{color:#a13b3b}

/* MAP */

.hcp-map-card{
    margin-top:28px;
    overflow:hidden;
}

.hcp-map-frame{
    width:100%;
    height:300px;
    background:#eef0ef;
}

.hcp-google-map{
    display:block;
    width:100%;
    height:100%;
    border:0;
    filter:grayscale(.35);
}

.hcp-map-action{
    padding:11px 13px;
    text-align:right;
    border-top:1px solid var(--hcp-line);
    background:#f6f7f7;
}

.hcp-map-action a{
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:8px 12px;
    color:#fff;
    background:var(--hcp-black);
    font-size:11px;
    font-weight:800;
    text-decoration:none;
}

.hcp-map-action a:hover{background:var(--hcp-gold)}

.hcp-map-empty{
    display:grid;
    min-height:300px;
    place-items:center;
    padding:25px;
    text-align:center;
    background:#f5f6f5;
    color:var(--hcp-muted);
}

.hcp-map-empty strong{color:var(--hcp-graphite);font-size:16px}
.hcp-map-empty p{max-width:330px;margin:5px auto 0;font-size:12px}

.hcp-honeypot{
    position:absolute!important;
    left:-9999px!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
}

@keyframes hcp-spin{to{transform:rotate(360deg)}}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media(max-width:900px){
    .hcp-contact__hero{
        padding:42px 0;
        background:#fff;
    }

    .hcp-contact__hero-inner{
        grid-template-columns:1fr;
        gap:30px;
    }

    .hcp-contact__hero-copy{padding:0}
    .hcp-contact__hero-visual{max-width:620px}
    .hcp-contact__hero-image{height:280px}

    .hcp-grid{grid-template-columns:1fr}
}

@media(max-width:640px){
    .hcp-shell{width:min(100% - 28px,1180px)}

    .hcp-contact__hero{padding:34px 0}
    .hcp-contact__hero h1{font-size:30px}
    .hcp-hero-intro{font-size:16px}

    .hcp-hero-points{
        grid-template-columns:1fr;
        gap:11px;
    }

    .hcp-contact__hero-image{height:220px}

    .hcp-main{padding:43px 0 58px}

    .hcp-section-heading{
        display:block;
        margin-bottom:24px;
    }

    .hcp-section-heading h2{font-size:26px}
    .hcp-heading-rule{width:100%;max-width:none;margin-top:14px}

    .hcp-card--details,
    .hcp-form-card{padding:24px}

    .hcp-fields{grid-template-columns:1fr}
    .hcp-field--full{grid-column:auto}

    .hcp-map-frame,
    .hcp-google-map{height:250px}
}
