/* ContactUs visual layer — scoped under .pcu.
   Loaded only by Pages/ContactUs/Index.cshtml. Do not edit global CSS. */

.pcu {
    --pcu-orange: #f47b3b;
    --pcu-orange-deep: #ed5d43;
    --pcu-orange-dark: #d45e22;
    --pcu-orange-light: #ff9b3d;
    --pcu-ink: #1f2a3a;
    --pcu-text: #212121;
    --pcu-muted: #6b7484;
    --pcu-label: #5a6574;
    --pcu-border: #e7ecf2;
    --pcu-border-strong: #dbe2ea;
    --pcu-surface: #ffffff;
    --pcu-bg: #f6f1eb;
    --pcu-cream: #fff8f2;
    --pcu-chip: #f8f9fb;
    --pcu-ok: #2e7d32;
    --pcu-ok-bg: #e8f5e9;
    --pcu-danger: #c62828;
    --pcu-danger-bg: #fdecea;
    --pcu-radius: 16px;
    --pcu-radius-sm: 12px;
    --pcu-touch: 48px;
    --pcu-shadow: 0 1px 2px rgba(38, 50, 68, 0.05);
    --pcu-shadow-soft: 0 1px 0 rgba(255, 255, 255, 0.82) inset, 0 8px 24px rgba(0, 0, 0, 0.06);
    --pcu-focus: 0 0 0 3px rgba(244, 123, 59, 0.28);

    position: relative;
    box-sizing: border-box;
    direction: rtl;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    padding: 16px 0 112px;
    color: var(--pcu-text);
    background:
        radial-gradient(ellipse 80% 36% at 50% -10%, rgba(255, 155, 61, 0.12), transparent 62%),
        linear-gradient(180deg, #fff8f2 0%, var(--pcu-bg) 42%, #efe6de 100%);
}

.pcu *,
.pcu *::before,
.pcu *::after {
    box-sizing: border-box;
}

.pcu a:focus-visible,
.pcu button:focus-visible,
.pcu input:focus-visible,
.pcu textarea:focus-visible {
    outline: none;
    box-shadow: var(--pcu-focus);
}

.pcu-container {
    width: 100%;
    max-width: 1120px;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
}

.pcu-pagehead {
    margin: 0 0 20px;
    min-width: 0;
}

.pcu-pagehead__kicker {
    margin: 0 0 4px;
    color: var(--pcu-muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.pcu-pagehead__title {
    margin: 0;
    color: var(--pcu-ink);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.5;
}

.pcu-pagehead__lead {
    margin: 8px 0 0;
    color: var(--pcu-muted);
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 42rem;
}

.pcu-alert {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: var(--pcu-radius-sm);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.6;
}

.pcu-alert:empty {
    display: none;
}

.pcu-alert--success {
    background: var(--pcu-ok-bg);
    color: var(--pcu-ok);
    border: 1px solid rgba(46, 125, 50, 0.22);
}

.pcu-alert--error {
    background: var(--pcu-danger-bg);
    color: var(--pcu-danger);
    border: 1px solid rgba(198, 40, 40, 0.18);
}

.pcu-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    min-width: 0;
}

.pcu-panel {
    min-width: 0;
    padding: 18px 16px;
    background: var(--pcu-surface);
    border: 1px solid var(--pcu-border);
    border-radius: var(--pcu-radius);
    box-shadow: var(--pcu-shadow);
}

.pcu-panel__title {
    margin: 0 0 14px;
    color: var(--pcu-ink);
    font-size: 1rem;
    font-weight: 800;
}

.pcu-contact-list {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pcu-contact-list__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    color: var(--pcu-text);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.6;
}

.pcu-contact-list__item i {
    flex: 0 0 auto;
    margin-top: 3px;
    width: 1.1em;
    text-align: center;
}

.pcu-contact-list__item a,
.pcu-contact-list__item span {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.pcu-contact-list__item a {
    color: var(--pcu-orange-dark);
    text-decoration: none;
}

.pcu-contact-list__item a:hover {
    text-decoration: underline;
}

.pcu-contact-list__phones {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.pcu-contact-list__sep {
    color: var(--pcu-muted);
}

.pcu-map {
    width: 100%;
    min-height: 240px;
    border-radius: var(--pcu-radius-sm);
    overflow: hidden;
    border: 1px solid var(--pcu-border);
    background: var(--pcu-chip);
}

.pcu-map--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    color: var(--pcu-muted);
    font-size: 0.8125rem;
    font-weight: 700;
}

.pcu-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pcu-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.pcu-label {
    margin: 0;
    color: var(--pcu-label);
    font-size: 0.8125rem;
    font-weight: 700;
}

.pcu-required {
    color: var(--pcu-muted);
    font-weight: 600;
}

.pcu-input {
    width: 100%;
    min-height: var(--pcu-touch);
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--pcu-border-strong);
    border-radius: var(--pcu-radius-sm);
    background: var(--pcu-chip);
    color: var(--pcu-ink);
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pcu-input:focus {
    border-color: var(--pcu-orange);
    outline: none;
    box-shadow: var(--pcu-focus);
}

.pcu-input--textarea {
    min-height: 140px;
    resize: vertical;
}

.pcu-input::placeholder {
    color: var(--pcu-muted);
    font-weight: 500;
}

.pcu-field-error {
    color: var(--pcu-danger);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
}

.pcu-field-error:empty {
    display: none;
}

.pcu-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: var(--pcu-touch);
    margin-top: 4px;
    padding: 10px 16px;
    border: 0;
    border-radius: var(--pcu-radius-sm);
    background: linear-gradient(135deg, var(--pcu-orange-light), var(--pcu-orange-deep));
    color: #fff;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(244, 123, 59, 0.28);
}

.pcu-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--pcu-orange), var(--pcu-orange-deep));
}

