.cg-home-contact{
    padding:84px 0;
    background:#f8fafc;
}

.cg-home-contact__grid{
    display:grid;
    grid-template-columns:minmax(240px,.78fr) minmax(460px,1.38fr) minmax(380px,1.05fr);
    gap:28px;
    align-items:stretch;
}

.cg-contact-info{
    min-width:0;
    padding:10px 8px 0 0;
}

.cg-contact-info h2{
    margin:0;
    max-width:340px;
    color:#102b65;
    font-size:clamp(34px,3vw,46px);
    line-height:1.05;
    letter-spacing:-.035em;
}

.cg-contact-info__description{
    max-width:420px;
    margin:18px 0 0;
    color:#64748b;
    font-size:15px;
    line-height:1.7;
}

.cg-contact-lines{
    display:grid;
    gap:12px;
    margin-top:28px;
}

.cg-contact-lines a,
.cg-contact-lines>div{
    display:grid;
    grid-template-columns:34px minmax(0,1fr);
    gap:10px;
    align-items:center;
    min-width:0;
    color:#475569;
    text-decoration:none;
    font-size:14px;
    line-height:1.45;
}

.cg-contact-lines .material-symbols-rounded{
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    color:#0b5aa7;
    background:#eef4fb;
    border-radius:10px;
    font-size:18px;
}

.cg-contact-lines a:hover{
    color:#005aa9;
}

.cg-contact-form-card,
.cg-contact-map-card{
    min-width:0;
    border:1px solid rgba(15,43,82,.07);
    border-radius:22px;
    background:#fff;
    box-shadow:0 14px 36px rgba(15,43,82,.06);
}

.cg-contact-form-card{
    padding:24px;
}

.cg-contact-form-card__head{
    margin-bottom:16px;
}

.cg-contact-form-card__head span{
    display:block;
    margin-bottom:4px;
    color:#d89c00;
    font-size:10px;
    font-weight:900;
    letter-spacing:.15em;
}

.cg-contact-form-card__head h3{
    margin:0;
    color:#102b65;
    font-size:22px;
    font-weight:900;
    letter-spacing:-.02em;
}

.cg-contact-form{
    display:grid;
    gap:12px;
}

.cg-contact-form__row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.cg-contact-form input,
.cg-contact-form textarea{
    width:100%;
    box-sizing:border-box;
    padding:15px 16px;
    color:#102b65;
    background:#fbfcfe;
    border:1px solid #dbe4ee;
    border-radius:11px;
    outline:none;
    font:inherit;
    transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.cg-contact-form textarea{
    min-height:144px;
    resize:vertical;
}

.cg-contact-form input:focus,
.cg-contact-form textarea:focus{
    background:#fff;
    border-color:#0b68b7;
    box-shadow:0 0 0 3px rgba(11,104,183,.09);
}

.cg-contact-form button{
    min-height:48px;
    justify-self:start;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:0 24px;
    border:0;
    border-radius:10px;
    color:#102b65;
    background:#ffd800;
    font-size:12px;
    font-weight:900;
    cursor:pointer;
    transition:transform .2s ease, box-shadow .2s ease;
}

.cg-contact-form button:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(181,145,0,.15);
}

.cg-contact-form button[disabled]{
    opacity:.65;
    cursor:not-allowed;
}

.cg-contact-map-card{
    display:flex;
    flex-direction:column;
    overflow:hidden;
    padding:14px;
}

.cg-contact-map-card__head{
    flex:0 0 auto;
    padding:4px 4px 12px;
}

.cg-contact-map-card__head>div{
    display:flex;
    align-items:center;
    gap:10px;
}

.cg-contact-map-card__head .material-symbols-rounded{
    width:40px;
    height:40px;
    display:grid;
    place-items:center;
    color:#0b5aa7;
    background:#eef4fb;
    border-radius:12px;
    font-size:21px;
}

.cg-contact-map-card__head div div{
    display:grid;
    gap:2px;
}

.cg-contact-map-card__head strong{
    color:#102b65;
    font-size:14px;
    font-weight:900;
}

.cg-contact-map-card__head small{
    color:#7b8ba0;
    font-size:11px;
    line-height:1.35;
}

.cg-contact-map{
    position:relative;
    flex:1;
    min-height:420px;
    overflow:hidden;
    display:block;
    border-radius:16px;
    background:linear-gradient(135deg,#e5eef8,#cbdced);
}

.cg-contact-map iframe{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    min-height:0;
    display:block;
    border:0;
}

.cg-contact-map__empty{
    position:absolute;
    inset:0;
    display:grid;
    place-items:center;
    align-content:center;
    gap:6px;
    text-align:center;
    color:#102b65;
}

.cg-contact-map__empty .material-symbols-rounded{
    font-size:34px;
    color:#0b5aa7;
}

.cg-contact-map__empty small{
    color:#64748b;
}

.cg-contact-message{
    margin-bottom:4px;
    padding:12px 14px;
    border:1px solid;
    border-radius:10px;
    font-size:12px;
    font-weight:700;
    line-height:1.5;
}

.cg-contact-message--success{
    border-color:#86efac;
    background:#f0fdf4;
    color:#047857;
}

.cg-contact-message--error{
    border-color:#fecaca;
    background:#fef2f2;
    color:#b91c1c;
}

.cg-contact-honeypot{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
}

@media(max-width:1180px){
    .cg-home-contact__grid{
        grid-template-columns:minmax(220px,.8fr) minmax(440px,1.4fr);
        gap:24px;
    }

    .cg-contact-map-card{
        grid-column:1/-1;
    }

    .cg-contact-map{
        min-height:360px;
    }
}

@media(max-width:820px){
    .cg-home-contact{
        padding:68px 0;
    }

    .cg-home-contact__grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .cg-contact-info{
        padding-right:0;
    }

    .cg-contact-info h2{
        max-width:580px;
    }

    .cg-contact-form-card,
    .cg-contact-map-card{
        border-radius:18px;
    }

    .cg-contact-map-card{
        grid-column:auto;
    }

    .cg-contact-map{
        min-height:340px;
    }
}

@media(max-width:620px){
    .cg-home-contact{
        padding:54px 0;
    }

    .cg-contact-form-card{
        padding:16px;
    }

    .cg-contact-map-card{
        padding:10px;
    }

    .cg-contact-form__row{
        grid-template-columns:1fr;
    }

    .cg-contact-form button{
        width:100%;
        justify-self:stretch;
    }

    .cg-contact-map{
        min-height:300px;
        border-radius:14px;
    }
}
