/* ═══════════════════════════════════════════════════
   SPRUCE UP — contact.css  v6
   Contact Us page
═══════════════════════════════════════════════════ */

:root {
    --cp-yellow:    #F5C800;
    --cp-yellow-h:  #e0b500;
    --cp-charcoal:  #1C1C1C;
    --cp-dark:      #242424;
    --cp-white:     #ffffff;
    --cp-border:    #e4e4e4;
    --cp-muted:     #888;
    --cp-error:     #e53e3e;
    --cp-success:   #22c55e;
    --cp-font:      'Poppins', sans-serif;
    --cp-radius:    6px;
    --cp-t:         0.2s ease;
}

/* ── Hero ── */
.cp-hero {
    background: #f5f5f5;
    padding: 64px 0 56px;
    position: relative;
    overflow: hidden;
}
.cp-hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: var(--cp-yellow);
}
.cp-hero .cp-inner { text-align: center; }

.cp-eyebrow {
    display: inline-block;
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: #a07800; margin-bottom: 14px;
}
.cp-hero__title {
    font-family: var(--cp-font);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700; color: var(--cp-charcoal);
    margin: 0 0 14px; line-height: 1.15;
}
.cp-hero__sub {
    font-size: 14.5px; color: #666666;
    line-height: 1.7; max-width: 520px; margin: 0 auto;
}