.pcu-submit:disabled,
.pcu-submit.pamook-btn-loading {
    cursor: wait;
    opacity: 0.85;
    pointer-events: none;
}

.pcu-submit.pamook-btn-loading {
    --pbl-spinner-track: rgba(255, 255, 255, 0.35);
    --pbl-spinner-accent: #fff;
}

.pcu-submit.pamook-btn-loading .pcu-submit__label {
    opacity: 0;
}

.pcu-submit.pamook-btn-loading .pamook-btn-loading__spinner {
    position: absolute;
    width: 18px;
    height: 18px;
}

@media (min-width: 768px) {
    .pcu {
        padding-top: 24px;
    }

    .pcu-pagehead__title {
        font-size: 1.5rem;
    }

    .pcu-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 20px;
        align-items: start;
    }

    .pcu-panel {
        padding: 22px 20px;
    }

    .pcu-map {
        min-height: 280px;
    }
}

@media (min-width: 992px) {
    .pcu-layout {
        gap: 24px;
    }

    .pcu-panel--info {
        position: sticky;
        top: 88px;
    }
}

@media (max-width: 390px) {
    .pcu-container {
        padding: 0 12px;
    }

    .pcu-pagehead__title {
        font-size: 1.1rem;
    }

    .pcu-panel {
        padding: 14px 12px;
    }
}

html[dir="ltr"] .pcu {
    direction: ltr;
}

html[data-theme="dark"] .pcu {
    --pcu-ink: var(--ink, #f3f5f8);
    --pcu-text: var(--text, #e8ecf2);
    --pcu-muted: var(--text-muted, #9aa3b2);
    --pcu-label: var(--label, #b4bcc8);
    --pcu-border: var(--border, #2a3342);
    --pcu-border-strong: var(--border-strong, #3a4556);
    --pcu-surface: var(--surface, #1a2230);
    --pcu-bg: var(--bg, #121820);
    --pcu-cream: var(--surface-2, #1f2836);
    --pcu-chip: var(--surface-2, #1f2836);
    background:
        radial-gradient(ellipse 80% 36% at 50% -10%, rgba(244, 123, 59, 0.12), transparent 62%),
        linear-gradient(180deg, #1a2230 0%, var(--pcu-bg) 50%, #10161f 100%);
}

html[data-theme="dark"] .pcu-contact-list__item a {
    color: var(--pcu-orange-light);
}
