/* Additions on top of the live site's theme.css. Everything here is new to the
   rebuild (site standards and the lead forms); nothing restyles the old pages.
   Flat by rule: solid fills, 1px borders, no shadows or gradients. */

:root {
    --gch-charcoal: #242427;
    --gch-ink: #303033;
    --gch-muted: #6c6d74;
    --gch-line: #e5e5e7;
    --gch-green: #8cb43f;
}

/* Footer additions: phone link that reads as the old plain text, privacy link, crumbs */
a.gch-plain, .uk-section-primary a.gch-plain { color: inherit; }
a.gch-plain:hover { color: inherit; text-decoration: underline; }
.gch-sep { margin: 0 .5em; opacity: .6; }
.gch-crumbs { font-size: 13px; margin-top: 4px; }
.gch-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 .5em; }
.gch-crumbs li + li::before { content: "/"; margin-right: .5em; opacity: .6; }
.gch-crumbs [aria-current] { opacity: .8; }

/* Sticky call bar, phones only (UIkit's @m breakpoint is 960px) */
.gch-sticky {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 980;
    display: grid; grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(255, 255, 255, .15);
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--gch-charcoal);
}
.gch-sticky a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 8px; color: #fff; text-decoration: none;
    font-family: Montserrat, sans-serif; font-weight: 500; font-size: 12px;
    letter-spacing: 1.5px; text-transform: uppercase;
}
.gch-sticky a:hover { color: #fff; text-decoration: none; }
.gch-sticky .gch-sticky-cta { background: #fff; color: var(--gch-charcoal); }
.gch-sticky .gch-sticky-cta:hover { color: var(--gch-charcoal); background: #f2f2f2; }
body.has-sticky-actions { padding-bottom: 48px; }
@media (min-width: 960px) {
    .gch-sticky { display: none; }
    body.has-sticky-actions { padding-bottom: 0; }
}

/* Contact bubble, desktop only */
.gch-bubble { display: none; }
@media (min-width: 960px) {
    .gch-bubble { display: block; position: fixed; right: 24px; bottom: 24px; z-index: 970; }
}
.gch-bubble > button {
    width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25);
    background: var(--gch-charcoal); color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.gch-bubble > button:hover { background: var(--gch-ink); }
.gch-bubble .gch-ico-close, .gch-bubble > button.is-open .gch-ico-open { display: none; }
.gch-bubble > button.is-open .gch-ico-close { display: block; }
.gch-bubble-panel {
    position: absolute; right: 0; bottom: 66px; width: 250px;
    background: #fff; border: 1px solid var(--gch-line);
}
.gch-bubble-panel[hidden] { display: none; }
.gch-bubble-title {
    margin: 0; padding: 14px 18px; background: var(--gch-charcoal); color: #fff;
    font-family: 'Playfair Display', serif; font-size: 18px;
}
.gch-bubble-panel a {
    display: block; padding: 12px 18px; color: var(--gch-ink); border-top: 1px solid var(--gch-line);
    font-family: Montserrat, sans-serif; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase;
}
.gch-bubble-panel a:hover { background: #f7f7f7; color: var(--gch-charcoal); text-decoration: none; }

/* Privacy, thank-you and 404 body copy */
.gch-prose h2 { margin-top: 40px; }
.gch-prose ul { padding-left: 24px; }

/* Lead forms (realtor, employment): honeypot, hidden file input behind the
   WPForms dropzone, the chosen-file list and the save error. */
.gch-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
div.wpforms-container-full .wpforms-form input.gch-file {
    position: absolute !important; clip: rect(0, 0, 0, 0) !important; width: 1px !important; height: 1px !important;
    border: 0 !important; padding: 0 !important; margin: 0 !important; overflow: hidden !important; opacity: 0;
}
.gch-file-list { list-style: none; margin: 10px 0 0; padding: 0; font-size: 14px; color: rgba(0, 0, 0, .7); }
.gch-file-list:empty { display: none; }
.wpforms-uploader.dz-drag-hover { border-color: var(--gch-muted) !important; }
div.wpforms-container-full .wpforms-form .wpforms-error-container {
    margin: 0 0 15px; padding: 10px 14px; border: 1px solid #d63637; color: #d63637; background: #fff; font-size: 15px;
}
div.wpforms-container-full .wpforms-form .wpforms-error-container[hidden] { display: none; }
