/* Contact page: reduced layout (form, next steps, direct contact) */

/* Form block: less empty space below the button note */
.cx-form-section { padding-bottom: clamp(48px, 9vh, 96px) !important; }
.cx-lead {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #F2EFE9;
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) { .cx-lead { font-size: 24px; } }
.cx-note {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(242, 239, 233, 0.78);
  max-width: 28rem;
}
.cx-success { text-align: center; max-width: 32rem; margin: 0 auto; padding: 2rem 0 1rem; }
.cx-success h2 { margin-bottom: 1rem; }

/* What happens next */
.cx-section { padding: clamp(56px, 9vh, 96px) 1.5rem; }
.cx-head { max-width: 40rem; margin: 0 auto clamp(32px, 6vh, 56px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.cx-steps { display: grid; grid-template-columns: 1fr; gap: 2.5rem; max-width: 64rem; margin: 0 auto; }
@media (min-width: 768px) { .cx-steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.cx-step { border-top: 1px solid rgba(140, 130, 116, 0.4); padding-top: 1.25rem; }
.cx-step__num { font-size: 10px; letter-spacing: 0.2em; color: #8C8274; }
.cx-step__title { font-family: "Manrope", -apple-system, sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #1E1B16; margin: 0.6rem 0 1rem; }
.cx-step p { font-size: 14px; line-height: 1.8; color: rgba(46, 42, 36, 0.85); }
.cx-step p + p { margin-top: 0.75rem; }

/* Direct contact + portrait */
.cx-direct { display: grid; grid-template-columns: 1fr; gap: 3rem; max-width: 64rem; margin: 0 auto; align-items: center; }
@media (min-width: 768px) { .cx-direct { grid-template-columns: 1.1fr 0.9fr; gap: 5rem; } }
.cx-direct__photo { width: 100%; aspect-ratio: 4 / 5; max-height: 560px; overflow: hidden; }
.cx-direct__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; display: block; }
.cx-label { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: #8C8274; margin-bottom: 0.6rem; }
.cx-link {
  display: inline-block;
  font-size: 15px;
  color: #1E1B16;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(30, 27, 22, 0.35);
  transition: border-color 0.4s ease;
}
.cx-link:hover, .cx-link:focus-visible { border-bottom-color: #1E1B16; }
.cx-block p { font-size: 14px; line-height: 1.8; color: rgba(46, 42, 36, 0.85); max-width: 26rem; margin-bottom: 0.9rem; }
.cx-block + .cx-block { margin-top: 2.25rem; padding-top: 2.25rem; border-top: 1px solid rgba(140, 130, 116, 0.3); }

/* Service select: same typography as the placeholders of the other fields */
select.form-input {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 239, 233, 0.75);
}
select.form-input:valid { color: #F2EFE9; }
select.form-input option { font-size: 14px; letter-spacing: 0; text-transform: none; }

/* Contact (phones): the three steps as a slider */
.cx-steps-nav { display: none; }
@media (max-width: 767px) {
  .cx-steps {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cx-steps::-webkit-scrollbar { display: none; }
  .cx-step {
    flex: 0 0 100%;
    box-sizing: border-box;
    scroll-snap-align: start;
    border-top: 0;
    padding: 0 0.25rem;
    text-align: center;
  }
  .cx-step__num { font-size: 11px; }
  .cx-step__title { margin: 0.8rem 0 1.1rem; }
  .cx-step p { max-width: 30rem; margin-left: auto; margin-right: auto; }
  .cx-steps-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 64rem;
    margin: 2rem auto 0;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(140, 130, 116, 0.4);
  }
  .cx-steps-nav__count {
    font-size: 11px;
    letter-spacing: 0.22em;
    color: #6A645B;
    font-variant-numeric: tabular-nums;
  }
  .cx-steps-nav__btns { display: flex; gap: 0.75rem; }
  .cx-steps-nav button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(74, 80, 64, 0.45);
    border-radius: 50%;
    background: transparent;
    color: #4A5040;
    cursor: pointer;
    transition: opacity 0.25s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .cx-steps-nav button:hover, .cx-steps-nav button:active, .cx-steps-nav button:focus { background: transparent; }
  .cx-steps-nav button:focus-visible { outline: 1px solid #4A5040; outline-offset: 3px; }
  .cx-steps-nav button[disabled] { opacity: 0.3; cursor: default; }
  .cx-steps-nav svg { width: 16px; height: 16px; }
}
