/* A-Goal Initiative — Contact page — coded styles */
.agoal-contact{
  --terracotta:#D14622; --terracotta-deep:#A8351A; --navy:#1B2A41; --navy-deep:#0F1B2C;
  --ochre:#D89B3C; --cream:#FBF3E7; --cream-2:#F3E7D6; --paper:#FFFCF7; --charcoal:#2A241F;
  --serif:'Playfair Display',serif; --sans:'Plus Jakarta Sans',sans-serif;
  font-family:var(--sans); color:var(--charcoal); background:var(--cream);
  -webkit-font-smoothing:antialiased;
}
.agoal-contact *{box-sizing:border-box;}
.agoal-contact a{color:inherit;text-decoration:none;}
.agoal-contact .wrap{max-width:1180px;margin-inline:auto;padding-inline:32px;}
@media (max-width:900px){ .agoal-contact .wrap{padding-inline:20px;} }
.agoal-contact h1,.agoal-contact h2,.agoal-contact h3{font-family:'Playfair Display',serif!important;}
.agoal-contact p,.agoal-contact span,.agoal-contact a,.agoal-contact div,.agoal-contact label{font-family:'Plus Jakarta Sans',sans-serif;}
[data-reveal]{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease;}
[data-reveal].in{opacity:1;transform:translateY(0);}
@media (prefers-reduced-motion: reduce){ [data-reveal]{opacity:1!important;transform:none!important;} }

.ct-eyebrow{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--terracotta-deep);}

.ct-hero{background:var(--cream-2);padding-block:96px;}
.ct-hero h1{font-family:var(--serif);color:var(--navy);line-height:1.05;margin-top:12px;font-size:clamp(34px,4.6vw,52px);font-weight:700;}
.ct-hero p{margin-top:20px;max-width:36rem;font-size:18px;line-height:1.625;color:rgba(42,36,31,.75);}
.ct-quicklinks{margin-top:32px;display:grid;gap:12px;grid-template-columns:1fr 1fr;max-width:34rem;}
.ct-quicklinks a{grid-column:1/-1;display:flex;align-items:center;gap:12px;border-radius:14px;border:1px solid rgba(42,36,31,.1);background:rgba(255,252,247,.6);padding:12px 16px;transition:border-color .2s ease;}
.ct-quicklinks a:hover{border-color:rgba(209,70,34,.4);}
.ct-quicklinks .icon{display:flex;height:40px;width:40px;flex-shrink:0;align-items:center;justify-content:center;border-radius:10px;background:var(--paper);border:1px solid rgba(42,36,31,.1);color:var(--terracotta);}
.ct-quicklinks .label{display:block;font-size:10px;font-weight:700;letter-spacing:.16em;color:rgba(42,36,31,.45);text-transform:uppercase;}
.ct-quicklinks .value{display:block;margin-top:2px;font-size:15px;font-weight:700;color:var(--navy);}

