/* Contact page — CPCF editorial system */
.cpcf-contact-page { background: #f7f3e8; color: var(--cpcf-ink); }
.cpcf-contact-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.cpcf-contact-hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(201,162,39,.18), transparent 34%),
        linear-gradient(135deg, #0d4a31 0%, #092f20 64%, #061f15 100%);
    color: #f7f2e7;
    padding: 54px 0 44px;
}
.cpcf-contact-kicker { margin: 0 0 18px; color: var(--cpcf-gold); font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.cpcf-contact-hero-row { display: flex; justify-content: space-between; gap: 42px; align-items: flex-end; }
.cpcf-contact-hero h1 { margin: 0 0 14px; color: #f7f2e7; font-family: var(--cpcf-font-display); font-size: clamp(38px, 5vw, 64px); line-height: 1.05; font-weight: 700; letter-spacing: .08em; }
.cpcf-contact-lead { max-width: 620px; margin: 0; color: rgba(247,242,231,.76); font-size: 15px; line-height: 1.9; }
.cpcf-contact-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cpcf-contact-btn { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 18px; border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: 13px; }
.cpcf-contact-btn.primary { border-color: var(--cpcf-gold); background: var(--cpcf-gold); color: #10251b; font-weight: 700; }
.cpcf-contact-btn.ghost { color: rgba(255,255,255,.86); }
.cpcf-contact-btn:hover { border-color: var(--cpcf-gold); color: var(--cpcf-gold); }
.cpcf-contact-btn.primary:hover { background: #d8b45a; color: #10251b; }
.cpcf-contact-body { padding-top: 0; padding-bottom: 70px; }
.cpcf-contact-breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; padding: 20px 0 24px; color: var(--cpcf-muted); font-size: 12px; }
.cpcf-contact-breadcrumb a { color: var(--cpcf-green); }
.cpcf-contact-intro { max-width: 900px; margin: 0 0 34px; padding: 18px 22px; border-left: 3px solid var(--cpcf-gold); background: #fffdf7; color: #455348; font-size: 14px; line-height: 1.9; }
.cpcf-contact-intro p { margin: 0; }
.cpcf-contact-section { margin: 0 0 40px; }
.cpcf-contact-section-head { display: flex; align-items: baseline; gap: 18px; border-bottom: 1px solid var(--cpcf-line); padding-bottom: 12px; margin-bottom: 18px; }
.cpcf-contact-section-head p { margin: 0; color: var(--cpcf-gold); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.cpcf-contact-section-head h2 { margin: 0; font-family: var(--cpcf-font-display); font-size: 30px; letter-spacing: .04em; }
.cpcf-contact-section-head span { margin-left: auto; color: var(--cpcf-muted); font-size: 12px; }
.cpcf-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cpcf-contact-card { border: 1px solid var(--cpcf-line); background: #fffdf7; padding: 22px; }
.cpcf-contact-card-top { display: flex; gap: 14px; align-items: center; }
.cpcf-contact-avatar { width: 54px; height: 54px; flex: 0 0 54px; display: grid; place-items: center; border: 1px solid var(--cpcf-gold); border-radius: 50%; color: var(--cpcf-green); font-family: var(--cpcf-font-display); font-size: 23px; background: #f3eedf; }
.cpcf-contact-identity > span { display: block; color: var(--cpcf-gold); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.cpcf-contact-identity h3 { margin: 3px 0 3px; font-family: var(--cpcf-font-display); font-size: 21px; }
.cpcf-contact-identity p { margin: 0; color: var(--cpcf-muted); font-size: 12px; }
.cpcf-contact-duty { margin: 16px 0; color: #455348; font-size: 13px; line-height: 1.8; }
.cpcf-contact-lines { display: grid; gap: 8px; border-top: 1px solid var(--cpcf-line); padding-top: 12px; }
.cpcf-contact-lines a { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; color: var(--cpcf-green); font-size: 13px; }
.cpcf-contact-lines span { color: var(--cpcf-muted); font-size: 11px; }
.cpcf-contact-lines strong { font-weight: 600; }
.cpcf-contact-empty { grid-column: 1 / -1; padding: 22px; border: 1px dashed var(--cpcf-line); color: var(--cpcf-muted); font-size: 13px; }
.cpcf-contact-office { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 30px; align-items: stretch; border: 1px solid var(--cpcf-line); background: #0e3b2a; color: #f7f2e7; padding: 28px 30px; margin: 0 0 40px; }
.cpcf-contact-office .cpcf-contact-kicker { color: #d8b45a; }
.cpcf-contact-office h2 { margin: 0 0 12px; font-family: var(--cpcf-font-display); font-size: 28px; color: #fff; }
.cpcf-contact-address { margin: 0; color: rgba(247,242,231,.74); font-size: 14px; line-height: 1.9; }
.cpcf-contact-office-meta { display: grid; gap: 10px; align-content: center; border-left: 1px solid rgba(255,255,255,.18); padding-left: 24px; }
.cpcf-contact-office-meta > div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 8px; }
.cpcf-contact-office-meta span { color: rgba(255,255,255,.54); font-size: 11px; white-space: nowrap; }
.cpcf-contact-office-meta strong, .cpcf-contact-office-meta a { color: #f7f2e7; font-size: 12px; font-weight: 500; text-align: right; }
.cpcf-contact-office-meta a { color: #d8b45a; }
.cpcf-contact-cta { border-top: 1px solid var(--cpcf-line); padding-top: 24px; }
.cpcf-contact-cta-head { margin-bottom: 14px; }
.cpcf-contact-cta-head .cpcf-contact-kicker { color: var(--cpcf-gold); }
.cpcf-contact-cta-head h2 { margin: 0; font-family: var(--cpcf-font-display); font-size: 28px; }
.cpcf-contact-cta-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cpcf-contact-cta-grid a { display: flex; flex-direction: column; min-height: 132px; padding: 18px; border: 1px solid var(--cpcf-line); background: #fffdf7; justify-content: space-between; }
.cpcf-contact-cta-grid span { color: var(--cpcf-gold); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.cpcf-contact-cta-grid strong { display: block; margin: 7px 0 4px; color: var(--cpcf-green); font-family: var(--cpcf-font-display); font-size: 20px; }
.cpcf-contact-cta-grid em { color: var(--cpcf-muted); font-style: normal; font-size: 12px; line-height: 1.7; }
.cpcf-contact-cta-grid a:hover { border-color: var(--cpcf-gold); }
@media (max-width: 900px) {
    .cpcf-contact-hero-row { display: block; }
    .cpcf-contact-hero-actions { margin-top: 22px; }
    .cpcf-contact-office { grid-template-columns: 1fr; }
    .cpcf-contact-office-meta { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); padding: 18px 0 0; }
    .cpcf-contact-cta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .cpcf-contact-hero { padding: 44px 0 40px; }
    .cpcf-contact-grid { grid-template-columns: 1fr; }
    .cpcf-contact-section-head { display: block; }
    .cpcf-contact-section-head span { display: block; margin: 5px 0 0; }
    .cpcf-contact-office { padding: 20px; }
    .cpcf-contact-card { padding: 18px; }
}

/* Override the legacy global #bodys header rule */
#bodys .cpcf-contact-hero {
    position: relative;
    float: none;
    height: auto;
    border: 0;
    border-top: 0;
    background:
        radial-gradient(circle at 82% 18%, rgba(201,162,39,.18), transparent 34%),
        linear-gradient(135deg, #0d4a31 0%, #092f20 64%, #061f15 100%);
    color: #f7f2e7;
    padding: 54px 0 44px;
}
#bodys .cpcf-contact-hero h1 { color: #f7f2e7; }
#bodys .cpcf-contact-hero .cpcf-contact-lead { color: rgba(247,242,231,.76); }
#bodys .cpcf-contact-btn.ghost { color: rgba(255,255,255,.86); }
/* Ensure the global about submenu stays above the contact hero */
#bodys .cpcf-contact-page ~ header,
#bodys .nav { position: relative; z-index: 100; }
#bodys .nav li > p.p { z-index: 1000; }
#bodys .nav li:hover > p.p { display: block !important; }
#bodys .cpcf-contact-hero { z-index: 0; }