/* --------------------------------------------------------------------------
 * Společný poptávkový formulář PVM
 * -------------------------------------------------------------------------- */
:root {
  --red: #d61620;
  --ink: #171719;
  --muted: #68686d;
  --line: #dedee1;
  --soft: #f3f3f4;
  --white: #fff;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Arial, Helvetica, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}

.form-header {
  min-height: 92px;
  padding: 14px 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.form-logo img {
  display: block;
  width: 128px;
  height: 58px;
  object-fit: contain;
}
.form-header nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 700;
}
.form-header nav a:last-child {
  color: var(--red);
}

.form-page {
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: 56px 0 90px;
}
.form-intro {
  margin-bottom: 34px;
}
.form-intro p {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.form-intro h1 {
  max-width: 780px;
  margin: 0 0 16px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.form-intro span {
  color: var(--muted);
  line-height: 1.6;
}

.inquiry-form {
  padding: clamp(24px, 5vw, 58px);
  background: var(--white);
  border-top: 5px solid var(--red);
}
fieldset {
  margin: 0 0 40px;
  padding: 0;
  border: 0;
}
legend {
  width: 100%;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 900;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #44444a;
  font-size: 13px;
  font-weight: 700;
}
label.wide {
  grid-column: 1 / -1;
}
label small {
  color: var(--muted);
  font-weight: 400;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfcfd3;
  border-radius: 0;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}
input,
select {
  min-height: 46px;
}
textarea {
  resize: vertical;
  line-height: 1.55;
}
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid #d6162020;
  border-color: var(--red);
}
.consent {
  flex-direction: row;
  align-items: flex-start;
  margin: 4px 0 25px;
  line-height: 1.5;
}
.consent input {
  width: 18px;
  min-height: 18px;
  margin: 1px 7px 0 0;
}
.inquiry-form button {
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.inquiry-form button:hover {
  background: #aa1018;
}
.honeypot {
  position: absolute;
  left: -10000px;
}

.form-message {
  padding: 28px;
  margin-bottom: 24px;
  background: #fff;
  border-left: 5px solid var(--red);
}
.form-message.success {
  border-color: #178342;
}
.form-message h2 {
  margin-top: 0;
}
.form-message a {
  color: var(--red);
  font-weight: 800;
}

@media (max-width: 680px) {
  .form-header {
    min-height: 74px;
    padding: 10px 18px;
  }
  .form-logo img {
    width: 92px;
    height: 44px;
  }
  .form-header nav {
    gap: 14px;
    font-size: 11px;
  }
  .form-header nav a:nth-child(2) {
    display: none;
  }
  .form-page {
    padding-top: 38px;
  }
  .form-intro h1 {
    font-size: 38px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  label.wide {
    grid-column: auto;
  }
}