/* ── Layout ── */
.cp-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 48px;
}
.cp-body { background: #f8f8f8; padding: 64px 0 80px; }
.cp-body__grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

/* ── SUCCESS MESSAGE ── */
.cp-success {
    display: flex; align-items: flex-start; gap: 14px;
    background: #f0fdf4; border: 1px solid #bbf7d0;
    border-radius: var(--cp-radius); padding: 18px 20px;
    margin-bottom: 28px;
}
.cp-success[hidden] { display: none; }
.cp-success svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; }
.cp-success strong { display: block; font-size: 14px; font-weight: 700; color: #15803d; margin-bottom: 2px; }
.cp-success span { font-size: 13px; color: #166534; }

/* ── FORM ── */
.cp-form {
    background: var(--cp-white);
    border-radius: 10px;
    padding: 40px 40px 36px;
    box-shadow: 0 2px 24px rgba(0,0,0,0.06);
}

/* Honeypot — visually hidden */
.cp-form__hp {
    position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}

.cp-form__row { display: flex; gap: 20px; }
.cp-form__row--2col > * { flex: 1; min-width: 0; }

.cp-form__group {
    display: flex; flex-direction: column; gap: 6px;
    margin-bottom: 22px;
}
.cp-form__group:last-of-type { margin-bottom: 0; }

.cp-form__label {
    font-size: 12.5px; font-weight: 600;
    color: var(--cp-charcoal); letter-spacing: 0.02em;
}
.cp-form__req { color: var(--cp-error); margin-left: 2px; }

.cp-form__input,
.cp-form__select,
.cp-form__textarea {
    font-family: var(--cp-font);
    font-size: 13.5px; color: var(--cp-charcoal);
    background: #fafafa;
    border: 1.5px solid var(--cp-border);
    border-radius: var(--cp-radius);
    padding: 11px 14px;
    outline: none;
    transition: border-color var(--cp-t), background var(--cp-t), box-shadow var(--cp-t);
    width: 100%; box-sizing: border-box;
}
.cp-form__input::placeholder,
.cp-form__textarea::placeholder { color: #bbb; }
.cp-form__input:focus,
.cp-form__select:focus,
.cp-form__textarea:focus {
    border-color: var(--cp-yellow);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(245,200,0,0.12);
}
.cp-form__input.is-error,
.cp-form__select.is-error,
.cp-form__textarea.is-error {
    border-color: var(--cp-error);
    background: #fff5f5;
}

/* Select custom wrapper */
.cp-select-wrap { position: relative; }
.cp-select-wrap select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 36px; }
.cp-select-wrap__arrow {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    width: 12px; height: 12px; color: var(--cp-muted); pointer-events: none;
}

/* Textarea */
.cp-form__textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

/* Char count */
.cp-form__char-count {
    font-size: 11px; color: var(--cp-muted); text-align: right; margin-top: 4px;
}

/* Inline error */
.cp-form__error {
    font-size: 11.5px; color: var(--cp-error); min-height: 16px; display: block;
    font-weight: 500;
}

/* Submit button */
.cp-submit {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    width: 100%; padding: 14px 28px; margin-top: 28px;
    background: var(--cp-yellow); color: var(--cp-charcoal);
    font-family: var(--cp-font); font-size: 14px; font-weight: 700;
    border: none; border-radius: var(--cp-radius); cursor: pointer;
    transition: background var(--cp-t), transform var(--cp-t), opacity var(--cp-t);
    position: relative;
}
.cp-submit:hover { background: var(--cp-yellow-h); transform: translateY(-1px); }
.cp-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.cp-submit__arrow { width: 14px; height: 14px; flex-shrink: 0; }
.cp-submit__spinner {
    width: 18px; height: 18px; display: none; flex-shrink: 0;
    animation: cp-spin 0.8s linear infinite;
}
.cp-submit.is-loading .cp-submit__text { opacity: 0.6; }
.cp-submit.is-loading .cp-submit__arrow { display: none; }
.cp-submit.is-loading .cp-submit__spinner { display: block; }

@keyframes cp-spin { to { transform: rotate(360deg); } }

/* Privacy note */
.cp-form__privacy {
    font-size: 11px; color: var(--cp-muted); text-align: center;
    margin-top: 14px; line-height: 1.6;
}
.cp-form__privacy a { color: inherit; text-decoration: underline; }
.cp-form__privacy a:hover { color: var(--cp-charcoal); }

/* ── INFO CARD ── */
.cp-info-card {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 36px 32px;
    border: 1px solid rgba(28,28,28,0.1);
    box-shadow: 0 2px 24px rgba(0,0,0,0.04);
    position: sticky;
    top: 88px;
}

.cp-info-card__title {
    font-size: 17px; font-weight: 700; color: var(--cp-charcoal);
    margin: 0 0 28px; letter-spacing: 0.01em;
}

.cp-info-item {
    display: flex; align-items: flex-start; gap: 14px;
    margin-bottom: 24px;
}
.cp-info-item__icon {
    width: 38px; height: 38px; flex-shrink: 0;
    background: rgba(245,200,0,0.15);
    border: 1px solid rgba(245,200,0,0.3);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #a07800;
}
.cp-info-item__icon svg { width: 18px; height: 18px; }
.cp-info-item__body { display: flex; flex-direction: column; gap: 3px; }
.cp-info-item__label {
    font-size: 10px; font-weight: 700; letter-spacing: 0.15em;
    text-transform: uppercase; color: #999999;
}
.cp-info-item__value {
    font-size: 13.5px; font-weight: 500; color: var(--cp-charcoal);
    line-height: 1.55;
}
.cp-info-item__link {
    text-decoration: none; color: var(--cp-charcoal);
    transition: color var(--cp-t);
}
.cp-info-item__link:hover { color: #a07800; }

.cp-info-divider { height: 1px; background: rgba(28,28,28,0.1); margin: 24px 0; }

.cp-info-card__social-label {
    font-size: 10px; font-weight: 700; letter-spacing: 0.15em;
    text-transform: uppercase; color: #999999;
    margin-bottom: 12px;
}
.cp-info-card__socials { display: flex; gap: 10px; }
.cp-social-btn {
    width: 38px; height: 38px; border-radius: 8px;
    background: #ffffff; border: 1px solid rgba(28,28,28,0.12);
    display: flex; align-items: center; justify-content: center;
    color: #666666; text-decoration: none;
    transition: background var(--cp-t), color var(--cp-t), border-color var(--cp-t);
}
.cp-social-btn:hover { background: var(--cp-yellow); border-color: var(--cp-yellow); color: var(--cp-charcoal); }
.cp-social-btn svg { width: 16px; height: 16px; }

/* Map */
.cp-map {
    margin-top: 20px; border-radius: 10px; overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .cp-body__grid { grid-template-columns: 1fr 360px; gap: 28px; }
    .cp-form { padding: 32px 28px; }
    .cp-inner { padding: 0 32px; }
}
@media (max-width: 840px) {
    .cp-body__grid { grid-template-columns: 1fr; }
    .cp-info-card { position: static; }
    .cp-inner { padding: 0 24px; }
    .cp-form { padding: 28px 20px; }
}
@media (max-width: 560px) {
    .cp-form__row--2col { flex-direction: column; gap: 0; }
    .cp-inner { padding: 0 16px; }
    .cp-hero { padding: 48px 0 40px; }
}

/* ════════════════════════════════════════════
   V7 — Full-width map below form + info
════════════════════════════════════════════ */
.cp-map-full {
    width: 100%;
    line-height: 0;           /* remove gap below iframe */
    border-top: 3px solid var(--cp-yellow);
}
.cp-map-full iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: none;
}
@media (max-width: 768px) {
    .cp-map-full iframe { height: 280px; }
}

/* Remove the old inline map styles (now unused) */
.cp-map { display: none; }

/* Info card — no longer needs sticky since map is below */
.cp-info-card { position: static; }
