/* Cabecera en dos columnas */
.cox-main {
  position: relative;
  padding: 64px 0 96px;
  background:
    radial-gradient(42% 60% at 78% 18%, rgb(109 74 255 / 14%) 0, transparent 70%),
    radial-gradient(36% 50% at 96% 88%, rgb(251 43 125 / 10%) 0, transparent 70%),
    linear-gradient(180deg, #f5f6ff 0%, #fff 100%);
}
.cox-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  grid-template-areas: "copy card" "aside card";
  grid-template-rows: auto 1fr;
  column-gap: 72px;
  align-items: start;
}
.cox-copy { grid-area: copy; }
.cox-aside { grid-area: aside; }
.cox-card { grid-area: card; }
.cox-k {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #6D4AFF;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cox-k::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3dd68c; box-shadow: 0 0 0 4px rgb(61 214 140 / 20%); }
.cox-copy h1 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -1.6px;
}
.cox-copy h1 em { display: block; font-style: normal; color: #FB2B7D; }
.cox-lead { max-width: 50ch; margin: 18px 0 0; color: #4b5372; font-size: 18px; line-height: 1.55; }
.cox-sub { margin: 40px 0 14px; color: #070d38; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.cox-steps { position: relative; display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: cox; }
.cox-steps::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; background: #e4e1fb; }
.cox-steps li { position: relative; display: grid; gap: 3px; padding-left: 50px; counter-increment: cox; }
.cox-steps li::before {
  content: counter(cox);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #6D4AFF;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgb(109 74 255 / 28%);
}
.cox-steps b { color: #070d38; font-size: 16.5px; }
.cox-steps span { color: #5b6280; font-size: 15px; line-height: 1.5; }

.cox-app {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding: 18px 18px 18px 16px;
  border: 1px solid #e6e8f1;
  border-radius: 18px;
  background: #fff;
}
.cox-app img { border-radius: 11px; }
.cox-app b { display: block; color: #070d38; font-size: 16px; }
.cox-app p { margin: 3px 0 0; color: #4b5372; font-size: 14.5px; line-height: 1.45; }
.cox-app small { display: block; margin-top: 6px; color: #8a90a6; font-size: 12.5px; }
.cox-app__go {
  padding: 10px 16px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease;
}
.cox-app__go:hover { background: #1d2558; }
.cox-mail { margin: 22px 0 0; color: #5b6280; font-size: 15px; }
.cox-mail a { color: #070d38; font-weight: 800; text-decoration: none; border-bottom: 2px solid #ffc2da; }
.cox-mail a:hover { border-color: #FB2B7D; }

/* Tarjeta del formulario */
.cox-card {
  position: relative;
  padding: 34px 34px 30px;
  border: 1px solid #e9ebf4;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 2px 0 #eef0f7, 0 40px 80px rgb(16 24 64 / 12%);
}
.cox-card::before {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  top: -1px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #6D4AFF, #FB2B7D);
}
.cox-card__h h2 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.5px; color: #070d38; }
.cox-card__h p { margin: 6px 0 0; color: #6b7190; font-size: 14px; }
.cox-form { display: grid; gap: 16px; margin-top: 24px; }
.cox-form[hidden] { display: none; }
.cox-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cox-f { display: grid; gap: 7px; }
.cox-f > span { color: #1f2547; font-size: 13.5px; font-weight: 800; }
.cox-f.is-req > span::after { content: " *"; color: #FB2B7D; }
.cox-f input,
.cox-f select,
.cox-f textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1.5px solid #e1e4ef;
  border-radius: 12px;
  background: #fafbfe;
  color: #070d38;
  font: inherit;
  font-size: 15.5px;
  line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.cox-f input::placeholder,
.cox-f textarea::placeholder { color: #a3a8bd; }
.cox-f input:hover,
.cox-f select:hover,
.cox-f textarea:hover { border-color: #cdd2e4; }
.cox-f input:focus,
.cox-f select:focus,
.cox-f textarea:focus { outline: none; border-color: #6D4AFF; background: #fff; box-shadow: 0 0 0 4px rgb(109 74 255 / 14%); }
.cox-f select {
  padding-right: 42px;
  appearance: none;
  background: #fafbfe url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%236b7190' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M4 6l4 4 4-4'/></svg>") right 14px center / 16px no-repeat;
  cursor: pointer;
}
.cox-f select:focus { background-color: #fff; }
.cox-f textarea { min-height: 132px; resize: vertical; }
.cox-send {
  margin-top: 4px;
  padding: 15px 20px;
  border: 0;
  border-radius: 14px;
  background: #FB2B7D;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 26px rgb(251 43 125 / 28%);
  transition: background .2s ease, transform .2s ease;
}
.cox-send:hover { background: #e91f6f; transform: translateY(-1px); }
.cox-send:focus-visible { outline: 3px solid rgb(251 43 125 / 35%); outline-offset: 2px; }
.cox-fine { margin: 0; color: #8a90a6; font-size: 12.5px; text-align: center; }
.cox-ok {
  margin: 24px 0 0;
  padding: 64px 22px 22px;
  border-radius: 18px;
  background: #effaf3 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'><circle cx='20' cy='20' r='20' fill='%2316a34a'/><path d='M12 20.5l5.4 5L28 14.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center 18px / 36px no-repeat;
  color: #14532d;
  font-size: 16px;
  line-height: 1.55;
  text-align: center;
}
.cox-ok[hidden] { display: none; }

/* FAQ */
.cox-faq { padding-top: 24px; }
.cox-more { margin: 28px 0 0; text-align: center; }
.cox-more a { color: #6D4AFF; font-size: 15.5px; font-weight: 800; text-decoration: none; }
.cox-more a::after { content: " →"; }
.cox-more a:hover { text-decoration: underline; }

@media (max-width: 1080px) {
  .cox-grid { column-gap: 44px; }
  .cox-app { grid-template-columns: auto minmax(0, 1fr); }
  .cox-app__go { grid-column: 1 / -1; text-align: center; }
}
@media (max-width: 899px) {
  .cox-main { padding: 40px 0 64px; }
  .cox-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "card" "aside"; grid-template-rows: auto; row-gap: 32px; }
  .cox-card { max-width: 620px; }
  .cox-sub { margin-top: 8px; }
}
@media (max-width: 560px) {
  .cox-lead { font-size: 16.5px; }
  .cox-card { padding: 26px 18px 22px; border-radius: 22px; }
  .cox-card::before { left: 18px; right: 18px; }
  .cox-pair { grid-template-columns: minmax(0, 1fr); }
  .cox-app { padding: 16px; }
}
