/* Contact Us — Golshani theme */

.contact-page {
    --c-bg: #f7f5f2;
    --c-ink: #1a1816;
    --c-muted: #7a736c;
    --c-line: #e6e0d8;
    --c-gold: #a68966;
    --c-gold-deep: #8f7350;
    --c-surface: #ffffff;
    --c-radius: 18px;

    float: none;
    clear: both;
    display: block;
    width: 100%;
    background: var(--c-bg);
    color: var(--c-ink);
    position: relative;
    z-index: 3;
    overflow: visible;
}

.contact-page *,
.contact-page *::before,
.contact-page *::after {
    box-sizing: border-box;
}

.contact-page a {
    text-decoration: none;
    color: inherit;
}

.contact-page .contact-nav {
    position: relative;
    float: none;
    width: 100%;
    margin: 0;
    padding: 18px 20px 14px;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 200;
    box-sizing: border-box;
    overflow: visible;
}

.contact-page .contact-nav .MenuItem--mega .AllMegaMenu {
    z-index: 220;
}

.contact-page .contact-nav .RightNavContent,
.contact-page .contact-nav .LeftNavContent {
    float: none;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.contact-page .contact-nav .MainLogo {
    float: none;
    margin-left: 18px;
}

.contact-page .contact-nav .SearchContauner {
    background: var(--c-bg);
    border: 1px solid var(--c-line);
}

/* Hero — same header height as contact pages; banner resized to match */

.contact-hero {
    position: relative;
    width: 100%;
    min-height: 42vh;
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
    background: #efe8de;
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.contact-hero-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(247, 245, 242, 0.06) 0%, rgba(247, 245, 242, 0.38) 40%, rgba(247, 245, 242, 0.38) 60%, rgba(247, 245, 242, 0.06) 100%);
    pointer-events: none;
}

.contact-hero-copy {
    position: relative;
    z-index: 2;
    width: min(520px, calc(100% - 48px));
    margin: 0;
    text-align: center;
    color: var(--c-ink);
}

.contact-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.contact-brand img {
    width: min(180px, 46vw);
    height: auto;
    filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.12));
}

.contact-hero-title {
    margin: 0 0 10px;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    color: var(--c-ink);
    line-height: 1.35;
}

.contact-hero-lead {
    margin: 0 auto;
    max-width: 28rem;
    font-size: 14px;
    line-height: 1.9;
    color: var(--c-muted);
}

@media (max-width: 720px) {
    .contact-hero {
        min-height: 36vh;
    }

    .contact-hero-title {
        font-size: clamp(18px, 5vw, 24px);
    }
}

/* Main */

.contact-main {
    padding: 56px 4% 96px;
}

.contact-shell {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: start;
}

.contact-kicker {
    margin: 0 0 8px;
    color: var(--c-gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.contact-heading {
    margin: 0 0 12px;
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 700;
}

.contact-aside,
.contact-form-panel {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: calc(var(--c-radius) + 2px);
    padding: 32px 28px;
    box-shadow: 0 18px 48px rgba(40, 30, 20, 0.06);
}

.contact-aside-lead,
.contact-form-lead {
    margin: 0 0 24px;
    color: var(--c-muted);
    line-height: 1.9;
    font-size: 14px;
}

.contact-channels {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 14px;
    border-radius: 14px;
    border: 1px solid transparent;
    background: linear-gradient(180deg, #fbf9f6, #f5f1eb);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

a.contact-channel:hover {
    border-color: rgba(166, 137, 102, 0.45);
    transform: translateY(-1px);
}

.contact-channel-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--c-line);
    color: var(--c-gold-deep);
    flex-shrink: 0;
}

.contact-channel-icon svg {
    width: 20px;
    height: 20px;
}

.contact-channel strong {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 2px;
}

.contact-channel small {
    color: var(--c-muted);
    font-size: 12.5px;
}

.contact-socials {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--c-line);
}

.contact-socials > span {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-muted);
}

.contact-socials div {
    display: flex;
    gap: 10px;
}

.contact-socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--c-line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--c-ink);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.contact-socials a:hover {
    background: var(--c-gold);
    border-color: var(--c-gold);
    color: #fff;
}

.contact-socials svg {
    width: 18px;
    height: 18px;
}

/* Form */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-field label {
    font-size: 13px;
    font-weight: 700;
}

.contact-field label em {
    font-style: normal;
    font-weight: 500;
    color: var(--c-muted);
    font-size: 12px;
}

.contact-input {
    width: 100%;
    border: 1px solid var(--c-line);
    background: #fbfaf8;
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    font-size: 14px;
    color: var(--c-ink);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-input:focus {
    border-color: rgba(166, 137, 102, 0.7);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(166, 137, 102, 0.16);
}

.contact-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.8;
}

.contact-error {
    color: #b42318;
    font-size: 12px;
    min-height: 1em;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 0;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.contact-btn svg {
    width: 18px;
    height: 18px;
}

.contact-btn--solid {
    align-self: flex-start;
    background: var(--c-gold);
    color: #fff;
}

.contact-btn--solid:hover {
    background: var(--c-gold-deep);
    transform: translateY(-1px);
}

.contact-btn--ghost {
    border: 1px solid rgba(166, 137, 102, 0.45);
    background: transparent;
    color: var(--c-ink);
}

.contact-btn--ghost:hover {
    border-color: var(--c-gold);
    color: var(--c-gold-deep);
}

.contact-success {
    text-align: center;
    padding: 36px 12px;
}

.contact-success strong {
    display: block;
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--c-gold-deep);
}

.contact-success p {
    margin: 0 0 22px;
    color: var(--c-muted);
    line-height: 1.9;
}

/* Reveal (reuse about.js markers) */

[data-about-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-about-reveal].is-in {
    opacity: 1;
    transform: none;
}

.contact-hero [data-about-reveal] {
    animation: contact-rise 0.85s ease both;
}

.contact-hero [data-about-reveal]:nth-child(1) { animation-delay: 0.08s; }
.contact-hero [data-about-reveal]:nth-child(2) { animation-delay: 0.2s; }
.contact-hero [data-about-reveal]:nth-child(3) { animation-delay: 0.32s; }

@keyframes contact-rise {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}

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

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

    .contact-hero {
        min-height: 36vh;
    }
}

@media (max-width: 640px) {
    .contact-aside,
    .contact-form-panel {
        padding: 24px 18px;
    }

    .contact-btn--solid {
        width: 100%;
    }
}
