/* Contact — denvercommercialfloors.homes · den94 · split-right + timeline phone */

.den94-contact-page {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  min-width: 0;
  padding: clamp(2rem, 4.5vw, 3.4rem) 0 clamp(2.6rem, 6vw, 4rem);
}

.den94-contact-page .den94-kicker {
  margin: 0;
  color: var(--den94-accent-2);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.den94-contact-page h1,
.den94-contact-page h2 {
  margin: 0;
  text-wrap: balance;
}

.den94-contact-page p,
.den94-contact-page em {
  margin: 0;
  text-wrap: pretty;
}

.den94-ct-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.4rem, 3.2vw, 2.6rem);
  align-items: start;
}

/* DNA split-right: booking order -1 → left column */
.dna-contact-split-right .den94-ct-shell,
.dna-contact-stacked-booking-first .den94-ct-shell {
  grid-template-columns: minmax(0, 22.5rem) minmax(0, 1fr);
}

.den94-ct-info,
.den94-ct-book {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0.95rem;
  min-width: 0;
  text-align: left;
}

.den94-ct-info {
  padding: clamp(1.2rem, 2.5vw, 1.7rem);
  border: 1px solid var(--den94-line);
  border-left: 3px solid var(--den94-accent);
  background: var(--den94-surface);
}

.den94-ct-info h1 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.12;
  max-width: 16ch;
}

.den94-ct-lead {
  color: var(--den94-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 42ch;
}

.den94-ct-offices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  width: 100%;
  margin-top: 0.25rem;
}

.den94-ct-office {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 0.35rem;
  align-content: start;
  min-width: 0;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--den94-line);
  background: var(--den94-surface-2);
}

.den94-ct-lbl {
  color: var(--den94-accent-2);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.den94-ct-office h2 {
  font-size: 1.05rem;
  line-height: 1.2;
}

.den94-ct-addr {
  color: var(--den94-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.den94-ct-facts {
  display: grid;
  gap: 0.7rem;
  width: 100%;
  margin: 0.35rem 0 0;
  padding: 0;
}

.den94-ct-facts > div {
  display: grid;
  gap: 0.2rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--den94-line);
}

.den94-ct-facts dt {
  margin: 0;
  color: var(--den94-accent-2);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.den94-ct-facts dd {
  margin: 0;
  color: var(--den94-ink);
  font-size: 0.95rem;
  line-height: 1.45;
}

.den94-ct-facts a {
  color: var(--den94-ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.den94-ct-facts a:hover {
  color: var(--den94-accent-2);
}

/* Booking column — timeline + one phone field */
.den94-ct-book {
  padding: clamp(1.2rem, 2.5vw, 1.7rem);
  border: 1px solid var(--den94-line);
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--den94-accent) 10%, transparent), transparent 42%),
    var(--den94-surface);
}

.den94-ct-book h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.15;
  max-width: 14ch;
}

.den94-ct-book-lead {
  color: var(--den94-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 36ch;
}

.den94-ct-timeline {
  position: relative;
  display: grid;
  gap: 0.85rem;
  width: 100%;
  margin: 0.35rem 0 0.2rem;
  padding: 0 0 0 0.15rem;
  list-style: none;
}

.den94-ct-timeline::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 0.55rem;
  bottom: 0.55rem;
  width: 1px;
  background: var(--den94-line);
}

.den94-ct-timeline > li {
  position: relative;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.den94-ct-tl-n {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid var(--den94-line);
  background: var(--den94-surface-2);
  color: var(--den94-accent-2);
  font: 700 0.72rem/1 var(--den94-body);
}

.den94-ct-tl-copy {
  display: grid;
  gap: 0.2rem;
  padding-top: 0.2rem;
}

.den94-ct-tl-copy strong {
  color: var(--den94-ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.den94-ct-tl-copy em {
  color: var(--den94-muted);
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.5;
}

.den94-ct-tl-copy a {
  color: var(--den94-ink);
  font-weight: 700;
  text-decoration: none;
}

.den94-ct-tl-copy a:hover {
  color: var(--den94-accent-2);
}

.den94-ct-form {
  display: grid;
  gap: 0.85rem;
  width: 100%;
  margin-top: 0.35rem;
}

.den94-ct-form.is-done .den94-ct-field,
.den94-ct-form.is-done .den94-cta,
.den94-ct-form.is-done .den94-ct-error {
  display: none;
}

.den94-ct-field {
  display: grid;
  gap: 0.4rem;
  width: 100%;
}

.den94-ct-field label {
  color: var(--den94-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.den94-ct-field input[type="tel"] {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--den94-line);
  background: var(--den94-bg);
  color: var(--den94-ink);
  font: 500 1rem/1.3 var(--den94-body);
}

.den94-ct-field input[type="tel"]::placeholder {
  color: color-mix(in srgb, var(--den94-muted) 70%, transparent);
}

.den94-ct-field input[type="tel"]:focus {
  outline: 2px solid var(--den94-accent-2);
  outline-offset: 2px;
}

.den94-ct-field input[type="tel"].is-invalid {
  border-color: #c46b5a;
}

.den94-ct-form .den94-cta {
  justify-self: start;
  cursor: pointer;
}

.den94-ct-error {
  color: #e8a090;
  font-size: 0.9rem;
  line-height: 1.45;
}

.den94-ct-success {
  color: var(--den94-ink);
  font-family: var(--den94-display);
  font-size: 1.15rem;
  line-height: 1.45;
  max-width: 28ch;
}

@media (max-width: 900px) {
  .den94-ct-shell,
  .dna-contact-split-right .den94-ct-shell,
  .dna-contact-stacked-booking-first .den94-ct-shell {
    grid-template-columns: 1fr;
  }

  .den94-ct-offices {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .den94-contact-page {
    padding-top: 1.5rem;
  }

  .den94-ct-info,
  .den94-ct-book {
    padding: 1rem;
  }

  .den94-ct-timeline::before {
    left: 0.85rem;
  }
}
