/* ============================================================
   Amir Institute — css/contact.css
   Page stylesheet for contact.html. Loaded AFTER css/site.css,
   so anything here intentionally overrides the shared base.
   ============================================================ */
/* ═══ QUICK LINKS — the row a school site lives on ═══ */
.quick{position:relative;z-index:6;margin-top:-54px}
.quick .inner{display:grid;grid-template-columns:repeat(4,1fr);gap:0;overflow:hidden;
  background:#fff;border:1px solid var(--line);border-radius:var(--r-xl);box-shadow:var(--shadow-lg)}
.qk{display:flex;gap:15px;align-items:center;padding:26px 24px;border-right:1px solid var(--line);
  transition:.22s;background:#fff}
.qk:last-child{border-right:0}
.qk:hover{background:var(--cream)}
.qk:hover .qk-ic{background:var(--green-800);color:var(--gold-light);transform:translateY(-2px)}
.qk-ic{width:48px;height:48px;border-radius:14px;background:var(--green-100);color:var(--green-700);
  display:grid;place-items:center;flex:none;transition:.22s}
.qk-ic svg{width:24px;height:24px}
.qk b{display:block;font-size:1rem;color:var(--ink);line-height:1.25}
.qk span{display:block;font-size:.84rem;color:var(--muted);margin-top:3px;line-height:1.4}
@media (max-width:1040px){.quick{margin-top:-30px}.quick .inner{grid-template-columns:repeat(2,1fr)}
  .qk:nth-child(2){border-right:0}.qk:nth-child(1),.qk:nth-child(2){border-bottom:1px solid var(--line)}}
@media (max-width:620px){.quick .inner{grid-template-columns:1fr}
  .qk{border-right:0;border-bottom:1px solid var(--line)}.qk:last-child{border-bottom:0}}


/* ── inner-page heroes: the background photograph IS the image.
      A second floating photo on top of it just repeated the same scene. ── */
.phero-grid{grid-template-columns:minmax(0,1fr)}
.phero-copy{max-width:min(720px,60%)}
.phero .wrap{padding-top:clamp(70px,7.4vw,108px);padding-bottom:clamp(80px,8.4vw,120px);min-height:clamp(380px,34vw,520px);display:flex;flex-direction:column;justify-content:center}
.phero h1{max-width:17ch}
/* school + garden keep their seal - a brand mark, not a repeated photo */
.phero-grid.has-seal{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)}
.phero-grid.has-seal .phero-copy{max-width:none}
@media (min-width:1500px){ .phero-copy{max-width:min(800px,56%)} }
@media (max-width:1040px){
  .phero-copy{max-width:none}
  .phero-grid.has-seal{grid-template-columns:minmax(0,1fr)}
}


/* card titles are <h3> so the heading order never skips a level;
   these keep the compact card look that <h4> used to give them */
.svc h3,.dot-card h3,.give h3,.person h3,.ev-body h3,.pt h3{
  font-weight:700;letter-spacing:-.005em;line-height:1.3}
.svc h3{font-size:1.06rem}.dot-card h3{font-size:1.04rem}
.give h3{font-size:1.02rem}.person h3{font-size:1.04rem}
.ev-body h3{font-size:1.08rem}.pt h3{font-size:1rem}


/* footer column titles and small card titles are <h3> for correct heading
   order; these keep the small-caps label look they had as <h4> */
.ftr h3{color:#fff;font-size:.82rem;letter-spacing:.14em;text-transform:uppercase;
  margin-bottom:18px;font-weight:700}
.hours-card h3{color:#fff;font-size:1.02rem;margin-bottom:16px;font-weight:700;letter-spacing:0}
.tr h3{font-size:1.06rem;margin-bottom:7px;font-weight:700;letter-spacing:-.005em}

/* ── the note that matters most on this page ──
   Placed above the form, not below it, because someone contacting us about
   their safety needs to read it before they start typing. */
.safetynote{display:flex;gap:16px;align-items:flex-start;
  background:var(--green-100);border-left:4px solid var(--green-700);
  border-radius:var(--r);padding:clamp(20px,2.4vw,26px) clamp(22px,2.6vw,30px);
  margin-bottom:clamp(24px,3vw,34px)}
.safetynote svg{flex:none;width:26px;height:26px;color:var(--green-800);margin-top:2px}
.safetynote b{display:block;color:var(--ink);margin-bottom:8px;font-size:1.02rem}
.safetynote p{font-size:.94rem;line-height:1.64;margin:0 0 9px}
.safetynote p:last-child{margin-bottom:0}
.safetynote a{color:var(--green-800);font-weight:800;text-decoration:underline;
  white-space:nowrap}

.hoursnote{padding-top:0}
.hoursnote p{text-align:center;font-size:.94rem;color:var(--muted);margin:0}
