/* =====================================================================
   TenderAlert contact page (page-contact.css). Loads after site.css.
   Composition = live (change register 2026-10-20): navy hero (h1 +
   subtitle, stacked) > paper section with white cards: form card left,
   founders card right (same height), three contact cards (e-mail /
   telefoon / adres), then photo + map cards. Nothing hangs over the hero.
   JS hooks kept: #contactForm (POST /api/contact), #contactSubmit, #contactStatus.
   ===================================================================== */

/* ---------- Hero: site.css .page-hero (stacked), like live ---------- */
/* live widths: hero text and card rows share one 1040 px column (x 200 at 1440) */
.ct-hero .wrap, .ct-body .wrap { max-width: calc(1040px + 2 * var(--gut)); }
.ct-hero .subtitle { max-width: 25em; }

/* ---------- Body: paper band, white cards ---------- */
.ct-body { background: var(--paper); padding: 96px 0 112px; }
.v5-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }

/* form card: fields stacked like live (site.css .form-fields), navy button */
.ct-form.card { padding: 36px 36px 34px; }
.ct-form input { margin-bottom: 18px; }
.ct-form textarea { margin-bottom: 22px; min-height: 128px; }
.ct-form .v5-btn { width: 100%; }
.ct-form .v5-btn:disabled { opacity: .72; cursor: default; transform: none; }
.ct-status { margin-top: 14px; font-size: 14.5px; font-weight: 650; text-align: center; }

/* founders card: centred, like live */
.v5-team-card.card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 40px 36px; text-align: center; }
.v5-team-photos { display: flex; gap: 28px; }
.v5-team-photo { display: flex; flex-direction: column; align-items: center; }
.v5-team-photo .founder-avatar { --s: 112px; }
.v5-team-photo p { margin-top: 14px; font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; color: var(--navy); }
.v5-team-photo span { margin-top: 3px; font-size: 13px; color: var(--muted); }
/* the invitation: calm body text under the founders, like live */
.v5-tagline { max-width: 22em; font-size: 17px; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }

/* three contact cards */
.v5-info-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0; }
.v5-info-item { display: flex; flex-direction: column; align-items: center; padding: 28px 24px 26px; text-align: center; }
.v5-info-item .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); color: var(--navy); }
.v5-info-item strong { margin-top: 14px; font-family: var(--display); font-size: 16px; font-weight: 700; color: var(--navy); }
.v5-info-item a, .v5-info-item span { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.v5-info-item a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(31, 78, 121, .28); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.v5-info-item a:hover { text-decoration-color: var(--accent); }

/* the place: photo + map cards with a caption, like live */
.v5-media-item.card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.v5-media-item img, .v5-media-item iframe { display: block; width: 100%; height: 240px; border: 0; object-fit: cover; background: var(--canvas-deep); }
.v5-media-item p { padding: 14px 16px; font-size: 14.5px; font-weight: 650; text-align: center; color: var(--navy); border-top: 1px solid var(--line); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 920px) {
  .ct-body { padding: 72px 0 88px; }
  .v5-row { grid-template-columns: 1fr; gap: 24px; }
  .v5-info-bar { gap: 24px; margin: 24px 0; }
}
@media (max-width: 640px) {
  .ct-body { padding: 48px 0 72px; }
  .ct-form.card { padding: 26px 22px 24px; }
  .v5-team-card.card { padding: 32px 22px; gap: 24px; }
  .v5-team-photo .founder-avatar { --s: 96px; }
  .v5-tagline { font-size: 16.5px; }
  .v5-info-bar { grid-template-columns: 1fr; } /* one 24 px gap for every stacked card */
  .v5-info-item { padding: 22px 20px; }
  .v5-media-item img, .v5-media-item iframe { height: 200px; }
}
