/* ==========================================================================
   Calinoff Connection (calinoff-connection.php), rebuilt 12 October 2026.

   The approved pieces, arranged for a move: the home page's photo-led
   opening with the service name in her signature face, the three steps as
   a numbered sequence (it is one), then the one-screen request form and
   the questions from assets/css/valuation.css. Tokens only.
   ========================================================================== */

/* --- Opening ----------------------------------------------------------------- */

.cx-open {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--c-white);
  background: var(--c-slate);
}
.cx-open__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.cx-open__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 20, 32, 0.45) 0%, rgba(1, 20, 32, 0.18) 45%, rgba(1, 20, 32, 0.5) 100%);
}
.cx-open__body {
  position: relative;
  z-index: 1;
  width: min(820px, 100% - (var(--s-gutter) * 2));
  padding: 8rem 0 5rem;
  text-align: center;
}
.cx-open__name {
  margin: 0 0 1.2rem;
  font-family: var(--f-script, var(--f-display));
  font-weight: 400;
  font-size: clamp(3.4rem, 8vw, 6.6rem);
  line-height: 1.12;
  color: var(--c-white);
  text-shadow: 0 2px 40px rgba(1, 20, 32, 0.45);
}
.cx-open__line {
  margin: 0 auto 2.2rem;
  max-width: 40ch;
  font-size: 1.12rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.94);
}
.cx-open__cta { margin: 0; }

/* --- How it works -------------------------------------------------------------- */

.cx-steps { padding: clamp(4rem, 8vw, 6.5rem) 0; background: var(--c-paper); }
.cx-steps .wrap { width: min(1180px, 100% - (var(--s-gutter) * 2)); margin-inline: auto; }
.cx-steps__title {
  margin: 0 0 clamp(2.4rem, 5vw, 3.6rem);
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  text-align: center;
  color: var(--c-ink);
}
.cx-steps__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: cx;
}
.cx-steps__list li { counter-increment: cx; border-top: 1px solid var(--c-ink); padding-top: 1.4rem; }
.cx-steps__list li::before {
  content: counter(cx);
  display: block;
  margin-bottom: 0.8rem;
  font-family: var(--f-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--c-accent);
}
.cx-steps__list h3 {
  margin: 0 0 0.7rem;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.45rem;
  color: var(--c-ink);
}
.cx-steps__list p { margin: 0; font-size: 0.98rem; line-height: 1.8; color: var(--c-body); }
.cx-steps__for {
  margin: clamp(2.6rem, 5vw, 3.6rem) auto 0;
  max-width: 62ch;
  text-align: center;
  font-family: var(--f-display);
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--c-ink);
}

.cx-basis { margin: 1.8rem 0 0; font-size: 0.9rem; line-height: 1.7; color: var(--c-muted); }
.cx-basis a { color: var(--c-ink); text-underline-offset: 4px; }

@media (max-width: 860px) {
  .cx-steps__list { grid-template-columns: 1fr; }
}
