/* /kontakt, and /narudzba which shares the grammar (fact rows, phone/mail links). The stage,
   lead, form title, labels, inputs, check circle and caps links all come from vb-site.css
   (.vb-cols, .vb-lead, .vb-sub, .vb-tlink, .vb-check). This file holds only what is specific
   to these two pages: the label/value fact rows and the form's rhythm. */

.kontakt-cols { grid-template-columns: 1.02fr .98fr; }
.kontakt-left h1 { max-width: 11ch; }

/* contact facts: label/value rows divided by hairlines, straight on the board */
.kontakt-info { margin: 0 0 24px; padding: 0; }
.ki-row {
  display: grid; grid-template-columns: 150px 1fr; align-items: baseline; gap: 18px;
  padding-block: 13px;
}
.ki-text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--vb-flour); }
.ki-row dd { margin: 0; }
.ki-sub { color: var(--vb-flour-dim); font-size: 13px; }
/* a sub-line under a value (/narudzba: the plant's hours and live state under the number) */
.ki-sub--line { display: block; margin-top: 4px; line-height: 1.5; }
.ki-sub-dim { color: var(--vb-muted); }
.ki-mail { font-size: 15px; font-weight: 600; color: var(--vb-flour); transition: color .15s ease; }
.ki-mail:hover { color: var(--vb-gold); }

/* ---- right column: the form (/kontakt), on the board. (/narudzba had a how-to steps column
   here for a few hours on 2026-09-17; the owner removed it, the page is left column only.) ---- */
.kontakt-form-card { padding: clamp(0px, 3vh, 34px) 0 0; }
.kf-sub { font-size: 12.5px; color: var(--vb-flour); margin: 0 0 20px; }
.kf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(18px, 2.4vw, 36px); }
.kf-field { display: grid; gap: 6px; margin-bottom: 18px; }
.kf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
#kf-error { margin: 0 0 12px; }
#kf-submit { margin-top: 10px; }
#kf-msg { min-height: 3.6em; }

/* ---- sent state ---- */
.kf-sent { padding: 6px 0; }
.kf-sent-text { font-size: 15px; line-height: 1.7; color: var(--vb-flour); margin: 10px 0 18px; max-width: 44ch; }

/* narrow only: stacking a short window is what made this page scroll (see vb-site.css) */
@media (max-width: 980px) {
  .kontakt-cols { grid-template-columns: 1fr; }
  .kontakt-left h1 { max-width: 18ch; }
  .kontakt-form-card { padding-top: 0; }
}
/* ---- tablet portrait: one column for the copy, two for the facts ----
   Stretched to the full 691px track the lead ran 56 characters and a fact row spent
   two-thirds of it on white space. */
@media (min-width: 720px) and (max-width: 979.98px) {
  .kontakt-left .vb-lead { max-width: 35ch; }
  .kf-sent-text { max-width: 35ch; }
  .kontakt-info { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 40px); }
  /* label over value: at half the width a 150px label track starves the address */
  .ki-row { grid-template-columns: 1fr; gap: 5px; }
  /* .vb-rows opens the list on its first child; side by side the second row-one item needs it too */
  .kontakt-info > :nth-child(2) { border-top: 1px solid var(--vb-hair-soft); }
}

@media (max-width: 620px) {
  .ki-row { grid-template-columns: 1fr; gap: 5px; }
  .kf-row { grid-template-columns: 1fr; }
}


/* Phone and email are the two highest-intent targets on this page and were 20px tall. Padding
   plus an equal negative margin, so the address block's rhythm does not move. */
@media (max-width: 979.98px) {
  .ki-mail {
    display: inline-flex; align-items: center;
    padding-block: 12px; margin-block: -12px;
  }
}
