/* 2026-10-10 15:36 IST - /contact/: intro + message form, timings (live chip), address strip, wide map.
   Themed inline messages only (no browser dialogs). Every rule scoped to body.pg-contact. */
body.pg-contact .ct-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
body.pg-contact .ct-intro .phone { margin: 18px 0 0; }
body.pg-contact .ct-card { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); }
body.pg-contact .ct-card-title { font-size: clamp(32px, 3.4vw, 46px); }
body.pg-contact .ct-note { margin: 6px 0 20px; color: var(--muted); font-size: 14px; }
body.pg-contact .ct-form { display: grid; gap: 18px; }
body.pg-contact .ct-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
body.pg-contact .ct-field { display: grid; gap: 6px; min-width: 0; align-content: start; }
body.pg-contact .ct-field label { font-weight: 600; font-size: 15px; }
body.pg-contact .ct-req { color: var(--accent); }
body.pg-contact .ct-field input[type="text"], body.pg-contact .ct-field input[type="tel"],
body.pg-contact .ct-field textarea, body.pg-contact .ct-field select {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #3a3a38; border-radius: 10px;
  background: #0f0f0f; color: var(--text); font: 16px/1.4 var(--body); transition: border-color .2s;
}
body.pg-contact .ct-field textarea { min-height: 140px; resize: vertical; }
body.pg-contact .ct-field select { appearance: none; padding-right: 40px; cursor: pointer;
  background: #0f0f0f url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23ffd200' stroke-width='2'/></svg>") right 14px center / 12px 8px no-repeat; }
body.pg-contact .ct-field input:hover, body.pg-contact .ct-field textarea:hover, body.pg-contact .ct-field select:hover { border-color: #5a5a56; }
body.pg-contact .ct-field input:focus, body.pg-contact .ct-field textarea:focus, body.pg-contact .ct-field select:focus { border-color: var(--accent); }
body.pg-contact .ct-field [aria-invalid="true"] { border-color: var(--err); }
body.pg-contact .ct-err { margin: 0; color: #ff8a80; font-size: 14px; line-height: 1.4; }
body.pg-contact .ct-consent { grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: start; }
body.pg-contact .ct-consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
body.pg-contact .ct-consent label { font-weight: 500; line-height: 1.5; cursor: pointer; }
body.pg-contact .ct-consent .ct-err { grid-column: 1 / -1; }
body.pg-contact .ct-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
body.pg-contact .ct-actions .btn { min-width: 200px; }
body.pg-contact .ct-actions .btn[disabled] { opacity: .6; cursor: progress; transform: none; }
body.pg-contact .ct-status { margin: 0; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; line-height: 1.5; }
body.pg-contact .ct-status[data-state="ok"] { border-color: rgba(61,220,132,.55); background: rgba(61,220,132,.1); color: #9ff3c2; }
body.pg-contact .ct-status[data-state="error"] { border-color: rgba(255,90,79,.55); background: rgba(255,90,79,.1); color: #ffb8b2; }
body.pg-contact .ct-status-row { margin: 0 0 16px; }
/* address strip: heading on its own row, then address (+ plus code), phone, buttons side by side */
body.pg-contact .ct-visit .contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.3fr); column-gap: clamp(24px, 4vw, 72px); align-items: start; }
body.pg-contact .ct-visit .contact > header { grid-column: 1 / -1; grid-row: 1; margin-bottom: 28px; }
body.pg-contact .ct-visit .contact > address { grid-column: 1; grid-row: 2; margin: 0; }
body.pg-contact .ct-visit .contact > p.muted { grid-column: 1; grid-row: 3; margin: 8px 0 0; }
body.pg-contact .ct-visit .contact > .phone { grid-column: 2; grid-row: 2; margin: 0; }
body.pg-contact .ct-visit .contact > .cta { grid-column: 3; grid-row: 2; margin-top: 0; }
body.pg-contact .ct-visit { padding-bottom: clamp(48px, 6vw, 88px); }
/* wide map at the bottom of the page */
body.pg-contact .ct-map { height: clamp(380px, 62vh, 660px); background: var(--bg-3); border-top: 1px solid var(--line); }
body.pg-contact .ct-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
@media (max-width: 1100px) {
  body.pg-contact .ct-visit .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; }
  body.pg-contact .ct-visit .contact > header { margin-bottom: 20px; }
  body.pg-contact .ct-visit .contact > address { grid-column: 1; grid-row: 2 / span 2; }
  body.pg-contact .ct-visit .contact > p.muted { grid-column: 1; grid-row: 4; }
  body.pg-contact .ct-visit .contact > .phone { grid-column: 2; grid-row: 2; }
  body.pg-contact .ct-visit .contact > .cta { grid-column: 2; grid-row: 3; margin-top: 18px; }
}
@media (max-width: 900px) { body.pg-contact .ct-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  body.pg-contact .ct-row { grid-template-columns: minmax(0, 1fr); }
  body.pg-contact .ct-visit .contact { display: block; }
  body.pg-contact .ct-visit .contact > .phone { margin-top: 16px; }
  body.pg-contact .ct-actions .btn { width: 100%; }
  body.pg-contact .ct-map { height: 420px; }
}