.ct-form-section{padding-block:96px;}
.ct-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
@media (max-width:700px){ .ct-form-grid{grid-template-columns:1fr;} }
.ct-form-grid.full{grid-template-columns:1fr;}
.ct-field{display:flex;flex-direction:column;gap:6px;margin-top:20px;}
.ct-field label{font-size:13px;font-weight:700;color:var(--navy);}
.ct-field input,.ct-field select,.ct-field textarea{padding:12px 14px;border-radius:10px;border:1px solid rgba(42,36,31,.15);background:var(--paper);font-size:14px;font-family:var(--sans);color:var(--charcoal);}
.ct-field textarea{min-height:120px;resize:vertical;}
.ct-submit{margin-top:28px;background:var(--terracotta);color:#fff;padding:14px 28px;border-radius:9999px;font-weight:700;font-size:14px;border:none;cursor:pointer;}

.ct-involved{background:var(--cream-2);padding-block:96px;}
.ct-involved-head{max-width:44rem;}
.ct-involved-head h2{font-family:var(--serif);color:var(--navy);line-height:1.15;margin-top:12px;font-size:clamp(28px,3.2vw,38px);font-weight:700;}
.ct-involved-head p{margin-top:12px;color:rgba(42,36,31,.75);}
.ct-involved-grid{margin-top:40px;display:grid;gap:24px;grid-template-columns:repeat(4,1fr);}
@media (max-width:900px){ .ct-involved-grid{grid-template-columns:1fr 1fr;} }
@media (max-width:600px){ .ct-involved-grid{grid-template-columns:1fr;} }
.ct-involved-card{border-radius:18px;border:1px solid rgba(42,36,31,.1);background:var(--paper);padding:24px;}
.ct-involved-card h3{font-family:var(--serif);color:var(--navy);font-size:18px;font-weight:700;margin:0;}
.ct-involved-card p{margin-top:8px;font-size:14px;line-height:1.6;color:rgba(42,36,31,.7);}

/* ---------- Contact rebuild (matches Contact.dc.html) ----------
   New selectors only. Inert until template-contact-redesign.php is replaced
   with the staged version in wp-content/novamira-sandbox/. */
.ct-hero-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:56px;align-items:center;}
.ct-hero-grid.no-media{grid-template-columns:1fr;}
@media (max-width:900px){ .ct-hero-grid{grid-template-columns:1fr;gap:36px;} }
.ct-hero-media{border-radius:18px;overflow:hidden;background:var(--cream-2);aspect-ratio:4/3;box-shadow:0 20px 25px -5px rgba(27,42,65,.10),0 8px 10px -6px rgba(27,42,65,.10);}
.ct-hero-media img{width:100%;height:100%;object-fit:cover;display:block;}
.ct-quicklink-static{display:flex;align-items:flex-start;gap:12px;}
.ct-hero-actions{margin-top:32px;display:flex;flex-wrap:wrap;align-items:center;gap:14px;}
.ct-btn-primary{display:inline-flex;align-items:center;gap:8px;border-radius:10px;background:var(--terracotta);padding:13px 24px;font-size:14px;font-weight:700;color:#fff!important;text-decoration:none;transition:background .2s ease,transform .2s ease;}
.ct-btn-primary:hover{background:var(--terracotta-deep);transform:translateY(-2px);}
.ct-btn-ghost{display:inline-flex;align-items:center;border-radius:10px;border:1px solid rgba(42,36,31,.25);padding:13px 24px;font-size:14px;font-weight:700;color:rgba(42,36,31,.75)!important;text-decoration:none;transition:border-color .2s ease,color .2s ease;}
.ct-btn-ghost:hover{border-color:var(--navy);color:var(--navy)!important;}
.ct-form-layout{display:grid;grid-template-columns:1.4fr 1fr;gap:40px;align-items:start;}
@media (max-width:900px){ .ct-form-layout{grid-template-columns:1fr;gap:28px;} }
.ct-form-card{border-radius:18px;border:1px solid rgba(42,36,31,.1);background:var(--paper);padding:32px;transition:box-shadow .2s ease;}
.ct-form-card:hover{box-shadow:0 10px 15px -3px rgba(27,42,65,.05),0 4px 6px -4px rgba(27,42,65,.05);}
@media (max-width:600px){ .ct-form-card{padding:22px;} }
.ct-form-card form{margin-top:16px;display:flex;flex-direction:column;gap:20px;}
.ct-side-card{border-radius:18px;border:1px solid rgba(42,36,31,.1);background:var(--cream-2);padding:28px;}
.ct-side-card h2{font-family:var(--serif);color:var(--navy);font-size:22px;font-weight:700;margin:0;}
.ct-side-email{display:inline-block;margin-top:12px;font-size:15px;font-weight:700;color:var(--terracotta)!important;text-decoration:none;overflow-wrap:anywhere;}
.ct-side-email:hover{text-decoration:underline;}
.ct-card-link{margin-top:14px;display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--terracotta)!important;text-decoration:none;}
.ct-card-link:hover{gap:9px;}
.ct-involved-card{display:flex;flex-direction:column;align-items:flex-start;}

/* ---------- Fluent Forms integration - contact form (form ID 8) ----------
   Fluent Forms renders its own markup inside .ct-form-card. These rules map that
   markup onto the designed field styles above, so the plugin form matches the
   mockup it replaced.
   Blocksy repaints bare <button> elements and squares off their radius, so every
   submit-button declaration carries !important and is repeated for
   :hover / :focus / :focus-visible / :active. Do not strip the !important flags. */
