.ihk-form-wrap {
  --ihk-bg: #ffffff;
  --ihk-ink: #123347;
  --ihk-muted: #617b8b;
  --ihk-line: #d8e2e9;
  --ihk-line-strong: #b7c8d3;
  --ihk-blue: #1398df;
  --ihk-blue-dark: #0a3a51;
  --ihk-pink: #e243b8;
  --ihk-pink-soft: #fde8f7;
  --ihk-top: #08364b;
  --ihk-top-2: #072e41;
  color: var(--ihk-ink);
  background: var(--ihk-bg);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}

.ihk-form-wrap * { box-sizing: border-box; }
.ihk-hero h1, .ihk-form-wrap h2, .ihk-form-wrap h3, .ihk-form-wrap legend, .ihk-form-wrap .ihk-kicker {
  font-family: "Barlow Condensed", "Segoe UI", sans-serif;
}

.ihk-hero { margin-bottom: 24px; }
.ihk-kicker { margin: 0; color: var(--ihk-pink); text-transform: uppercase; letter-spacing: .07em; font-weight: 700; font-size: 1.12rem; }
.ihk-hero h1 { margin: 8px 0 0; color: var(--ihk-blue); font-size: clamp(2.4rem, 7vw, 5rem); line-height: .9; font-weight: 800; }
.ihk-lead { margin: 14px 0 0; max-width: 760px; color: var(--ihk-blue-dark); font-size: clamp(1.1rem, 2vw, 1.7rem); line-height: 1.2; font-weight: 600; }

.ihk-grid { display: grid; grid-template-columns: 290px 1fr; gap: 18px; }
.ihk-mini-panel,
.ihk-form {
  background: #fff;
  border: 1px solid var(--ihk-line);
  box-shadow: 0 20px 52px rgba(8, 42, 61, 0.08);
}

