
/* =========================================================================
   enquiry.css - the three-step enquiry form.

   Loaded ONLY by index.html and cybersecurity/index.html, the two pages that
   have the form. Kept out of site.css so the three utility pages do not
   download ~430 lines of CSS for a component they do not render.

   Extracted 2026-08-28 (review finding U1). 54 of the 61 rules the two pages
   shared were identical and live here; the seven that had drifted stay inline
   on each page - see the commit for what differs.

   PATHS: relative url() resolves against THIS FILE, so `images/x.jpg` means
   assets/images/x.jpg. Note that url() inside a CUSTOM PROPERTY does not - it
   resolves against the document - which is why --btn-art in site.css is
   root-relative.
   ========================================================================= */

.enq-glow {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: min(1080px, 94%);
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 50%,
      rgba(4, 198, 200, .30), rgba(4, 198, 200, .10) 48%, rgba(4, 198, 200, 0) 72%);
  filter: blur(44px)
}

.enq-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 980px;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  /* same glass treatment as the hero card - inset ring rather than a border,
     so the 268px side column and the grid do not shift */
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .85),
    inset 0 2px 1px -1px rgba(255, 255, 255, 1),
    inset 0 16px 26px -18px rgba(255, 255, 255, .95),
    inset 0 -2px 1px -1px rgba(10, 22, 51, .10),
    inset 0 -20px 28px -22px rgba(10, 22, 51, .12),
    0 3px 10px rgba(10, 22, 51, .07),
    0 14px 32px rgba(10, 22, 51, .11),
    0 38px 78px rgba(10, 22, 51, .17)
}

.enq-progress {
  height: 3px;
  background: var(--line)
}

.enq-progress i {
  display: block;
  height: 100%;
  width: 33.33%;
  background: var(--blue);
  transition: width .45s cubic-bezier(.3, .7, .4, 1)
}

.enq-body {
  display: grid;
  grid-template-columns: 268px 1fr
}

.enq-side {
  padding: 34px 30px;
  border-right: 1px solid var(--line);
  background: var(--mist)
}

.enq-eyebrow {
  font-family: var(--font-slab);
  font-weight: 400;
  font-size: 0.612rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  display: block;
  margin-bottom: 26px
}

.enq-steps {
  list-style: none;
  margin: 0;
  padding: 0
}

.enq-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 26px
}

.enq-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 30px;
  bottom: 4px;
  width: 2px;
  background: var(--line)
}

.enq-step.is-done:not(:last-child)::before {
  background: var(--blue-sky)
}

.enq-badge {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--faint);
  /* numerals are Inter site-wide - RULES.md */
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 0.76rem;
  font-weight: 600;
  transition: background .3s ease, border-color .3s ease, color .3s ease
}

.enq-step.is-current .enq-badge {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white)
}

.enq-step.is-done .enq-badge {
  background: var(--blue-pale);
  border-color: var(--blue-sky);
  color: var(--blue-deep)
}

.enq-badge b {
  font-weight: 600
}

.enq-step.is-done .enq-badge b {
  opacity: 0;
  transform: scale(.5)
}

.enq-step.is-done .enq-badge svg {
  opacity: 1;
  transform: none
}

.enq-step-label {
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--faint);
  padding-top: 5px;
  transition: color .3s ease
}

.enq-step.is-current .enq-step-label {
  color: var(--ink);
  font-weight: 600
}

.enq-step.is-done .enq-step-label {
  color: var(--slate)
}

.enq-pct {
  margin: 6px 0 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--slate)
}

.enq-main {
  display: grid;
  padding: 34px 36px 30px;
  transition: height .42s cubic-bezier(.3, .7, .4, 1)
}

.enq-panel.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition: opacity .34s ease .28s, transform .34s cubic-bezier(.3, .7, .4, 1) .28s
}

.enq-panel h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.42rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0
}

.enq-lede {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--slate);
  margin: 8px 0 18px
}

.enq-rule {
  height: 1px;
  background: var(--line);
  margin-bottom: 22px
}

.enq-opt:hover {
  border-color: var(--blue-sky);
  background: var(--mist)
}

.enq-opt input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0
}

.enq-opt input:checked ~ .enq-dot {
  border-color: var(--blue)
}

.enq-opt input:checked ~ .enq-dot::after {
  opacity: 1;
  transform: none
}

.enq-opt:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-pale)
}

.enq-opt input:focus-visible ~ .enq-dot {
  box-shadow: 0 0 0 3px rgba(31, 58, 125, .3)
}

.enq-fields {
  display: grid;
  gap: 14px;
  margin-bottom: 24px
}

.enq-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.enq-field label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: var(--slate);
  margin-bottom: 6px
}

.enq-field select option {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums
}

.enq-field textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 58, 125, .18)
}

.enq-err {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--blue-deep);
  min-height: 1.1em;
  margin: 0 0 12px
}

.enq-btn:disabled {
  opacity: .6;
  cursor: default
}

.enq-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 14px;
  padding: 13px 15px;
  border-radius: 14px;
  background: var(--warn-bg);
  box-shadow: inset 0 0 0 1.5px var(--warn-ink)
}

.enq-alert[hidden] {
  display: none
}

.enq-alert-mark {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 1px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--warn-ink)
}

.enq-alert-mark svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--warn-ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round
}

.enq-alert strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--warn-ink)
}

.enq-alert p {
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--warn-ink);
  margin: 3px 0 0
}

.enq-alert a {
  color: var(--warn-ink);
  text-decoration: underline;
  text-underline-offset: 2px
}

.enq-nav {
  display: flex;
  align-items: center;
  gap: 12px
}

.enq-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  border: 0;
  border-radius: 14px;
  padding: 12px 24px;
  cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease, color .2s ease
}

.enq-btn.primary:hover {
  background: linear-gradient(rgba(10, 22, 51, .45), rgba(10, 22, 51, .45)), var(--btn-art), var(--blue-deep)
}

.enq-btn.ghost {
  background: transparent;
  color: var(--slate);
  border: 1px solid var(--line)
}

.enq-btn.ghost:hover {
  color: var(--ink);
  border-color: var(--blue-sky)
}

.enq-btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(31, 58, 125, .35)
}

.enq-hint {
  font-family: var(--font-body);
  font-size: 0.74rem;
  color: var(--faint);
  margin: 14px 0 0
}

.enq-done-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px
}

.enq-done-mark svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--blue-deep);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round
}

@media (prefers-reduced-motion:reduce) {
  .enq-panel,
  .enq-progress i,
  .enq-badge,
  .enq-badge b,
  .enq-badge svg { transition: none }
}

.enq-opt input:checked~.enq-dot {
  border-color: var(--blue);
  background: var(--blue)
}

.enq-opt input:checked~.enq-dot::after {
  opacity: 1;
  transform: rotate(45deg) scale(1)
}

.enq-opt input:focus-visible~.enq-dot {
  box-shadow: 0 0 0 3px rgba(31, 58, 125, .3)
}