.ct-form-card .frm-fluent-form fieldset{border:0;padding:0;margin:16px 0 0;min-width:0;display:grid;grid-template-columns:1fr 1fr;gap:20px 16px;}
.ct-form-card .frm-fluent-form legend{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;}
.ct-form-card .frm-fluent-form fieldset>div{grid-column:1/-1;display:flex;flex-direction:column;gap:6px;margin:0;}
.ct-form-card .frm-fluent-form fieldset>div:nth-of-type(1),
.ct-form-card .frm-fluent-form fieldset>div:nth-of-type(2){grid-column:span 1;}
.ct-form-card .frm-fluent-form fieldset>div:last-of-type{align-items:flex-start;}
.ct-form-card .frm-fluent-form .ff-el-input--label label{font-size:13px;font-weight:700;color:var(--navy);margin:0;}
.ct-form-card .frm-fluent-form .ff-el-is-required.asterisk-right label:after{color:var(--terracotta);}
.ct-form-card .frm-fluent-form .ff-el-form-control{width:100%;padding:12px 14px;border-radius:10px;border:1px solid rgba(42,36,31,.15);background:var(--paper);font-size:14px;font-family:var(--sans);color:var(--charcoal);box-shadow:none;}
.ct-form-card .frm-fluent-form .ff-el-form-control:focus{outline:none;border-color:var(--terracotta);box-shadow:0 0 0 3px rgba(209,70,34,.12);}
.ct-form-card .frm-fluent-form textarea.ff-el-form-control{min-height:120px;resize:vertical;}
.ct-form-card .frm-fluent-form select.ff-el-form-control{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232A241F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:38px;}
.ct-form-card .frm-fluent-form .ff-btn-submit{margin-top:8px;width:auto!important;background:var(--terracotta)!important;background-image:none!important;color:var(--cream,#FBF3E7)!important;padding:14px 28px!important;border-radius:9999px!important;border:1px solid var(--terracotta)!important;font-family:var(--sans)!important;font-weight:700!important;font-size:14px!important;line-height:1.2!important;letter-spacing:0!important;text-transform:none!important;cursor:pointer;box-shadow:none!important;transition:background .2s ease,border-color .2s ease;}
.ct-form-card .frm-fluent-form .ff-btn-submit:hover,
.ct-form-card .frm-fluent-form .ff-btn-submit:focus,
.ct-form-card .frm-fluent-form .ff-btn-submit:focus-visible,
.ct-form-card .frm-fluent-form .ff-btn-submit:active{background:var(--terracotta-deep)!important;border-color:var(--terracotta-deep)!important;color:var(--cream,#FBF3E7)!important;box-shadow:none!important;}
.ct-form-card .frm-fluent-form .ff-btn-submit:focus-visible{outline:2px solid var(--navy);outline-offset:3px;}
.ct-form-card .frm-fluent-form .text-danger,
.ct-form-card .frm-fluent-form .error{color:#B3261E;font-size:12.5px;font-family:var(--sans);margin:0;}
.ct-form-card .frm-fluent-form .ff-el-is-error .ff-el-form-control{border-color:#B3261E;}
.ct-form-card .ff-message-success{padding:18px 20px;border-radius:12px;background:rgba(27,42,65,.05);border:1px solid rgba(42,36,31,.12);font-family:var(--sans);font-size:14.5px;line-height:1.6;color:var(--navy);}
@media (max-width:700px){
  .ct-form-card .frm-fluent-form fieldset{grid-template-columns:1fr;}
  .ct-form-card .frm-fluent-form fieldset>div:nth-of-type(1),
  .ct-form-card .frm-fluent-form fieldset>div:nth-of-type(2){grid-column:1/-1;}
  .ct-form-card .frm-fluent-form .ff-btn-submit{width:100%!important;}
}
/* Social links inside the "Reach Us Directly" card. Same markup as the footer row
   (both come from agoal-socials.php) but recoloured for this light cream card - the
   footer rules are scoped to .ag-footer-social, so nothing carries over from them. */
.ct-side-social{margin-top:20px;display:flex;flex-wrap:wrap;gap:10px;}
.ct-side-social a{display:flex;align-items:center;justify-content:center;height:38px;width:38px;border-radius:9999px;background:rgba(27,42,65,.05);border:1px solid rgba(42,36,31,.12);color:var(--navy)!important;transition:background .18s ease,border-color .18s ease,color .18s ease;}
.ct-side-social a:hover,.ct-side-social a:focus-visible{background:var(--terracotta);border-color:var(--terracotta);color:var(--cream,#FBF3E7)!important;}
.ct-side-social svg{display:block;}