.ihk-mini-panel { align-self: start; position: sticky; top: 80px; padding: 18px; }
.ihk-mini-panel h2 { margin: 0; color: var(--ihk-blue); font-size: 2rem; line-height: 1; }
.ihk-mini-panel p { margin: 8px 0 14px; color: #39576a; font-size: 1.05rem; }
.ihk-mini-panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ihk-mini-panel li { display: flex; align-items: center; gap: 9px; color: #244a62; font-size: 1.25rem; font-weight: 600; }
.ihk-mini-panel li span {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--ihk-blue), #45b5eb);
}

.ihk-state-box {
  margin-top: 14px;
  padding: 10px;
  border: 1px solid #e7edf2;
  background: linear-gradient(180deg, #fbfdff, #f6fbff);
  display: grid;
  gap: 6px;
}
.ihk-state-box strong { font-size: 1.45rem; font-weight: 700; color: #254c63; line-height: 1; }

.ihk-form {
  padding: 16px;
  border-top: 4px solid var(--ihk-pink);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.ihk-form .full { grid-column: 1 / -1; }

.ihk-section-head { display: flex; align-items: center; padding-bottom: 8px; border-bottom: 1px solid #e7eef3; }
.ihk-section-head h3 { margin: 0; color: #0f3e57; font-size: 1.8rem; line-height: 1; font-weight: 700; }

.ihk-choice {
  border: 1px solid var(--ihk-line);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.ihk-choice legend { padding: 0 6px; color: #305266; font-weight: 700; font-size: 1.3rem; }
.ihk-choice label { display: inline-flex; align-items: center; gap: 7px; color: #214b63; font-weight: 600; font-size: 1.2rem; }
.ihk-choice input[type="radio"] { accent-color: var(--ihk-pink); width: 16px; height: 16px; }

.ihk-dyn {
  border: 1px solid #e7edf2;
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  display: grid;
  gap: 12px;
}

.ihk-grid-2, .ihk-grid-3, .ihk-grid-4 { display: grid; gap: 12px; }
.ihk-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ihk-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ihk-grid-4 { grid-template-columns: 2fr 1.35fr 1fr 1.65fr; }

.ihk-field {
  display: grid;
  gap: 7px;
  color: #35576b;
  font-weight: 600;
  font-size: 1.2rem;
  font-family: "Barlow Condensed", "Segoe UI", sans-serif;
}

.ihk-form input:not([type="checkbox"]):not([type="radio"]),
.ihk-form select,
.ihk-form textarea {
  width: 100%;
  border: 1.5px solid var(--ihk-line-strong) !important;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #fbfdff) !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  padding: 12px 14px;
  min-height: 50px;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

.ihk-form input:not([type="checkbox"]):not([type="radio"])::placeholder,
.ihk-form textarea::placeholder {
  color: #666 !important;
  opacity: 1;
}

.ihk-form textarea { resize: vertical; }
.ihk-form textarea { min-height: 120px; }

.ihk-form input:required:not([type="checkbox"]):not([type="radio"]),
.ihk-form select:required,
.ihk-form textarea:required {
  border-color: #f2b24a !important;
  box-shadow: inset 3px 0 0 #f2b24a;
}

.ihk-form input:required:not([type="checkbox"]):not([type="radio"]):invalid,
.ihk-form select:required:invalid,
.ihk-form textarea:required:invalid {
  border-color: #d54b4b !important;
  box-shadow: inset 3px 0 0 #d54b4b;
}

.ihk-form input:required:not([type="checkbox"]):not([type="radio"]):valid,
.ihk-form select:required:valid,
.ihk-form textarea:required:valid {
  border-color: #239a59 !important;
  box-shadow: inset 3px 0 0 #239a59;
}

.ihk-form select {
  padding-right: 36px;
  background-clip: padding-box;
}

.ihk-form option {
  color: #000;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.4;
}

.ihk-note {
  margin: 4px 0;
  padding: 10px 12px;
  border-left: 4px solid var(--ihk-pink);
  background: var(--ihk-pink-soft);
  color: #6b4a63;
}

.ihk-uploads { display: grid; grid-template-columns: 1fr; gap: 10px; }
[data-upload-fields] { display: grid; gap: 10px; }
.ihk-upload-item {
  display: grid;
  gap: 7px;
  border: 1px dashed var(--ihk-upload-highlight);
  border-radius: 10px;
  background: #f8fcff;
  padding: 10px;
  box-shadow: inset 3px 0 0 var(--ihk-upload-highlight);
}
.ihk-upload-item span { color: #325266; font-weight: 600; font-size: 1.2rem; font-family: "Barlow Condensed", "Segoe UI", sans-serif; }

.ihk-btn-secondary {
  border: 1px solid var(--ihk-line-strong);
  border-radius: 8px;
  background: #fff;
  color: #0f3e57;
  font: 700 1rem/1 "Barlow Condensed", "Segoe UI", sans-serif;
  padding: 10px 14px;
  cursor: pointer;
}

.ihk-btn-secondary:focus,
.ihk-btn-secondary:focus-visible {
  outline: none;
  border-color: var(--ihk-upload-highlight);
  box-shadow: 0 0 0 2px var(--ihk-upload-highlight);
}

.ihk-consent { display: flex; align-items: flex-start; gap: 9px; color: #355367; font-size: 1.05rem; }
.ihk-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ihk-pink); }

.ihk-hp {
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.ihk-security-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #244a62;
  font-weight: 600;
  font-size: 1rem;
}

.ihk-security-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--ihk-pink);
}

.ihk-end { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ihk-end p { margin: 0; color: #4f6d7e; }

.ihk-submit {
  border: none;
  border-radius: 10px;
  padding: 12px 32px;
  color: #fff;
  font: 700 1.55rem/1 "Barlow Condensed", "Segoe UI", sans-serif;
  background: linear-gradient(135deg, var(--ihk-blue), #42b4eb 58%, var(--ihk-pink));
  box-shadow: 0 12px 24px rgba(48, 115, 165, 0.35);
  cursor: pointer;
}

.ihk-response { font-weight: 600; }
.ihk-response.is-ok { color: #0c6c35; }
.ihk-response.is-error { color: #b31212; }
.ihk-hidden { display: none !important; }

@media (max-width: 1180px) {
  .ihk-grid { grid-template-columns: 1fr; }
  .ihk-mini-panel { position: static; }
}

@media (max-width: 900px) {
  .ihk-grid-3, .ihk-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .ihk-form, .ihk-grid-2, .ihk-grid-3, .ihk-grid-4 { grid-template-columns: 1fr; }
  .ihk-end { flex-direction: column; align-items: flex-start; }
}
