:root {
    --bg: #0b0b0f;
    --panel: #141419;
    --panel-2: #111118;
    --text: #ffffff;
    --muted: #b9b9c3;
    --accent: #ff4500;
    --border: rgba(255, 69, 0, .6);
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    --radius: 14px;
    --gap: 24px
}

*,
*::before,
*::after {
    box-sizing: border-box
}

.contact-page {
    max-width: 1200px;
    height: 1100px;
    margin: 48px auto;
    padding: 0 20px
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap)
}

@media(min-width:992px) {
    .contact-wrap {
        grid-template-columns: 1fr 1fr
    }
}

.info-card,
.form-card {
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(3px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    min-width: 0
}

.info-card h2 {
    margin: 0 0 16px;
    font-size: 28px;
    letter-spacing: .3px
}

.info-card p {
    margin: 6px 0;
    color: var(--muted)
}

.map-wrap {
    margin-top: 16px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25)
}

#map {
    display: block;
    width: 100%;
    height: 260px;
    border: 0
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    min-width: 0
}

.field {
    min-width: 0
}

.field label {
    display: block;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 6px
}

.field input,
.field textarea {
    width: 100%;
    max-width: 100%;
    display: block;
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--text);
    border-radius: 10px;
    padding: 12px 14px;
    outline: none;
    transition: border-color .2s, box-shadow .2s
}

.field textarea {
    resize: vertical;
    min-height: 140px;
    background: var(--panel-2)
}

.field input:focus,
.field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 69, 0, .2)
}

.btn {
    display: inline-block;
    border: none;
    background: linear-gradient(180deg, #ff7a36, #ff4500);
    color: #1a1405;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 69, 0, .35);
    transition: transform .08s ease, box-shadow .2s ease
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0 6px 14px rgba(255, 69, 0, .28)
}

.to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #131318;
    border: 1px solid var(--border);
    text-decoration: none;
    color: #fff;
    box-shadow: var(--shadow);
    transition: transform .15s ease, opacity .15s ease
}

.to-top:hover {
    transform: translateY(-2px)
}

.to-top i {
    font-size: 24px
}

input,
textarea {
    transition: border 0.3s ease;
}

.contact-form input,
.contact-form textarea {
    transition: border 0.3s ease;
}


