/*
 * Contact page (/contact-us), D-029. From the owner's Figma frame "Support" (file 4TkyRzPzs3MQpfIo7HxV7j,
 * node 2171:9090), designed at 1440px with a 1140px content column. Desktop sizes and offsets are the design's;
 * tablet and phone (not in the design) stack the blocks. Headings and the FAQ come from the design system.
 */
.ct-page { --ct-gutter: max(16px, env(safe-area-inset-left, 0px)); background: var(--cy-neutral-0); color: var(--cy-neutral-1000); overflow-x: clip; }
.ct-inner { max-width: 1140px; margin: 0 auto; }

/* ---------- Hero ---------- */
.ct-hero { position: relative; overflow: hidden; padding-inline: var(--ct-gutter); }
/* Background is laid out on the design's 1440px frame, centred. */
.ct-hero__bg { position: absolute; top: 0; left: 50%; width: 1440px; height: 100%; margin-left: -720px; pointer-events: none; }
.ct-hero__glow { position: absolute; display: block; }
.ct-hero__glow img { position: absolute; display: block; width: auto; height: auto; max-width: none; }
.ct-hero__glow--tl { left: -253px; top: -213px; width: 548px; height: 548px; }
.ct-hero__glow--tl img { inset: -54.74%; width: calc(100% + 2 * 54.74%); height: calc(100% + 2 * 54.74%); }
.ct-hero__glow--r { left: 849px; top: 22px; width: 646px; height: 692px; }
.ct-hero__glow--r img { inset: -34.68% -37.15%; width: calc(100% + 2 * 37.15%); height: calc(100% + 2 * 34.68%); }
.ct-hero__line { position: absolute; max-width: none; opacity: 0.05; }

.ct-hero__inner { position: relative; max-width: 1140px; height: 680px; margin: 0 auto; }
.ct-hero__art { position: absolute; left: -1px; top: 105px; width: 568px; height: 485px; max-width: none; }
.ct-hero__body { position: absolute; left: 663px; top: 102px; width: 458px; display: flex; flex-direction: column; gap: 34px; }
.ct-hero__head { display: flex; flex-direction: column; gap: 8px; max-width: 403px; }
.ct-hero__title { margin: 0; font-size: var(--cy-fs-3xl); line-height: 32px; }
.ct-hero__text { margin: 0; font-size: var(--cy-fs-md); line-height: 20px; }

.ct-cards { display: flex; flex-direction: column; gap: 17px; }
.ct-card {
  position: relative; display: flex; align-items: center; gap: 16px; min-height: 98px; padding: 16px 20px 16px 16px;
  border-radius: 12px; background: var(--cy-neutral-0); box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
  color: var(--cy-neutral-1000); text-decoration: none; transition: box-shadow var(--cy-duration) var(--cy-ease);
}
.ct-card:hover { color: var(--cy-neutral-1000); text-decoration: none; box-shadow: 0 0 0 1px var(--cy-brand-200), 0 4px 14px rgba(0, 0, 0, 0.12); }
.ct-card:focus-visible { outline: 2px solid var(--cy-brand-600); outline-offset: 3px; }
.ct-card__icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 66px; height: 66px; margin-right: 8px; border-radius: 8px; }
.ct-card__icon--info { background: var(--cy-info-50); }
.ct-card__icon--warning { background: var(--cy-warning-50); }
.ct-card__icon--success { background: var(--cy-success-50); }
.ct-card__label { font-size: var(--cy-fs-lg); line-height: 24px; white-space: nowrap; }
.ct-card__value { font: 600 22px/32px var(--cy-font); white-space: nowrap; min-width: 0; overflow-wrap: anywhere; }
.ct-card__value--solo { margin-left: -4px; }

/* ---------- Offices ---------- */
.ct-offices { padding: var(--cy-section-y) var(--ct-gutter); }
.ct-offices .cs-lead { margin-top: 32px; } /* D-056: office hours under the cards */
.ct-offices__list { margin: var(--cy-section-head) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ct-office { position: relative; min-height: 180px; padding: 20px; border-radius: 12px; background: var(--cy-neutral-0); box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); overflow: hidden; }
.ct-office__badge { display: inline-block; padding: 10px; border-radius: 8px; font: 600 var(--cy-fs-md)/20px var(--cy-font); text-transform: uppercase; }
.ct-office__badge--brand { background: var(--cy-brand-50); color: var(--cy-brand-600); }
.ct-office__badge--success { background: var(--cy-success-50); color: var(--cy-success-600); }
.ct-office__badge--info { background: var(--cy-info-50); color: var(--cy-info-600); }
.ct-office__badge--warning { background: var(--cy-warning-50); color: var(--cy-warning-600); }
.ct-office__address { position: relative; z-index: 1; margin: 24px 0 0; max-width: 227px; font-style: normal; font-size: var(--cy-fs-md); line-height: 20px; }
.ct-office__deco { position: absolute; left: 163px; top: 91px; width: 190.44px; height: 177.33px; max-width: none; transform: rotate(180deg); pointer-events: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1199px) {
  .ct-hero__inner { height: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 458px); gap: 32px; align-items: center; padding-block: 64px; }
  .ct-hero__art, .ct-hero__body { position: static; }
  .ct-hero__art { width: 100%; height: auto; max-width: 520px; }
  .ct-hero__body { width: auto; }
  .ct-offices__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Phone ---------- */
@media (max-width: 767px) {
  .ct-hero__inner { grid-template-columns: minmax(0, 1fr); padding-block: 32px 48px; gap: 24px; }
  .ct-hero__art { max-width: 340px; justify-self: center; order: 2; }
  .ct-hero__body { order: 1; gap: 24px; }
  .ct-card { min-height: 80px; padding: 12px; gap: 12px; }
  .ct-card__icon { width: 52px; height: 52px; margin-right: 0; }
  .ct-card__label { font-size: var(--cy-fs-md); }
  .ct-card__value { font-size: var(--cy-fs-xl); line-height: 26px; white-space: normal; }

  .ct-offices__list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ct-office { min-height: 0; }
}
.ct-grievance { margin: 16px 0 0; font-size: 14px; color: #5f524c; } .ct-grievance a { color: #c23b28; } /* D-304 */
