.contact-page {
    background:
        radial-gradient(circle at top left, rgba(14, 77, 123, 0.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
}

.contact-hero {
    padding: var(--section-hero-y) var(--section-x) var(--section-y-tight);
}

.contact-shell {
    width: min(100%, 1220px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
    border-radius: var(--radius-panel);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: #fff;
}

.contact-panel {
    position: relative;
}

.contact-panel-form {
    background:
        radial-gradient(circle at top right, rgba(255,255,255,0.15), transparent 20%),
        radial-gradient(circle at bottom left, rgba(159, 19, 22, 0.18), transparent 30%),
        linear-gradient(145deg, var(--blue) 0%, var(--blue-dark) 100%);
}

.contact-info-content,
.contact-form-wrap {
    position: relative;
    z-index: 1;
}


.contact-info-content h1 span {
    color: var(--blue);
    font: inherit;
}


.contact-kicker {
    font-family: var(--font-h);
    font-size: var(--type-caption);
    font-weight: var(--weight-heading);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.contact-kicker-light {
    color: rgba(255,255,255,0.8);
}

.contact-panel-info h1 {
    max-width: 10ch;
    margin-bottom: 18px;
}

.contact-panel-info p {
    max-width: 42ch;
}

.contact-info-list {
    display: grid;
    gap: 18px;
    margin: 34px 0 28px;
}

.contact-info-item {
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: flex-start;
    gap: 12px;
}

.contact-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
}

.contact-icon img {
    width: 36px;
    height: 36px;
    display: block;
    object-fit: contain;
}

.contact-info-item strong,
.contact-social strong {
    color: var(--blue);
    margin-bottom: 6px;
}

.contact-info-item p,
.contact-info-item a {
    font-size: var(--type-body-sm);
    color: var(--text-mid);
    line-height: 1.6;
}

.contact-info-item a:hover {
    color: var(--blue);
}

.contact-social-links {
    margin-top: 12px;
    justify-content: flex-start;
}

.contact-panel-form h2 {
    color: #fff;
    margin-bottom: 24px;
}

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

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

.contact-field span {
    color: rgba(255,255,255,0.88);
    font-size: var(--type-caption);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    border: 1.5px solid rgba(255,255,255,0.68);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-family: var(--font-b);
    font-size: var(--type-body-sm);
    padding: 16px 18px;
    border-radius: var(--radius-card);
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
    appearance: none;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: rgba(255,255,255,0.72);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: #fff;
    background: rgba(255,255,255,0.14);
    transform: translateY(-1px);
}

.contact-field select {
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.9) 50%),
        linear-gradient(135deg, rgba(255,255,255,0.9) 50%, transparent 50%);
    background-position:
        calc(100% - 22px) calc(50% - 3px),
        calc(100% - 16px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.contact-field select option {
    color: var(--text-dark);
}

.contact-field textarea {
    min-height: 170px;
    resize: vertical;
}

.contact-submit {
    justify-self: end;
    margin-top: 8px;
    box-shadow: var(--shadow-card);
}


@media (max-width: 960px) {
    .contact-shell {
        grid-template-columns: 1fr;
    }

  
}

@media (max-width: 640px) {
    .contact-info-item {
        grid-template-columns: 42px 1fr;
    }

    .contact-icon {
        width: 34px;
        height: 34px;
    }

    .contact-icon img {
        width: 34px;
        height: 34px;
    }

    .contact-submit {
        justify-self: center;
        width: 50%;
        text-align: center;
    }

    .contact-social {
        text-align: center;
    }

    .contact-social-links {
        justify-content: center;
    }
}
