/* =====================================================================
   CONTACT (page-contact-us.php): topic cards, restyled Contact Form 7,
   visit band with the Maps Marker map. Loaded only on the contact page.
   ===================================================================== */

.ch-contact-main{padding-block:clamp(90px,10vw,150px)}
.ch-contact__grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(32px,5vw,80px);align-items:start}
.ch-contact__side{position:sticky;top:120px}
.ch-contact__note{margin:22px 0 0;font-size:14px;color:var(--ch-ink-2)}
@media (max-width:960px){.ch-contact__grid{grid-template-columns:minmax(0,1fr)}.ch-contact__side{position:static}}

/* ---------- topic cards ---------- */
.ch-topics{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-top:clamp(26px,3vw,36px)}
.ch-topic{all:unset;box-sizing:border-box;cursor:pointer;position:relative;display:flex;align-items:center;gap:14px;padding:12px 44px 12px 12px;border-radius:16px;
  background:var(--ch-mist);border:1px solid transparent;color:var(--ch-ink);transition:background-color .3s,border-color .3s,transform .35s var(--ch-ease),box-shadow .35s var(--ch-ease)}
.ch-topic:hover{background:#fff;border-color:var(--ch-rule);transform:translateY(-2px);box-shadow:0 16px 34px -22px rgba(20,32,58,.45)}
.ch-topic:focus-visible{outline:2px solid var(--ch-gold);outline-offset:3px}
.ch-topic__ico{flex:none;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#fff;color:var(--ch-teal);transition:background-color .3s,color .3s}
.ch-topic__ico svg{width:20px;height:20px}
.ch-topic__txt{display:grid;gap:3px;min-width:0}
.ch-topic__txt b{font:400 17px/1.2 var(--ch-display)}
.ch-topic__txt small{font-size:13px;line-height:1.4;color:var(--ch-ink-2)}
.ch-topic__check{position:absolute;right:16px;top:50%;margin-top:-9px;width:18px;height:18px;border-radius:50%;border:1.5px solid var(--ch-rule);transition:background-color .3s,border-color .3s}
.ch-topic[aria-checked="true"]{background:linear-gradient(135deg,#1d4e62,#1a3a54);border-color:rgba(242,231,92,.55);color:#fff;box-shadow:0 18px 38px -22px rgba(20,32,58,.6)}
.ch-topic[aria-checked="true"] .ch-topic__ico{background:var(--ch-gold);color:#1b1505}
.ch-topic[aria-checked="true"] .ch-topic__txt small{color:rgba(255,255,255,.75)}
.ch-topic[aria-checked="true"] .ch-topic__check{border-color:var(--ch-yellow);background:var(--ch-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231b1505' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}
@media (max-width:520px){.ch-topics{grid-template-columns:minmax(0,1fr)}}

/* ---------- form card ---------- */
.ch-contact__card{position:relative;padding:clamp(24px,3.4vw,44px);border-radius:26px;background:#fff;
  box-shadow:0 0 0 1px var(--ch-rule),0 40px 90px -50px rgba(20,32,58,.5)}
.ch-contact__card::before{content:"";position:absolute;left:28px;right:28px;top:0;height:3px;border-radius:0 0 3px 3px;background:linear-gradient(90deg,var(--ch-teal),var(--ch-gold) 70%,var(--ch-yellow))}
.ch-contact__cardhead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:26px}
.ch-contact__cardhead .ch-h3{font-size:clamp(24px,2.2vw,30px)}
.ch-topic-tag{margin:0;display:inline-flex;align-items:center;border-radius:999px;background:var(--ch-mist);padding:4px 14px 4px 4px;font-size:14px;animation:ch-rise .4s var(--ch-ease) both}
.ch-topic-tag[hidden]{display:none}
.ch-topic-tag span{padding:6px 10px;margin-right:10px;border-radius:999px;background:var(--ch-gold);color:#1b1505;font:600 10.5px/1 var(--ch-mono);letter-spacing:.14em;text-transform:uppercase}
.ch-topic-tag b{font-weight:600;color:var(--ch-ink)}

/* ---------- Contact Form 7, restyled (markup comes from the plugin) ---------- */
.ch-form .wpcf7-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 18px}
.ch-form .wpcf7-form>*{grid-column:1/-1;margin:0}
.ch-form .wpcf7-form>.col-2{grid-column:auto}
.ch-form .wpcf7-form>.clear,.ch-form .hidden-fields-container{display:none}
.ch-form .col-2 p{margin:0}
.ch-form br{display:none}
.ch-form .ch-lbl{display:block;margin:0 0 8px;font:600 13.5px/1.3 var(--ch-body);color:var(--ch-ink)}
.ch-form .ch-lbl .ch-req{color:var(--ch-gold);margin-left:3px}
.ch-form input[type=text],.ch-form input[type=email],.ch-form input[type=tel],.ch-form textarea{
  width:100%;box-sizing:border-box;padding:14px 16px;border-radius:12px;border:1px solid var(--ch-rule);background:var(--ch-mist);
  font:500 16px/1.4 var(--ch-body);color:var(--ch-ink);transition:border-color .25s,background-color .25s,box-shadow .25s}
.ch-form textarea{min-height:150px;resize:vertical}
.ch-form input:hover,.ch-form textarea:hover{border-color:#c4d4d8}
.ch-form input:focus,.ch-form textarea:focus{outline:none;background:#fff;border-color:var(--ch-teal);box-shadow:0 0 0 4px rgba(48,140,148,.15)}
.ch-form .wpcf7-not-valid{border-color:#c2410c !important}
.ch-form .wpcf7-not-valid-tip{display:block;margin-top:6px;font-size:13px;color:#b42318}

/* best way to reach you: pill toggles */
.ch-form .wpcf7-radio{display:inline-flex;flex-wrap:wrap;gap:8px}
.ch-form .wpcf7-list-item{margin:0}
.ch-form .wpcf7-radio label{display:inline-flex;flex-direction:row-reverse;align-items:center;gap:8px;padding:9px 16px;border-radius:999px;border:1px solid var(--ch-rule);cursor:pointer;font-weight:600;font-size:14px;text-transform:capitalize;transition:border-color .25s,background-color .25s}
.ch-form .wpcf7-radio input{accent-color:var(--ch-teal);margin:0}
.ch-form .wpcf7-radio label:has(input:checked){border-color:var(--ch-teal);background:rgba(48,140,148,.08)}

/* specific programs: collapsed, then chip grid */
.ch-interests{border-radius:14px;border:1px solid var(--ch-rule);background:#fff}
.ch-interests summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:14px 16px;font:600 14.5px/1.3 var(--ch-body);color:var(--ch-ink)}
.ch-interests summary::-webkit-details-marker{display:none}
.ch-interests summary::after{content:"";margin-left:auto;width:9px;height:9px;border-right:2px solid var(--ch-teal);border-bottom:2px solid var(--ch-teal);transform:rotate(45deg) translateY(-3px);transition:transform .3s}
.ch-interests[open] summary::after{transform:rotate(-135deg) translateY(-3px)}
.ch-interests summary small{font:500 11px/1 var(--ch-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--ch-teal)}
.ch-interests fieldset{border:0;margin:0;padding:0 16px 16px;min-width:0}
.ch-interests legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.ch-interests fieldset p{margin:0}
.ch-form .wpcf7-checkbox{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ch-form .wpcf7-checkbox label{display:flex;align-items:flex-start;gap:10px;height:100%;box-sizing:border-box;padding:10px 12px;border-radius:10px;background:var(--ch-mist);cursor:pointer;font-size:14px;line-height:1.35;transition:background-color .25s,box-shadow .25s}
.ch-form .wpcf7-checkbox input{accent-color:var(--ch-teal);margin:2px 0 0;flex:none}
.ch-form .wpcf7-checkbox label:has(input:checked){background:rgba(48,140,148,.1);box-shadow:inset 0 0 0 1px var(--ch-teal)}
@media (max-width:600px){.ch-form .wpcf7-checkbox{grid-template-columns:minmax(0,1fr)}}

/* captcha + submit */
.ch-form .ch-captcha{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.ch-form .ch-captcha .ch-lbl{width:100%;margin:0}
.ch-form .wpcf7-captchac{border-radius:8px;border:1px solid var(--ch-rule);padding:6px 10px;background:#fff}
.ch-form .ch-captcha input[type=text]{width:160px}
.ch-form .wpcf7-submit{all:unset;box-sizing:border-box;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:17px 34px;border-radius:999px;
  background:var(--ch-gold);color:#1b1505;font:600 15.5px/1 var(--ch-body);box-shadow:0 14px 30px -14px rgba(209,156,40,.8);transition:transform .35s var(--ch-ease),box-shadow .35s var(--ch-ease),background-color .3s}
.ch-form .wpcf7-submit:hover{transform:translateY(-2px);background:#dca935;box-shadow:0 18px 36px -14px rgba(209,156,40,.9)}
.ch-form .wpcf7-submit:focus-visible{outline:2px solid var(--ch-ink);outline-offset:3px}
.ch-form .wpcf7-spinner{margin-left:14px;vertical-align:middle}
.ch-form .wpcf7-response-output{margin:4px 0 0 !important;padding:14px 16px !important;border-radius:12px;border-width:1px !important;font-size:14.5px}
.ch-form .wpcf7 form.sent .wpcf7-response-output{border-color:var(--ch-teal) !important;background:rgba(48,140,148,.08)}
@media (max-width:600px){.ch-form .wpcf7-form{grid-template-columns:minmax(0,1fr)}.ch-form .wpcf7-form>.col-2{grid-column:1/-1}}

/* ---------- visit band ---------- */
.ch-contact-visit__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(32px,5vw,80px);align-items:center}
.ch-contact-visit__addr{margin:26px 0 18px;font:400 clamp(20px,1.8vw,24px)/1.45 var(--ch-display);font-style:normal;color:#fff}
.ch-contact-visit .ch-actions{margin-top:28px}
.ch-contact-map{position:relative;border-radius:24px;overflow:hidden;background:#dfe9ec;box-shadow:0 40px 80px -40px rgba(5,7,13,.7),0 0 0 1px rgba(255,255,255,.18);min-height:360px}
.ch-contact-map>*,.ch-contact-map div[id^=lmm],.ch-contact-map .leaflet-container{width:100% !important;max-width:none !important}
.ch-contact-map .leaflet-container{height:420px !important}
.ch-contact-map table,.ch-contact-map .lmm-panel,.ch-contact-map .lmm-listmarkers{display:none !important}
@media (max-width:900px){.ch-contact-visit__grid{grid-template-columns:minmax(0,1fr)}}
