:root {
  --eset-teal: #12939c;
  --eset-teal-dark: #0e7981;
  --eset-navy: #1e2530;
  --text: #26292c;
  --gray: #6b7075;
  --border: #d8dcdf;
  --bg: #ffffff;
  --error: #c0392b;
  --radius: 4px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.hc-header {
  border-bottom: 1px solid var(--border);
}
.hc-header__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 24px;
}
.hc-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.hc-logo__img {
  height: 40px;
  width: auto;
  max-width: 160px;
  display: block;
}
.hc-logo__label {
  color: var(--eset-teal);
  font-size: 15px;
}

.hc-breadcrumb {
  max-width: 760px;
  margin: 14px auto 0;
  padding: 0 24px;
  font-size: 13px;
}
.hc-breadcrumb a {
  color: var(--eset-teal);
  text-decoration: none;
}
.hc-breadcrumb a:hover { text-decoration: underline; }
.hc-breadcrumb__sep {
  margin: 0 6px;
  color: var(--gray);
}
.hc-breadcrumb span:last-child { color: var(--gray); }

.hc-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 24px 100px;
}

h1 {
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 700;
  color: var(--eset-navy);
}

.hc-required-note {
  margin: 0 0 28px;
  font-size: 14px;
  color: var(--text);
}

.hc-field { margin-bottom: 24px; }

.hc-dept-fields[hidden],
.hc-common-fields[hidden] { display: none; }

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.req { color: var(--error); }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7075'%3E%3Cpath d='M5.5 7.5l4.5 4.5 4.5-4.5' stroke='%236b7075' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--eset-teal);
  box-shadow: 0 0 0 3px rgba(18, 147, 156, 0.15);
}
textarea { resize: vertical; }

.hc-help {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
}
.hc-help--small { margin: 8px 0 0; }

.hc-field--consent { margin-top: 8px; }
.hc-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.hc-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.hc-legal {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--gray);
  line-height: 1.6;
}

.hc-field--actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
#submit-btn {
  background: var(--eset-teal);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
#submit-btn:hover { background: var(--eset-teal-dark); }
#submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

#form-status { font-size: 13px; }
#form-status.ok { color: var(--eset-teal-dark); }
#form-status.error { color: var(--error); }

.field-error { border-color: var(--error) !important; }
