.onnet-quote,
.onnet-quote * { box-sizing: border-box; }

/* La plantilla de la página limita el contenido a 600 px. En esta landing el
   cuestionario debe ocupar todo el ancho y usar su propio título. */
body.page-id-14954 #content.site-main {
  width: 100%;
  max-width: none;
  padding: 0;
}
body.page-id-14954 #content > .page-header { display: none; }
body.page-id-14954 #content > .page-content { margin: 0; }

.onnet-quote {
  --oq-bg: #0f1113;
  --oq-panel: #17191c;
  --oq-text: #f5f3ef;
  --oq-muted: #aaaeb5;
  --oq-line: rgba(255,255,255,.13);
  --oq-accent: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(540px, 1.1fr);
  gap: clamp(36px, 4.5vw, 68px);
  align-items: start;
  min-height: 78vh;
  padding: clamp(48px, 7vw, 110px) max(24px, calc((100vw - 1180px) / 2));
  color: var(--oq-text);
  background: var(--oq-bg);
  font-family: inherit;
}

.onnet-quote__intro { position: sticky; top: 48px; padding-top: 22px; }
.onnet-quote__eyebrow { margin: 0 0 18px; color: var(--oq-muted); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.onnet-quote__intro h1 { margin: 0 0 22px; max-width: 650px; font-size: clamp(40px, 4.2vw, 60px); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; overflow-wrap: normal; }
.onnet-quote__intro > p:not(.onnet-quote__eyebrow) { max-width: 570px; color: var(--oq-muted); font-size: 18px; line-height: 1.6; }
.onnet-quote__trust { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 30px; color: #d8d8d8; font-size: 13px; }

.onnet-quote__card { position: relative; min-height: 590px; padding: clamp(28px, 4vw, 52px); overflow: hidden; background: var(--oq-panel); border: 1px solid var(--oq-line); border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.onnet-quote__progress { position: absolute; inset: 0 0 auto; height: 3px; background: rgba(255,255,255,.08); }
.onnet-quote__progress span { display: block; width: 25%; height: 100%; background: var(--oq-accent); transition: width .3s ease; }
.onnet-quote__step-label { margin: 0 0 30px; color: var(--oq-muted); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.onnet-quote__step { animation: oq-in .28s ease both; }
.onnet-quote__step h2, .onnet-quote__result h2 { margin: 0 0 26px; color: var(--oq-text); font-size: clamp(28px, 3vw, 42px); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; }
.onnet-quote__hint { margin: -16px 0 22px; color: var(--oq-muted); }
.onnet-quote__conditional-note { margin: 18px 0 4px; padding: 14px 16px; color: var(--oq-muted); background: #101214; border: 1px solid var(--oq-line); border-radius: 8px; font-size: 14px; line-height: 1.45; }
.onnet-quote label { display: block; margin: 20px 0 8px; color: #e6e6e6; font-size: 14px; font-weight: 600; }
.onnet-quote input[type="text"], .onnet-quote input[type="email"], .onnet-quote input[type="tel"], .onnet-quote select, .onnet-quote textarea { width: 100%; min-height: 52px; padding: 13px 15px; color: var(--oq-text); background: #101214; border: 1px solid var(--oq-line); border-radius: 8px; font: inherit; outline: none; }
.onnet-quote textarea { resize: vertical; }
.onnet-quote input:focus, .onnet-quote select:focus, .onnet-quote textarea:focus { border-color: rgba(255,255,255,.6); box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
.onnet-quote__choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.onnet-quote__choices label { display: flex; gap: 12px; align-items: flex-start; min-height: 92px; margin: 0; padding: 16px; cursor: pointer; background: #101214; border: 1px solid var(--oq-line); border-radius: 10px; transition: border-color .2s, transform .2s, background .2s; }
.onnet-quote__choices label:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.35); }
.onnet-quote__choices label:has(input:checked) { color: #111315; background: #fff; border-color: #fff; }
.onnet-quote__choices .onnet-quote__choice--featured { grid-column: 1 / -1; min-height: 80px; border-color: rgba(255,255,255,.35); }
.onnet-quote__choices input { flex: 0 0 auto; margin-top: 3px; accent-color: #111315; }
.onnet-quote__choices span { display: grid; gap: 4px; }
.onnet-quote__choices strong { font-size: 15px; }
.onnet-quote__choices small { color: var(--oq-muted); font-size: 12px; font-weight: 400; line-height: 1.35; }
.onnet-quote__choices label:has(input:checked) small { color: #555; }
.onnet-quote__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.onnet-quote__check, .onnet-quote__consent { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 400 !important; line-height: 1.45; }
.onnet-quote__check input, .onnet-quote__consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: #fff; }
.onnet-quote__consent { margin-top: 24px !important; color: var(--oq-muted) !important; font-size: 12px !important; }
.onnet-quote__consent a { color: #fff; text-decoration: underline; }
.onnet-quote__honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.onnet-quote__actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }
.onnet-quote button, .onnet-quote__contact { min-height: 50px; padding: 13px 20px; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; }
.onnet-quote__next, .onnet-quote__submit, .onnet-quote__contact { margin-left: auto; color: #111315; background: #fff; border: 1px solid #fff; }
.onnet-quote__back, .onnet-quote__restart { color: var(--oq-text); background: transparent; border: 1px solid var(--oq-line); }
.onnet-quote button:hover, .onnet-quote__contact:hover { filter: brightness(.9); }
.onnet-quote button:disabled { cursor: wait; opacity: .55; }
.onnet-quote__error, .onnet-quote__form-error { color: #ffaca7; font-size: 13px; }
.onnet-quote__loading { display: grid; place-items: center; min-height: 420px; text-align: center; }
.onnet-quote__loading span { width: 38px; height: 38px; border: 3px solid rgba(255,255,255,.18); border-top-color: #fff; border-radius: 50%; animation: oq-spin .8s linear infinite; }
.onnet-quote__loading p { color: var(--oq-muted); }
.onnet-quote__result { animation: oq-in .35s ease both; }
.onnet-quote__result > p:not(.onnet-quote__eyebrow):not(.onnet-quote__note) { color: var(--oq-muted); font-size: 17px; line-height: 1.55; }
.onnet-quote__price { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 28px 0; }
.onnet-quote__price > div { padding: 18px; background: #101214; border: 1px solid var(--oq-line); border-radius: 10px; }
.onnet-quote__price small { display: block; margin-bottom: 5px; color: var(--oq-muted); font-size: 11px; }
.onnet-quote__price strong { font-size: 24px; }
.onnet-quote__result ul { display: grid; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.onnet-quote__result li { position: relative; padding-left: 24px; color: #ddd; }
.onnet-quote__result li::before { content: "✓"; position: absolute; left: 0; color: #fff; }
.onnet-quote__note { color: var(--oq-muted); font-size: 12px; line-height: 1.5; }
.onnet-quote__contact { display: inline-flex; align-items: center; margin: 12px 10px 0 0; }
.onnet-quote__restart { margin-top: 12px; }
[hidden] { display: none !important; }

@keyframes oq-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes oq-spin { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
  .onnet-quote { grid-template-columns: 1fr; }
  .onnet-quote__intro { position: static; padding-top: 0; }
  .onnet-quote__intro h1 { max-width: 760px; }
  .onnet-quote__intro > p:not(.onnet-quote__eyebrow) { max-width: 720px; }
}

@media (max-width: 600px) {
  .onnet-quote { padding: 42px 18px 70px; }
  .onnet-quote__intro h1 { font-size: 42px; }
  .onnet-quote__card { min-height: 560px; padding: 28px 20px; border-radius: 12px; }
  .onnet-quote__choices, .onnet-quote__grid, .onnet-quote__price { grid-template-columns: 1fr; }
  .onnet-quote__choices label { min-height: 78px; }
  .onnet-quote__actions { align-items: stretch; }
  .onnet-quote__actions button { flex: 1; padding-inline: 12px; }
}
