/* Veflausnir — verkbeiðni (ofan á forsida.css) */
.vb-main { padding: 56px 0 96px; }
.vb-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.vb-intro { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 104px; }
.vb-crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted-2); }
.vb-crumbs a { color: var(--muted-2); text-decoration: none; }
.vb-crumbs a:hover { color: var(--ink); }
.vb-intro h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1; }
.vb-lead { font-size: 18px; color: var(--muted); }
.vb-steps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.vb-steps li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.vb-steps span {
  flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  font-family: var(--f-mono); font-size: 13px; display: flex; align-items: center; justify-content: center;
}
.vb-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.vb-contact .contact-card { border: 1px solid var(--line); }
.vb-contact .cc-text .val { font-size: 20px; }
.vb-contact .cc-text .val-mail { font-size: 18px; }

.vb-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 40px; box-shadow: 0 30px 60px -40px rgba(11,20,35,.35); min-width: 0; }

.request-form { display: flex; flex-direction: column; gap: 22px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req { color: var(--accent); }

.types { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.types legend { font-weight: 600; font-size: 16px; margin-bottom: 12px; padding: 0; }
.type-option {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 52px;
  border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: #fff;
  transition: border-color .15s, background-color .15s;
}
.type-option:hover { border-color: #C9CED6; }
.type-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.type-option .radio { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #C9CED6; position: relative; transition: border-color .15s; }
.type-option .lbl { font-size: 15px; line-height: 1.4; }
.type-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.type-option input:checked + .radio { border-color: var(--accent); }
.type-option input:checked + .radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent); }
.type-option input:focus-visible + .radio { outline: 2.5px solid var(--accent); outline-offset: 3px; }
.types.has-error .type-option { border-color: #F0B4AE; }

.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-label { font-size: 14px; font-weight: 600; }
.field input, .field textarea {
  width: 100%; font: 16px/1.4 var(--f-body); color: var(--ink); background: var(--bg);
  border: 1px solid transparent; border-radius: 12px; padding: 13px 14px; min-height: 48px;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #9AA0AA; }
.field input:hover, .field textarea:hover { border-color: #D9DDE2; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11,20,35,.08); }
.field.has-error input, .field input.is-bad { border-color: var(--accent); background: #fff; }
.field input.is-ok { border-color: #1E7A4C; background: #fff; }
.field-error { font-size: 13px; color: #B3261E; font-weight: 500; }
.field-ok { font-size: 13px; color: #1E7A4C; font-weight: 500; }
.types .field-error { margin-top: 4px; }

.form-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 6px; }
.form-error-box { width: 100%; background: var(--accent-soft); color: #8F2E22; border-radius: 12px; padding: 12px 16px; font-size: 15px; font-weight: 500; }
.note { font-size: 14px; color: var(--muted-2); }
.note a { color: var(--ink); }

.confirm { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: 12px 0; }
.confirm .mark { width: 56px; height: 56px; border-radius: 50%; background: #E3F2EA; color: #1E7A4C; display: flex; align-items: center; justify-content: center; }
.confirm h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.1; }
.confirm p { color: var(--muted); }

@media (max-width: 960px) {
  .vb-grid { grid-template-columns: 1fr; gap: 36px; }
  .vb-intro { position: static; }
  .vb-contact { display: none; } /* sími og netfang eru undir forminu og í fæti */
}
@media (max-width: 860px) {
  .site-header .nav-cta { display: none; }
  .vb-main { padding: 32px 0 72px; }
}
@media (max-width: 560px) {
  .vb-card { padding: 24px 18px; border-radius: 22px; }
  .field-grid { grid-template-columns: 1fr; }
  .request-form .btn-lg { width: 100%; }
  .vb-steps { gap: 8px; }
}
