.contact-tech-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
    gap: 22px;
    align-items: stretch;
}

.contact-form-panel {
    padding: clamp(30px, 5vw, 52px);
}

.contact-form-panel h2 {
    margin: 18px 0 28px;
    font-size: clamp(32px, 4vw, 48px);
}

.contact-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field {
    display: grid;
    gap: 8px;
}

.field label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-soft);
    color: var(--text);
    padding: 13px 14px;
    outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgba(255,106,26,.54);
    box-shadow: 0 0 0 4px rgba(255,106,26,.08);
}

.message-field {
    margin-top: 14px;
}

textarea {
    min-height: 160px;
    max-height: 260px;
    resize: vertical;
}

.char-count {
    color: var(--muted);
    font: 700 10px/1 "DM Sans", sans-serif;
    text-align: end;
}

.contact-form-panel .tech-btn {
    margin-top: 22px;
    border: 0;
}

.contact-console {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 26px;
    background:
        radial-gradient(circle at 80% 10%, rgba(255,106,26,.18), transparent 26%),
        linear-gradient(180deg, #101821, #081017);
    color: #fff;
    box-shadow: 0 32px 90px rgba(0,0,0,.24);
}

.contact-console .console-head {
    min-height: 62px;
}

.contact-console-body {
    padding: 26px;
}

.contact-channel,
.contact-address {
    padding: 22px 0;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.contact-channel span,
.contact-address span {
    display: block;
    color: rgba(255,255,255,.38);
    font: 700 9px/1 "DM Sans", sans-serif;
    letter-spacing: .14em;
}

.contact-channel a {
    display: block;
    margin-top: 10px;
    color: #fff;
    font: 700 23px/1.2 "DM Sans", sans-serif;
}

.contact-address p {
    margin: 10px 0 0;
    color: rgba(255,255,255,.68);
    line-height: 2;
}

.contact-radar {
    position: absolute;
    width: 250px;
    height: 250px;
    right: -100px;
    bottom: -110px;
    border: 1px solid rgba(85,217,255,.16);
    border-radius: 50%;
}

.contact-radar span {
    position: absolute;
    inset: 20%;
    border: 1px solid rgba(85,217,255,.12);
    border-radius: 50%;
}

.contact-radar span:nth-child(2) { inset: 38%; }
.contact-radar span:nth-child(3) { inset: 48%; background: #55d9ff; box-shadow: 0 0 18px #55d9ff; }

@media (max-width: 900px) {
    .contact-tech-grid,
    .contact-fields {
        grid-template-columns: 1fr;
    }
}


/* ===== CONTACT FINAL FIX ===== */

.contact-form-panel .tech-btn,
.contact-form-panel button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 190px;
    min-height: 54px;
    margin-top: 26px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 15px;
    color: #ffffff;
    background: linear-gradient(135deg, #ff7424 0%, #e55408 100%);
    box-shadow: 0 14px 30px rgba(229, 84, 8, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact-form-panel .tech-btn b,
.contact-form-panel button[type="submit"] b {
    display: inline-grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    line-height: 1;
}

.contact-form-panel .tech-btn:hover,
.contact-form-panel button[type="submit"]:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #ff7e32 0%, #dc4b04 100%);
    box-shadow: 0 19px 38px rgba(229, 84, 8, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.contact-form-panel .tech-btn:active,
.contact-form-panel button[type="submit"]:active {
    transform: translateY(-1px);
}

.contact-form-panel .tech-btn:focus-visible,
.contact-form-panel button[type="submit"]:focus-visible {
    outline: 3px solid rgba(255, 106, 26, 0.22);
    outline-offset: 4px;
}

.contact-console-body {
    display: grid;
    gap: 0;
    padding: 30px 32px 38px;
}

.contact-channel,
.contact-address {
    display: grid;
    gap: 12px;
    padding: 24px 0;
}

.contact-channel span,
.contact-address span {
    margin: 0;
    color: rgba(255, 255, 255, 0.45);
    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.14em;
}

.contact-channel a {
    display: block;
    margin: 0;
    color: #ffffff;
    font-family: "DM Sans", sans-serif;
    font-size: clamp(20px, 2vw, 25px);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.01em;
    word-break: break-word;
}

.contact-address p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 2.05;
}

.contact-channel {
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.contact-address {
    border-bottom: 0;
}

.console-head {
    padding-inline: 28px;
}

@media (max-width: 560px) {
    .contact-form-panel .tech-btn,
    .contact-form-panel button[type="submit"] {
        width: 100%;
    }

    .contact-console-body {
        padding: 24px 22px 30px;
    }

    .contact-channel,
    .contact-address {
        padding: 20px 0;
    }
}


/* ===== CONTACT FORM STATUS ===== */
.form-status {
    display: none;
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.8;
}

.form-status.is-success {
    display: block;
    color: #0d6a3d;
    border-color: rgba(13, 106, 61, 0.18);
    background: rgba(25, 190, 105, 0.08);
}

[data-theme="dark"] .form-status.is-success {
    color: #8ef0bc;
    border-color: rgba(142, 240, 188, 0.18);
    background: rgba(25, 190, 105, 0.08);
}
