body.pc2466-contact-open {
    overflow: hidden;
}

.pc2466-contact-layer {
    position: fixed;
    inset: 0;
    z-index: 2200;
    visibility: hidden;
    pointer-events: none;
}

.pc2466-contact-layer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.pc2466-contact-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    background: rgba(6, 14, 24, 0.58);
    opacity: 0;
    cursor: default;
    transition: opacity 0.3s ease;
}

.pc2466-contact-layer.is-open .pc2466-contact-backdrop {
    opacity: 1;
}

.pc2466-contact-panel {
    --pc2466-contact-bg: var(--bg, #f5f1e8);
    --pc2466-contact-ink: var(--ink, #0e233d);
    --pc2466-contact-muted: var(--muted, #746b61);
    --pc2466-contact-gold: var(--gold, #ad7b2b);

    position: absolute;
    top: 0;
    right: 0;
    width: min(470px, 100%);
    height: 100%;
    overflow-y: auto;
    padding: 28px 34px 42px;
    background: var(--pc2466-contact-bg);
    color: var(--pc2466-contact-ink);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 0.78, 0.22, 1);
    box-shadow: -18px 0 45px rgba(6, 14, 24, 0.14);
}

.pc2466-contact-layer.is-open .pc2466-contact-panel {
    transform: translateX(0);
}

.pc2466-contact-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.pc2466-contact-logo {
    width: 170px;
    height: auto;
}

.pc2466-contact-brand {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 24px;
}

.pc2466-contact-close {
    width: 44px;
    height: 44px;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--pc2466-contact-ink);
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
}

.pc2466-contact-content {
    margin-top: clamp(52px, 8vh, 88px);
}

.pc2466-contact-content h2 {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(25px, 2.2vw, 34px);
    font-weight: 400;
    letter-spacing: 0.025em;
    text-align: center;
}

.pc2466-contact-content h2::after {
    content: '';
    display: block;
    width: 58px;
    height: 1px;
    margin: 17px auto 0;
    background: var(--pc2466-contact-gold);
}

.pc2466-contact-address {
    margin: 16px 0 34px;
    color: var(--pc2466-contact-gold);
    font-size: 14px;
    text-align: center;
}

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

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

.pc2466-contact-field span {
    font-size: 12px;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.pc2466-contact-field input,
.pc2466-contact-field textarea {
    width: 100%;
    border: 1px solid rgba(14, 35, 61, 0.18);
    border-radius: 8px;
    padding: 12px 13px;
    background: rgba(255, 255, 255, 0.48);
    color: var(--pc2466-contact-ink);
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.pc2466-contact-field input:focus,
.pc2466-contact-field textarea:focus {
    border-color: var(--pc2466-contact-gold);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 0 0 3px rgba(173, 123, 43, 0.12);
}

.pc2466-contact-privacy {
    margin: -2px 0 0;
    color: var(--pc2466-contact-muted);
    font-size: 10px;
    line-height: 1.55;
}

.pc2466-contact-submit {
    min-height: 48px;
    border: 1px solid var(--pc2466-contact-ink);
    border-radius: 7px;
    padding: 12px 20px;
    background: var(--pc2466-contact-ink);
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.085em;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.pc2466-contact-submit:hover,
.pc2466-contact-submit:focus-visible {
    opacity: 0.9;
}

.pc2466-contact-submit:active {
    transform: translateY(1px);
}

.pc2466-contact-submit:disabled {
    cursor: wait;
    opacity: 0.62;
}

.pc2466-contact-status {
    min-height: 19px;
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.pc2466-contact-status.is-success {
    color: #2d6b3f;
}

.pc2466-contact-status.is-error {
    color: #9b2f2f;
}

.pc2466-contact-hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 640px) {
    .pc2466-contact-panel {
        padding: 20px 22px 32px;
    }

    .pc2466-contact-logo {
        width: 138px;
    }

    .pc2466-contact-content {
        margin-top: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pc2466-contact-panel,
    .pc2466-contact-backdrop {
        transition-duration: 0.01ms !important;
    }
}
