/* =========================================
   JYNN Contact Page
   Two-column layout (form + business info card)
   built on top of the shared .content-hero /
   .content-body shell from content-page.css.
   Collapses to a single column on mobile.
   ========================================= */

.jynn-contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
}

.jynn-contact-heading {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.2vw, 1.75rem);
    color: var(--text-bright);
    letter-spacing: -0.01em;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

/* Form */
.jynn-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.jynn-contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.jynn-contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.jynn-contact-form__field label {
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.jynn-contact-form__field input,
.jynn-contact-form__field textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 2px;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-bright);
    transition: border-color 0.3s ease, background 0.3s ease;
    resize: vertical;
}

.jynn-contact-form__field input:focus,
.jynn-contact-form__field textarea:focus {
    outline: none;
    border-color: var(--accent-glow);
    background: rgba(255, 255, 255, 0.05);
}

.jynn-contact-form__notice {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.6;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-light);
    border-left: 2px solid var(--accent-glow);
    color: var(--text-bright);
    background: rgba(255, 255, 255, 0.02);
}

.jynn-contact-form__notice[hidden] {
    display: none;
}

.jynn-contact-form__notice.is-error {
    border-left-color: #c0603a;
}

.jynn-contact-form__submit {
    align-self: flex-start;
    margin-top: 0.4rem;
    background-color: var(--accent-glow);
    color: #000;
    border: none;
    padding: 0.95rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* GeneratePress ships a global rule:
     button:hover, input[type="submit"]:hover, ... { color:#fff; background-color:#3f4047; }
   (in its inline "generate-style-inline-css"). Our previous
   .jynn-contact-form__submit:hover only set background-color (to white),
   never `color` — so GeneratePress's `color:#fff` kept winning on hover
   (same specificity, but its own stylesheet loads after this one in some
   contexts, and more importantly this rule never contested `color` at
   all). Result: white text on a white hover background = invisible label.
   Setting `color` explicitly here fixes it regardless of load order. */
.jynn-contact-form__submit:hover,
.jynn-contact-form__submit:focus {
    background-color: #fff;
    color: #000;
}

.jynn-contact-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Business info card.
   Previously a near-invisible glass panel (2% background tint, 15%-opacity
   border, blur) that barely registered as a distinct block against the
   site's dark, glow-heavy background — it read as a vague hazy patch
   rather than an intentional card. Rebuilt with real visual weight: a
   proper dark gradient fill, a clearly visible gold-tinted border, a gold
   accent bar along the top (matching the hairline-rule language used
   elsewhere on the site), and a hairline divider between each row so it
   reads as a structured spec sheet instead of a floating blur. */
.jynn-contact-card {
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    padding: 2.25rem 2.25rem 0.5rem;
    overflow: hidden;
}

.jynn-contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-glow) 0%, rgba(212, 175, 55, 0.25) 100%);
}

.jynn-contact-card__list {
    display: flex;
    flex-direction: column;
}

.jynn-contact-card__item {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}

.jynn-contact-card__item:last-child {
    margin-bottom: 0;
    padding-bottom: 1.75rem;
    border-bottom: none;
}

.jynn-contact-card__item dt {
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-glow);
    margin-bottom: 0.5rem;
}

.jynn-contact-card__item dd {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-bright);
    margin: 0;
}

.jynn-contact-card__item dd a {
    color: var(--text-bright);
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
    transition: var(--transition-fast);
}

.jynn-contact-card__item dd a:hover {
    color: var(--accent-glow);
    border-bottom-color: var(--accent-glow);
}

/* Responsive */
@media (max-width: 900px) {
    .jynn-contact-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

@media (max-width: 560px) {
    .jynn-contact-form__row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .jynn-contact-card {
        padding: 1.75rem 1.5rem 0.5rem;
    }

    .jynn-contact-form__submit {
        width: 100%;
        text-align: center;
    }
}
