/* CM Pagos — estilos específicos de contacto.html */

.ct-hero {
  position: relative;
  margin-top: -80px;
  padding: 96px 0 60px;
  overflow: hidden;
  background: url('../../img/contacto-back-cmpagos.jpg') center center / cover no-repeat;
}
.ct-hero .container {
  position: relative;
  z-index: 1;
}

.ct-header {
  max-width: 640px;
  margin-bottom: 14px;
}
.ct-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--cm-font);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #0089FB;
  background: #fff;
  border: 1px solid #B8E0FF;
  border-radius: var(--cm-radius-pill);
  padding: 8px 18px;
  margin-bottom: 20px;
}
.ct-title {
  font-family: var(--cm-font);
  font-weight: 700;
  font-size: 44px;
  line-height: 52px;
  color: #0B1B33;
  margin-bottom: 16px;
}
.ct-title-accent {
  color: #0089FB;
}
.ct-subtitle {
  font-family: var(--cm-font);
  font-size: 17px;
  line-height: 26px;
  color: var(--cm-black-100);
  margin: 0;
}

.ct-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: start;
}

/* -------- Formulario -------- */
.ct-form-card {
  background: #fff;
  border: 1px solid var(--cm-sec-400);
  border-radius: var(--cm-radius-lg);
  box-shadow: var(--cm-shadow);
  padding: 28px 32px;
}
.ct-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ct-form-row-phone {
  grid-template-columns: 110px 1fr;
}
.ct-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ct-field label {
  font-family: var(--cm-font);
  font-weight: 600;
  font-size: 13px;
  color: var(--cm-black-200);
}
.ct-field input,
.ct-field select,
.ct-field textarea {
  font-family: var(--cm-font);
  font-size: 14px;
  color: var(--cm-black-200);
  background: var(--cm-sec-200);
  border: 1px solid var(--cm-sec-400);
  border-radius: var(--cm-radius-md);
  padding: 9px 16px;
  width: 100%;
  transition: border-color 150ms ease-out, background-color 150ms ease-out;
}
.ct-field textarea {
  resize: vertical;
  min-height: 64px;
}
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  outline: none;
  border-color: var(--cm-blue-200);
  background: #fff;
}
.ct-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--cm-font);
  font-size: 13px;
  line-height: 20px;
  color: var(--cm-black-100);
  cursor: pointer;
}
.ct-checkbox input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--cm-blue-200);
}
.ct-checkbox a {
  color: var(--cm-blue-200);
  text-decoration: underline;
}
.ct-submit-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ct-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--cm-font);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  background: var(--cm-blue-200);
  border: none;
  border-radius: var(--cm-radius-pill);
  padding: 14px 28px;
  cursor: pointer;
  transition: background-color 150ms ease-out;
  flex-shrink: 0;
}
.ct-submit:hover {
  background: var(--cm-blue-100);
}
.ct-form-note {
  font-family: var(--cm-font);
  font-size: 12px;
  color: var(--cm-sec-500);
  margin: 0;
}

/* -------- Tarjetas laterales -------- */
.ct-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ct-card {
  background: #fff;
  border: 1px solid var(--cm-sec-400);
  border-radius: var(--cm-radius-lg);
  box-shadow: var(--cm-shadow);
  padding: 24px 28px;
}
.ct-card-badge {
  display: inline-flex;
  font-family: var(--cm-font);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cm-blue-200);
  background: var(--cm-chip-wash);
  border-radius: var(--cm-radius-pill);
  padding: 6px 14px;
  margin-bottom: 12px;
}
.ct-card-badge-wa {
  color: #1DA851;
  background: rgba(37, 211, 102, 0.12);
}
.ct-card-title {
  font-family: var(--cm-font);
  font-weight: 700;
  font-size: 19px;
  color: var(--cm-black-200);
  margin-bottom: 6px;
}
.ct-card-desc {
  font-family: var(--cm-font);
  font-size: 14px;
  line-height: 21px;
  color: var(--cm-black-100);
  margin-bottom: 18px;
}
.ct-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--cm-font);
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  background: #25D366;
  border: none;
  border-radius: var(--cm-radius-pill);
  padding: 11px 22px;
  cursor: pointer;
  transition: background-color 150ms ease-out;
}
.ct-wa-btn:hover {
  background: #1DA851;
}
.ct-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--cm-font);
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  background: var(--cm-blue-200);
  border-radius: var(--cm-radius-pill);
  padding: 12px 24px;
  transition: background-color 150ms ease-out;
}
.ct-demo-btn:hover {
  background: var(--cm-blue-100);
  color: #fff;
}

.wa-widget-wrap {
  right: 24px;
  left: auto;
}

@media (max-width: 639.98px) {
  .ct-grid { grid-template-columns: 1fr; }
  .ct-form-card { padding: 28px; }
}
@media (max-width: 767.98px) {
  .ct-hero { padding: 120px 0 56px; }
  .ct-title { font-size: 32px; line-height: 40px; }
}
@media (max-width: 575.98px) {
  .ct-hero { margin-top: -68px; padding: 148px 0 40px; }
  .ct-title { font-size: 26px; line-height: 34px; }
  .ct-form-row { grid-template-columns: 1fr; }
  .ct-form-row-phone { grid-template-columns: 100px 1fr; }
  .ct-form-card { padding: 20px; }
  .ct-card { padding: 22px; }
}
