/* =========================================================================
   IRVx Softlabs : for-clients.css
   Build With IRVx: the starting-points card that overlaps the hero, the
   form section, and the short form itself (three fields, one button, done).
   Loaded after inner.css. Navy, white and blue. Flat colour only.
   ========================================================================= */

/* ----------------------------------------------------- Hero with overlap */
.inner .build-hero { padding-bottom: calc(120px + 4rem); }
@media (max-width: 575.98px) { .inner .build-hero { padding-bottom: calc(72px + 3rem); } }

/* ------------------------------------------------- Starting points card */
.start { position: relative; z-index: 2; margin-top: -120px; }
.start__card {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem 3rem; align-items: center;
  background: var(--ink); color: var(--white);
  border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
  padding: clamp(1.6rem, 3vw, 2.6rem);
}
.start__head .label { margin-bottom: .7rem; }
.start__head h2 { color: var(--white); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); margin: 0 0 .5rem; }
.start__head p { color: var(--on-dark); font-size: .95rem; margin: 0; }
.start__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.start__chip {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1.1rem .7rem .95rem; border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, .28); color: var(--white);
  font-family: var(--display); font-weight: 700; font-size: .98rem; letter-spacing: -.01em;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.start__chip svg { color: var(--blue-on-dark); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.start__chip:hover, .start__chip.is-active { background: var(--white); border-color: var(--white); color: var(--ink); }
.start__chip:hover svg, .start__chip.is-active svg { color: var(--blue); transform: translateX(3px); }
.start__chip:focus-visible { outline-color: var(--white); }
@media (max-width: 575.98px) {
  .start { margin-top: -72px; }
  /* Phones: the starting points as full-width rows, every one a comfortable tap */
  .start__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .start__chip { width: 100%; min-height: 50px; border-radius: 14px; }
}
@media (max-width: 991.98px) { .start__card { grid-template-columns: 1fr; gap: 1.25rem; } }

/* ------------------------------------------------------------ Intake grid */
.build { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 3rem 5rem; align-items: start; }
.build__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.build__next { list-style: none; margin: 2.2rem 0 0; padding: 0; counter-reset: n; display: grid; gap: .9rem; }
.build__next li { counter-increment: n; display: grid; grid-template-columns: 2.1rem minmax(0, 1fr); gap: .1rem .9rem; align-items: baseline; }
.build__next li::before { content: "0" counter(n); grid-row: span 2; font-family: var(--display); font-weight: 800; font-size: .8rem; color: var(--blue); letter-spacing: .06em; }
.build__next b { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.02rem; letter-spacing: -.01em; }
.build__next span { color: var(--muted); font-size: .92rem; }
@media (max-width: 991.98px) { .build { grid-template-columns: 1fr; gap: 2rem; } .build__aside { position: static; } }

/* -------------------------------------------------------------- The form */
/* One card: name and email side by side (stacked on phones), one box for the note, one
   button. Every field is required, so there are no asterisks to explain. */
.intake { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.3rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.intake__fields { display: grid; gap: 1.15rem; }
.intake .field label { font-family: var(--display); font-weight: 700; font-size: .98rem; color: var(--ink); }
.intake .field input, .intake .field textarea { font-size: 1rem; padding: .85rem 1rem; }   /* 16px: no zoom on focus in iOS */
.intake .field textarea { min-height: 140px; line-height: 1.55; }
.intake .field textarea::placeholder { color: var(--muted); opacity: .85; }
.intake.is-enhanced .field textarea { resize: none; overflow: hidden; }   /* the script grows it */
.field__error { display: none; font-size: .84rem; color: var(--danger); }
.field.is-invalid .field__error { display: block; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); }

/* "Starting from", once a starting point above the page has been picked */
.intake__from { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin: 0; padding: .35rem .35rem .35rem 1rem; border-radius: 12px; background: var(--blue-050); color: var(--body); font-size: .92rem; }
.intake__from[hidden] { display: none; }
.intake__from b { color: var(--ink); }
.intake__from-clear { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: .9rem; cursor: pointer; }
.intake__from-clear:hover { background: var(--white); }

/* A field no person sees (spam trap), and the message when a note cannot be sent */
.intake__hp { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.intake__alert { margin: 0 0 1.15rem; padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--danger-100); border-left: 3px solid var(--danger); color: var(--danger); font-size: .92rem; line-height: 1.5; }
.intake__alert[hidden] { display: none; }

.intake__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.5rem; margin-top: 1.6rem; }
.intake.is-sending .intake__foot .btn { opacity: .7; cursor: progress; }
.intake__foot .btn { min-height: 50px; padding-inline: 1.7rem; }
.intake__fine { flex: 1 1 14rem; margin: 0; font-size: .82rem; color: var(--muted); }
@media (max-width: 575.98px) {
  .intake__foot .btn { width: 100%; }   /* phones: one full-width button under the note */
}

/* Done */
.intake__done { text-align: center; padding: 1.5rem 0 .5rem; }
.intake__done:focus { outline: none; }
.intake__done-ic { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 1.8rem; margin-bottom: 1.2rem; }
.intake__done h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); margin: 0 0 .5rem; }
.intake__done p { color: var(--body); font-size: 1.05rem; max-width: 34rem; margin: 0 auto; }
.intake__done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.6rem; }
.intake.is-done .intake__fields, .intake.is-done .intake__foot { display: none; }

/* ------------------------------------------------------------- Reach us */
.reach small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-on-dark); margin-bottom: .4rem; }
.reach__address { margin: 2rem 0 0; font-size: .92rem; color: var(--on-dark-muted); max-width: 44rem; }
