/* =========================================
   CONTACT PAGE – modern, clean, responsive
   ========================================= */

.contact-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 16px 26px;
}

.contact-card {
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, .22);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .08);
    overflow: hidden;
}

.contact-head {
    padding: 18px 18px 12px;
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(248, 250, 252, .96));
}

.contact-title {
    margin: 0 0 6px;
    font-size: clamp(20px, 2.2vw, 30px);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: rgba(15, 23, 42, .98);
}

.contact-sub {
    margin: 0;
    color: rgba(71, 85, 105, .92);
    font-size: 13px;
    line-height: 1.55;
}

.contact-intro {
    margin-top: 10px;
    color: rgba(71, 85, 105, .92);
    font-size: 13px;
    line-height: 1.6;
}

.contact-head-actions {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-head-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(245, 158, 11, .40);
    background: rgba(255, 255, 255, .98);
    color: rgba(15, 23, 42, .92);
    text-decoration: none;
    font-size: 12px;
    font-weight: 850;
    transition: background 140ms cubic-bezier(.22, .61, .36, 1), border-color 140ms cubic-bezier(.22, .61, .36, 1);
}

.contact-head-btn:hover {
    background: rgba(255, 247, 237, 1);
    border-color: rgba(245, 158, 11, .7);
}

.contact-notice {
    margin: 12px 18px 0;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, .22);
    font-weight: 750;
    font-size: 12px;
}

.contact-notice--ok {
    background: rgba(16, 185, 129, .08);
    border-color: rgba(16, 185, 129, .22);
    color: rgba(6, 95, 70, 1);
}

.contact-notice--err {
    background: rgba(239, 68, 68, .08);
    border-color: rgba(239, 68, 68, .22);
    color: rgba(127, 29, 29, 1);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 16px;
    padding: 16px 18px 18px;
}

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

.contact-panels {
    display: grid;
    gap: 10px;
}

.contact-panel {
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, .20);
    background: rgba(248, 250, 252, .94);
    padding: 12px;
}

.contact-panel__k {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(100, 116, 139, 1);
    margin-bottom: 6px;
}

.contact-panel__v {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    color: rgba(15, 23, 42, .95);
}

.contact-panel__actions {
    margin-top: 10px;
}

.contact-nav {
    display: block;
}

.contact-nav__summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .26);
    background: rgba(248, 250, 252, .92);
    color: rgba(15, 23, 42, .9);
    font-weight: 850;
    font-size: 12px;
    cursor: pointer;
    user-select: none;
    transition: background 140ms cubic-bezier(.22, .61, .36, 1), border-color 140ms cubic-bezier(.22, .61, .36, 1);
}

.contact-nav__summary::-webkit-details-marker {
    display: none;
}

.contact-nav[open] .contact-nav__summary,
.contact-nav__summary:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(245, 158, 11, .50);
}

.contact-nav__menu {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-nav__opt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .26);
    background: rgba(255, 255, 255, .92);
    color: rgba(15, 23, 42, .9);
    text-decoration: none;
    font-weight: 850;
    font-size: 12px;
    transition: background 140ms cubic-bezier(.22, .61, .36, 1), border-color 140ms cubic-bezier(.22, .61, .36, 1);
}

.contact-nav__opt:hover {
    background: rgba(248, 250, 252, 1);
    border-color: rgba(245, 158, 11, .50);
}

.contact-link {
    color: rgba(15, 23, 42, .95);
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-social {
    margin-top: 12px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, .20);
    background: rgba(255, 255, 255, .92);
}

.contact-social__k {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(100, 116, 139, 1);
    margin-bottom: 10px;
}

.contact-social__row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-social__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .26);
    background: rgba(248, 250, 252, .92);
    color: rgba(15, 23, 42, .9);
    text-decoration: none;
    font-weight: 850;
    font-size: 12px;
    transition: background 140ms cubic-bezier(.22, .61, .36, 1), border-color 140ms cubic-bezier(.22, .61, .36, 1);
}

.contact-social__btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(245, 158, 11, .50);
}

.contact-map {
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, .22);
    background: rgba(255, 255, 255, .96);
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .10);
}

.contact-map iframe {
    width: 100%;
    aspect-ratio: 16 / 10;
    border: 0;
    display: block;
    background: rgba(248, 250, 252, 1);
}

.contact-map__actions {
    padding: 10px 12px;
    border-top: 1px solid rgba(15, 23, 42, .06);
}

.contact-map__link {
    font-size: 12px;
    font-weight: 850;
    color: rgba(15, 23, 42, .9);
    text-decoration: none;
}

.contact-map__link:hover {
    text-decoration: underline;
}

.contact-form {
    margin-top: 12px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, .22);
    background: rgba(255, 255, 255, .96);
    padding: 12px;
}

.contact-h2 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: rgba(15, 23, 42, .95);
}

.contact-form__grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-field {
    display: grid;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    color: rgba(15, 23, 42, .8);
}

.contact-field--full {
    grid-column: 1 / -1;
}

.contact-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 4px 2px;
    font-size: 12px;
    font-weight: 800;
    color: rgba(15, 23, 42, .80);
}

.contact-check input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: rgba(245, 158, 11, 1);
}

.contact-check a {
    color: rgba(15, 23, 42, .92);
    text-decoration: underline;
}

.contact-input,
.contact-textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, .26);
    background: rgba(248, 250, 252, .92);
    padding: 10px 11px;
    font: inherit;
    font-weight: 650;
    color: rgba(15, 23, 42, .92);
    outline: none;
}

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

.contact-input:focus-visible,
.contact-textarea:focus-visible {
    border-color: rgba(245, 158, 11, .55);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .14);
}

.contact-actions {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    padding-top: 2px;
}

.contact-help {
    margin-top: 12px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, .22);
    background: rgba(255, 255, 255, .96);
    padding: 14px;
}

.contact-help__text {
    margin: 0 0 10px;
    color: rgba(71, 85, 105, .95);
    font-size: 13px;
    line-height: 1.55;
}

.contact-help__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-hp {
    display: none;
}

@media (max-width: 980px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-form__grid {
        grid-template-columns: 1fr;
    }
    .contact-head {
        padding: 16px 14px 12px;
    }
    .contact-grid {
        padding: 14px;
    }
}
