/* =========================================================================
   CONTACT PAGE (contact.php). Builds on css/styles.css tokens and the shared
   .cta-form / .field styles.
   ========================================================================= */

/* ---------------------------------------------------------------- Hero ---- */
.ct-hero .lead { max-width: 50ch; }
.ct-hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .9rem 1rem; animation: rise 1s var(--ease) .16s both; }

/* --------------------------------------------------------- Form + aside ---- */
.ct-main { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.ct-main .form-banner { max-width: var(--maxw); }
.ct-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}

/* The form card (dark, shared .cta-form look) */
.ct-form-title {
  font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: .95;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem); color: var(--paper); margin-bottom: 1.6rem;
}
.ct-needs { border: 0; padding: 0; margin: 0 0 1.6rem; min-width: 0; }
.ct-needs legend {
  padding: 0; margin-bottom: .75rem;
  font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .04em; color: rgba(238, 237, 236, .8);
}
.ct-needs legend span { font-weight: 400; color: rgba(238, 237, 236, .5); margin-left: .35rem; }
.ct-chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.ct-chip { position: relative; cursor: pointer; }
.ct-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ct-chip span {
  display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: rgba(238, 237, 236, .85);
  box-shadow: inset 0 0 0 1.5px rgba(238, 237, 236, .22);
  transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.ct-chip span::before {
  content: "\f067"; font-family: "Font Awesome 7 Free"; font-weight: 900; font-size: .72rem; color: var(--mint);
}
.ct-chip:hover span { box-shadow: inset 0 0 0 1.5px var(--mint); }
.ct-chip input:checked + span { background: var(--mint); color: var(--ink-900); box-shadow: none; }
.ct-chip input:checked + span::before { content: "\f00c"; color: var(--ink-900); }
.ct-chip input:focus-visible + span { outline: 3px solid var(--mint); outline-offset: 3px; }

.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.ct-optional { font-weight: 400; color: rgba(238, 237, 236, .5); }
.ct-hint { margin-top: .5rem; font-size: .85rem; color: rgba(238, 237, 236, .55); }

/* The aside */
.ct-aside { display: grid; gap: clamp(1.6rem, 3vw, 2.2rem); }
.ct-aside h2 { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--ink-900); }

.ct-direct ul { margin-top: .9rem; display: grid; gap: .7rem; }
.ct-direct li { display: flex; align-items: center; gap: .8rem; }
.ct-direct i { width: 2.4rem; height: 2.4rem; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink-900); color: var(--mint); font-size: .95rem; }
.ct-direct a { font-family: var(--font-head); font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--ink-900); overflow-wrap: anywhere; }
.ct-direct a:hover { color: var(--mint-deep); text-decoration: underline; text-underline-offset: .2em; }

.ct-hours { overflow: hidden; border-radius: var(--radius); background: var(--paper-bright); box-shadow: 0 0 0 1px rgba(62, 67, 73, .08); }
.ct-hours-body { padding: 1.3rem 1.4rem 1.4rem; }
.ct-hours-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; }
.ct-status { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .75rem; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .85rem; }
.ct-status-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ct-status.is-open { background: rgba(73, 233, 183, .22); color: #137a5c; }
.ct-status.is-closed { background: rgba(62, 67, 73, .08); color: rgba(62, 67, 73, .75); }
.ct-hours-table { width: 100%; margin-top: 1rem; border-collapse: collapse; }
.ct-hours-table th, .ct-hours-table td { padding: .65rem 0; border-top: 1px solid rgba(62, 67, 73, .12); text-align: left; font-family: var(--font-head); font-size: .98rem; }
.ct-hours-table th { font-weight: 500; color: rgba(62, 67, 73, .85); }
.ct-hours-table td { text-align: right; font-weight: 600; color: var(--ink-900); white-space: nowrap; }
.ct-hours-table tr.is-today th, .ct-hours-table tr.is-today td { color: var(--ink-900); font-weight: 600; }
.ct-today { margin-left: .4rem; padding: .1rem .5rem; border-radius: 999px; background: var(--ink-900); color: var(--mint); font-size: .72rem; font-weight: 600; vertical-align: .1em; }
.ct-next { margin-top: .9rem; font-size: .9rem; color: rgba(62, 67, 73, .7); }

.ct-area h2 { display: flex; align-items: center; gap: .55rem; }
.ct-area h2 i { color: var(--mint-deep); }
.ct-area p { margin-top: .55rem; line-height: 1.6; color: rgba(62, 67, 73, .85); }

/* ------------------------------------------------------ What happens next ---- */
.ct-next-steps { padding-top: 0; }
.ct-wrap { max-width: var(--maxw); margin: 0 auto; }
.ct-next-steps h2 {
  font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: .95;
  font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--ink-900);
}
.ct-steps { margin-top: clamp(1.6rem, 3.5vw, 2.4rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.ct-steps li { padding-top: 1.3rem; border-top: 2px solid rgba(62, 67, 73, .16); }
.ct-steps i { font-size: 1.35rem; color: var(--mint-deep); }
.ct-steps h3 { margin-top: .9rem; font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--ink-900); }
.ct-steps p { margin-top: .45rem; line-height: 1.55; color: rgba(62, 67, 73, .8); }

/* ---------------------------------------------------------- Responsive ---- */
@media (max-width: 980px) {
  .ct-grid { grid-template-columns: 1fr; }
  .ct-steps { grid-template-columns: 1fr; gap: 1.2rem; }
}
@media (max-width: 560px) {
  .ct-row { grid-template-columns: 1fr; }
}
