/* =====================================================================
   TARC — Contact page. Loads on top of tarc-pages.css (shared .tarc-page
   tokens, buttons, hero, eyebrow, cta). Adds contact-specific components.
===================================================================== */
.tarc-contact{ --ok:#1f9d55; --ok-bg:#e9f7ef; --err:#d64545; --err-bg:#fdecec; }

/* ---- hero chips ---- */
.tarc-page .tc-hero-chips{ display:flex; gap:12px; flex-wrap:wrap; margin-top:30px; position:relative; z-index:2; }
.tarc-page .tc-hchip{ display:inline-flex; align-items:center; gap:9px; font-family:var(--tc-font-display); font-size:13.5px; font-weight:500; color:#eceae6; background:rgba(255,255,255,.05); border:1px solid var(--ground-line); border-radius:100px; padding:9px 16px; }
.tarc-page .tc-hchip svg{ width:16px; height:16px; color:var(--brand); }
.tarc-page .tc-hchip .live{ width:8px; height:8px; border-radius:50%; background:var(--ok); box-shadow:0 0 0 4px rgba(31,157,85,.25); }

/* ===================== TWO-COLUMN ===================== */
.tarc-page .tc-contact{ background:var(--paper); }
.tarc-page .tc-cc-grid{ display:grid; grid-template-columns:0.86fr 1.14fr; gap:clamp(28px,4vw,56px); align-items:start; }
@media (max-width:900px){ .tarc-page .tc-cc-grid{ grid-template-columns:1fr; } }

/* left: info */
.tarc-page .tc-info h2{ margin-bottom:14px; }
.tarc-page .tc-info .lead{ color:var(--ink-2); font-size:16.5px; max-width:44ch; margin:0 0 24px; }
.tarc-page .tc-reply{ display:inline-flex; align-items:center; gap:11px; background:var(--ok-bg); border:1px solid color-mix(in srgb,var(--ok) 26%, #fff); color:#146c3a; border-radius:100px; padding:9px 16px; font-family:var(--tc-font-display); font-weight:600; font-size:13.5px; margin-bottom:28px; }
.tarc-page .tc-reply .live{ width:9px; height:9px; border-radius:50%; background:var(--ok); box-shadow:0 0 0 4px rgba(31,157,85,.2); }

.tarc-page .tc-cards{ display:flex; flex-direction:column; gap:12px; margin-bottom:28px; }
.tarc-page .tc-card{ display:flex; align-items:center; gap:16px; background:var(--card); border:1px solid var(--line); border-radius:10px; padding:16px 18px; transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.tarc-page a.tc-card:hover{ border-color:color-mix(in srgb,var(--brand) 40%,var(--line)); transform:translateY(-2px); box-shadow:var(--shadow); }
.tarc-page .tc-card-ic{ flex:none; width:46px; height:46px; border-radius:10px; display:grid; place-items:center; color:var(--brand); background:color-mix(in srgb,var(--brand) 12%,#fff); border:1px solid color-mix(in srgb,var(--brand) 22%,var(--line)); }
.tarc-page .tc-card-ic svg{ width:22px; height:22px; }
.tarc-page .tc-card .k{ font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-2); font-family:var(--tc-font-display); font-weight:600; }
.tarc-page .tc-card .v{ font-family:var(--tc-font-display); font-weight:600; font-size:16px; color:var(--ink); margin-top:3px; word-break:break-word; }
.tarc-page .tc-card .s{ font-size:13px; color:var(--ink-2); }

.tarc-page .tc-hours{ background:var(--paper-2); border:1px solid var(--line-2); border-radius:10px; padding:20px 22px; }
.tarc-page .tc-hours h4{ font-family:var(--tc-font-display); font-weight:600; font-size:13px; letter-spacing:.12em; text-transform:uppercase; color:var(--ink); margin:0 0 14px; display:flex; align-items:center; gap:9px; }
.tarc-page .tc-hours h4::before{ content:""; width:16px; height:2px; background:var(--brand); }
.tarc-page .tc-hours ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px; }
.tarc-page .tc-hours li{ display:flex; justify-content:space-between; gap:12px; font-size:14.5px; }
.tarc-page .tc-hours li span:first-child{ color:var(--ink-2); }
.tarc-page .tc-hours li span:last-child{ font-family:var(--tc-font-display); font-weight:600; color:var(--ink); font-variant-numeric:tabular-nums; }
.tarc-page .tc-hours li.is-closed span:last-child{ color:var(--err); }

/* right: form card */
.tarc-page .tc-formcard{ background:var(--card); border:1px solid var(--line); border-radius:14px; padding:clamp(24px,3vw,38px); box-shadow:var(--shadow); }
.tarc-page .tc-formcard h3{ font-family:var(--tc-font-display); font-weight:600; font-size:22px; letter-spacing:-.01em; margin:0 0 4px; }
.tarc-page .tc-formcard .sub{ color:var(--ink-2); font-size:14.5px; margin:0 0 22px; }

/* alerts */
.tarc-page .tc-alert{ display:none; gap:13px; border-radius:10px; padding:16px 18px; margin-bottom:22px; }
.tarc-page .tc-alert.is-on{ display:flex; }
.tarc-page .tc-alert .ai{ flex:none; width:24px; height:24px; margin-top:1px; }
.tarc-page .tc-alert .at{ font-family:var(--tc-font-display); font-weight:600; font-size:15px; margin:0 0 2px; }
.tarc-page .tc-alert p{ margin:0; font-size:14px; }
.tarc-page .tc-alert--ok{ background:var(--ok-bg); border:1px solid color-mix(in srgb,var(--ok) 30%,#fff); color:#146c3a; }
.tarc-page .tc-alert--err{ background:var(--err-bg); border:1px solid color-mix(in srgb,var(--err) 30%,#fff); color:#a12b2b; }

/* form fields */
.tarc-page .tc-form{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.tarc-page .tc-field{ display:flex; flex-direction:column; gap:7px; min-width:0; }
.tarc-page .tc-field.tc-col2{ grid-column:1 / -1; width:auto; }
.tarc-page .tc-field label{ font-family:var(--tc-font-display); font-weight:600; font-size:13.5px; color:var(--ink); }
.tarc-page .tc-field label .req{ color:var(--brand); }
.tarc-page .tc-field input, .tarc-page .tc-field select, .tarc-page .tc-field textarea{
  font-family:var(--tc-font-body); font-size:15px; color:var(--ink); background:#fff;
  border:1px solid var(--line); border-radius:8px; padding:12px 14px; width:100%;
  transition:border-color .15s ease, box-shadow .15s ease; }
.tarc-page .tc-field textarea{ resize:vertical; min-height:120px; }
.tarc-page .tc-field select{ appearance:none; -webkit-appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c616a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 12px center; padding-right:38px; }
.tarc-page .tc-field input:focus, .tarc-page .tc-field select:focus, .tarc-page .tc-field textarea:focus{ outline:none; border-color:var(--brand); box-shadow:0 0 0 3px rgba(241,99,25,.14); }
.tarc-page .tc-field .hint{ font-size:12.5px; color:var(--ink-2); }

/* field error state */
.tarc-page .tc-err{ display:none; align-items:center; gap:6px; color:var(--err); font-size:12.5px; font-weight:500; }
.tarc-page .tc-err::before{ content:"!"; flex:none; width:15px; height:15px; border-radius:50%; background:var(--err); color:#fff; font-family:var(--tc-font-display); font-weight:700; font-size:11px; display:grid; place-items:center; }
.tarc-page .tc-field.is-error input, .tarc-page .tc-field.is-error select, .tarc-page .tc-field.is-error textarea{ border-color:var(--err); box-shadow:0 0 0 3px rgba(214,69,69,.12); }
.tarc-page .tc-field.is-error .tc-err{ display:flex; }

/* honeypot — visually removed, off-screen */
.tarc-page .tc-hp{ position:absolute !important; left:-9999px !important; width:1px; height:1px; overflow:hidden; }

/* file dropzone + list */
.tarc-page .tc-drop{ border:1.5px dashed color-mix(in srgb,var(--brand) 30%,var(--line)); border-radius:10px; background:var(--paper-2); padding:22px; text-align:center; cursor:pointer; transition:border-color .2s ease, background .2s ease; }
.tarc-page .tc-drop:hover, .tarc-page .tc-drop.is-drag{ border-color:var(--brand); background:#fff; }
.tarc-page .tc-drop .di{ width:34px; height:34px; margin:0 auto 10px; color:var(--brand); }
.tarc-page .tc-drop .dt{ font-family:var(--tc-font-display); font-weight:600; font-size:14.5px; color:var(--ink); }
.tarc-page .tc-drop .dt b{ color:var(--brand); }
.tarc-page .tc-drop .dh{ font-size:12.5px; color:var(--ink-2); margin-top:5px; }
.tarc-page .tc-filelist{ list-style:none; margin:12px 0 0; padding:0; display:flex; flex-direction:column; gap:8px; }
.tarc-page .tc-filelist li{ display:flex; align-items:center; gap:10px; background:var(--paper-2); border:1px solid var(--line-2); border-radius:8px; padding:9px 12px; font-size:13.5px; }
.tarc-page .tc-filelist .fn{ flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--ink); }
.tarc-page .tc-filelist .fs{ color:var(--ink-2); font-variant-numeric:tabular-nums; flex:none; }
.tarc-page .tc-filelist .fx{ flex:none; cursor:pointer; border:none; background:none; color:var(--ink-2); font-size:18px; line-height:1; padding:0 2px; }
.tarc-page .tc-filelist .fx:hover{ color:var(--err); }

/* consent + submit */
.tarc-page .tc-consent{ display:flex; align-items:flex-start; gap:11px; font-size:13.5px; color:var(--ink-2); font-family:var(--tc-font-body); font-weight:400; cursor:pointer; }
.tarc-page .tc-consent input{ width:18px; height:18px; margin-top:2px; accent-color:var(--brand); flex:none; }
.tarc-page .tc-submit{ display:flex; flex-direction:column; align-items:flex-start; gap:14px; }
.tarc-page .tc-submit .tc-btn{ padding:15px 30px; width:100%; justify-content:center; }
.tarc-page .tc-submit .tc-btn[disabled]{ opacity:.6; cursor:progress; }
.tarc-page .tc-submit .note{ display:inline-flex; align-items:center; gap:8px; font-size:13px; color:var(--ink-2); }
.tarc-page .tc-submit .note svg{ width:15px; height:15px; color:var(--ok); }

@media (max-width:520px){ .tarc-page .tc-form{ grid-template-columns:1fr; } }

/* ===================== MAP ===================== */
.tarc-page .tc-mapsec{ background:var(--paper-2); border-top:1px solid var(--line-2); }
.tarc-page .tc-map-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-bottom:26px; }
.tarc-page .tc-map-head p{ margin:6px 0 0; color:var(--ink-2); }
.tarc-page .tc-map{ border:1px solid var(--line); border-radius:14px; overflow:hidden; height:clamp(300px,42vw,460px); box-shadow:var(--shadow); background:var(--paper); }
.tarc-page .tc-map iframe{ width:100%; height:100%; border:0; display:block; filter:grayscale(.15); }

@media (prefers-reduced-motion:reduce){ .tarc-page .tarc-contact *{ transition:none !important; } }
