/* Pieza CONTACTO — rediseño «El Punto». Todo bajo [data-ct]; clases ct-. */

[data-ct]{
  display: block;
  font-family: 'Archivo', system-ui, sans-serif;
  color: #201e1d;
  background: #f3f2f2;
  width: 100%;
  font-variant-numeric: tabular-nums;
  box-sizing: border-box;
}
[data-ct] *, [data-ct] *::before, [data-ct] *::after{ box-sizing: border-box; }
[data-ct] [hidden]{ display: none !important; }

[data-ct] a:focus-visible, [data-ct] button:focus-visible, [data-ct] input:focus-visible, [data-ct] textarea:focus-visible{
  outline: 2px solid #ae1800;
  outline-offset: 2px;
}
[data-ct] [tabindex="-1"]:focus{ outline: none; }
[data-ct] button:active, [data-ct] a:active{ transform: translateY(1px); }

@keyframes ctDot{ from{ transform: scale(0); } to{ transform: scale(1); } }

@media (prefers-reduced-motion: reduce){
  [data-ct] *{ transition: none !important; animation: none !important; }
}

/* --- Cabecera --- */
[data-ct] .ct-cab{
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 56px;
}
[data-ct] .ct-eyebrow{ margin: 0 0 20px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #595756; }
[data-ct] .ct-titular{ margin: 0; font-size: clamp(48px, 6.6vw, 104px); font-weight: 900; font-stretch: 112%; letter-spacing: -.045em; line-height: .88; }
[data-ct] .ct-nowrap{ white-space: nowrap; }
[data-ct] .ct-dot{ display: inline-block; width: .2em; height: .2em; margin-left: .04em; background: #ec3013; }
[data-ct] .ct-intro{ margin: 0; font-size: 18px; line-height: 1.45; color: #595756; max-width: 34ch; }

/* --- Rejilla de dos columnas --- */
[data-ct] .ct-grid{ display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }

[data-ct] .ct-asistente{
  flex: 2 1 560px; min-width: 0; background: #ffffff; padding: clamp(20px, 3vw, 40px);
  box-shadow: 0 8px 24px #2d2b2b24; min-height: 560px;
}
[data-ct] .ct-form{ display: flex; flex-direction: column; gap: 32px; min-height: 496px; }

/* --- Puntos de progreso --- */
[data-ct] .ct-puntos{ display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
[data-ct] .ct-dots{ display: inline-flex; gap: 6px; }
[data-ct] .ct-dot-step{
  display: inline-block; width: 12px; height: 12px; background: transparent;
  box-shadow: inset 0 0 0 2px #6a6868; transition: background-color 120ms cubic-bezier(.2,.7,.2,1);
}
[data-ct] .ct-dot-step--hecho{ background: #201e1d; box-shadow: none; }
[data-ct] .ct-dot-step--activo{ background: #ec3013; box-shadow: none; }
[data-ct] .ct-paso-contador{ font-size: 13px; font-weight: 700; color: #595756; }

/* --- Pasos --- */
[data-ct] .ct-paso{ display: flex; flex-direction: column; gap: 24px; }
[data-ct] .ct-pregunta{ margin: 0; font-size: clamp(26px, 3vw, 32px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
[data-ct] .ct-ayuda{ margin: 12px 0 0; font-size: 15px; line-height: 1.45; color: #595756; }

[data-ct] .ct-opciones{ display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 8px; }
[data-ct] .ct-opciones--chips{ display: flex; flex-wrap: wrap; gap: 8px; }

/* --- Casillas (tiles) --- */
[data-ct] .ct-tile{
  display: flex; align-items: center; gap: 16px; width: 100%; min-height: 96px; padding: 0 20px;
  border: 0; background: #eae9e9; color: #201e1d; font: inherit; font-size: 16px; font-weight: 700;
  line-height: 1.25; text-align: left; cursor: pointer;
}
[data-ct] .ct-tile--on{ background: #201e1d; color: #f3f2f2; }
[data-ct] .ct-tile-icono{ flex: none; }
[data-ct] .ct-tile-txt{ flex: 1 1 auto; }
[data-ct] .ct-tile-dot{
  flex: none; width: 12px; height: 12px; background: transparent; box-shadow: inset 0 0 0 2px #6a6868;
  transition: background-color 120ms cubic-bezier(.2,.7,.2,1);
}
[data-ct] .ct-tile--on .ct-tile-dot{ background: #ff563c; box-shadow: none; }

[data-ct] .ct-tile--mejora{ min-height: 72px; padding: 12px 18px; gap: 14px; }

[data-ct] .ct-tile--chip{ flex: 1 1 120px; max-width: 220px; min-height: 56px; padding: 0 16px; gap: 10px; }
[data-ct] .ct-tile--llamar{ max-width: 260px; }

[data-ct] .ct-vermas{
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0; border: 0;
  background: transparent; color: #201e1d; font: inherit; font-size: 15px; font-weight: 700;
  text-decoration: underline; text-underline-offset: 4px; cursor: pointer;
}
[data-ct] .ct-vermas-icono{ transition: transform 120ms cubic-bezier(.2,.7,.2,1); }
[data-ct] .ct-vermas[aria-expanded="true"] .ct-vermas-icono{ transform: rotate(180deg); }

/* --- Grupos con título --- */
[data-ct] .ct-grupo{ display: flex; flex-direction: column; gap: 10px; }
[data-ct] .ct-grupo-tit{ font-size: 15px; font-weight: 700; }
[data-ct] .ct-opcional{ font-weight: 400; color: #595756; }

/* --- Campos de texto --- */
[data-ct] .ct-otro{ display: flex; flex-direction: column; gap: 8px; max-width: 480px; }
[data-ct] .ct-campos{ display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
[data-ct] .ct-campo{ display: flex; flex-direction: column; gap: 8px; }
[data-ct] .ct-campo--ancho{ max-width: 420px; }
[data-ct] .ct-campo label, [data-ct] .ct-otro label{ font-size: 15px; font-weight: 700; }
[data-ct] .ct-input{
  min-height: 56px; padding: 0 16px; border: 2px solid #6a6868; background: #ffffff; color: #201e1d;
  font: inherit; font-size: 16px; width: 100%;
}
[data-ct] .ct-input[aria-invalid="true"]{ border-color: #ae1800; }
[data-ct] .ct-textarea{
  display: block; min-height: 120px; padding: 14px 16px; line-height: 1.45; resize: vertical;
}
[data-ct] .ct-aviso{ margin: 0; font-size: 13px; line-height: 1.4; color: #595756; }
[data-ct] .ct-contador{ margin: 0; font-size: 13px; line-height: 1.4; color: #595756; text-align: right; }
[data-ct] .ct-contador--cerca{ color: #ae1800; font-weight: 700; }

[data-ct] .ct-tel-wrap{ display: flex; flex-direction: column; gap: 20px; }

/* --- Privacidad --- */
[data-ct] .ct-priv{
  display: flex; align-items: flex-start; gap: 12px; min-height: 44px; font-size: 15px; line-height: 1.45; cursor: pointer;
}
[data-ct] .ct-priv a{ color: #201e1d; text-underline-offset: 3px; }
[data-ct] .ct-priv-check{
  appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: 0;
  border: 2px solid #6a6868; background: #ffffff; cursor: pointer;
  transition: background-color 120ms cubic-bezier(.2,.7,.2,1), border-color 120ms cubic-bezier(.2,.7,.2,1);
}
[data-ct] .ct-priv-check:checked{ background: #201e1d; border-color: #201e1d; box-shadow: inset 0 0 0 4px #ffffff; }
[data-ct] .ct-priv-check[aria-invalid="true"]{ border-color: #ae1800; }

/* --- Errores --- */
[data-ct] .ct-errores{ display: flex; flex-direction: column; gap: 6px; }
[data-ct] .ct-error-fila{ margin: 0; display: flex; align-items: center; gap: 8px; font-size: 15px; color: #ae1800; }
[data-ct] .ct-error-fila svg{ flex: none; }

/* --- Honeypot (anti-bots, oculto a personas) --- */
[data-ct] .ct-honeypot{
  position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --- Navegación --- */
[data-ct] .ct-nav{
  margin-top: auto; padding-top: 24px; border-top: 1px solid #dcdada;
  display: flex; flex-wrap: wrap-reverse; align-items: center; gap: 8px 16px;
}
[data-ct] .ct-atras{
  flex: none; margin-right: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 56px;
  padding: 0 12px 0 0; border: 0; background: transparent; color: #201e1d; font: inherit; font-size: 15px;
  font-weight: 700; cursor: pointer;
}
[data-ct] .ct-saltar{
  flex: none; margin-left: auto; min-height: 56px; padding: 0 16px; border: 0; background: transparent;
  color: #595756; font: inherit; font-size: 15px; font-weight: 700; text-decoration: underline;
  text-underline-offset: 4px; cursor: pointer;
}
[data-ct] .ct-siguiente{
  flex: 0 1 260px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 0 20px; border: 0; background: #201e1d; color: #f3f2f2; font: inherit;
  font-size: 15px; font-weight: 700; text-align: left; cursor: pointer;
}
[data-ct] .ct-enviar{
  flex: 0 1 320px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 72px; padding: 0 24px; border: 0; background: #dd2b0f; color: #ffffff; font: inherit;
  font-size: 18px; font-weight: 800; text-align: left; cursor: pointer;
}
[data-ct] .ct-enviar:disabled{ opacity: .6; cursor: default; }

/* --- Fin --- */
[data-ct] .ct-fin{ display: flex; flex-direction: column; gap: 32px; }
[data-ct] .ct-fin-dot{ display: block; width: 48px; height: 48px; background: #ec3013; transform-origin: 0 100%; animation: ctDot 200ms cubic-bezier(.2,.7,.2,1) both; }
[data-ct] .ct-fin-tit{ margin: 0; font-size: clamp(36px, 4.4vw, 56px); font-weight: 900; font-stretch: 112%; letter-spacing: -.04em; line-height: .95; }
[data-ct] .ct-fin-plazo{ margin: 16px 0 0; font-size: 18px; line-height: 1.45; color: #595756; }
[data-ct] .ct-resumen-fin{ margin: 0; border-top: 2px solid #201e1d; }
[data-ct] .ct-resumen-fin-fila{ display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid #dcdada; }
[data-ct] .ct-resumen-fin dt{ flex: 0 0 160px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #595756; padding-top: 3px; }
[data-ct] .ct-resumen-fin dd{ flex: 1 1 240px; margin: 0; font-size: 16px; line-height: 1.4; }
[data-ct] .ct-fin-pie{ margin-top: auto; }
[data-ct] .ct-reiniciar{
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 20px; border: 0;
  background: #201e1d; color: #f3f2f2; font: inherit; font-size: 15px; font-weight: 700; text-align: left; cursor: pointer;
}

/* --- Columna derecha --- */
[data-ct] .ct-columna{ flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
[data-ct] .ct-contacto-tit{ margin: 0 0 16px; font-size: 25px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
[data-ct] .ct-contacto-link{
  display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 8px 0; color: #201e1d; text-decoration: none;
}
[data-ct] .ct-contacto-link--primero{ border-top: 2px solid #201e1d; }
[data-ct] .ct-contacto-link--ultimo{ border-top: 1px solid #dcdada; border-bottom: 1px solid #dcdada; }
[data-ct] .ct-contacto-link svg{ flex: none; }
[data-ct] .ct-contacto-txt{ display: flex; flex-direction: column; gap: 2px; min-width: 0; }
[data-ct] .ct-contacto-rot{ font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #595756; }
[data-ct] .ct-contacto-val{ font-size: 18px; font-weight: 800; overflow-wrap: anywhere; }

[data-ct] .ct-resumen{ border-top: 2px solid #201e1d; padding-top: 20px; display: flex; flex-direction: column; gap: 20px; }
[data-ct] .ct-resumen-tit{ margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #595756; }
[data-ct] .ct-sin-respuestas{ margin: 0; display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.45; color: #595756; }
[data-ct] .ct-sin-respuestas-marca{ flex: none; width: 12px; height: 12px; box-shadow: inset 0 0 0 2px #6a6868; }
[data-ct] .ct-chips{ list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
[data-ct] .ct-chip{ padding: 6px 10px; background: #ffffff; border: 1px solid #dcdada; font-size: 13px; font-weight: 700; line-height: 1.3; }
[data-ct] .ct-resumen-libre{ margin: -8px 0 0; font-size: 14px; line-height: 1.45; color: #201e1d; }
[data-ct] .ct-reco{ display: flex; flex-direction: column; gap: 12px; }
[data-ct] .ct-reco-titulo{ margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
[data-ct] .ct-reco-dot{ display: inline-block; width: 12px; height: 12px; margin-right: 6px; animation: ctDot 200ms cubic-bezier(.2,.7,.2,1) both; }
[data-ct] .ct-reco-desc{ margin: 0; font-size: 13px; line-height: 1.45; color: #595756; }
[data-ct] .ct-reco-nombre{ font-weight: 700; color: #201e1d; }
[data-ct] .ct-reco-pendiente{ margin: 0; font-size: 15px; line-height: 1.45; color: #595756; }

/* --- Sin JavaScript --- */
[data-ct] .ct-noscript{ margin: 24px 0 0; font-size: 15px; line-height: 1.5; color: #595756; }
[data-ct] .ct-noscript a{ color: #201e1d; }

/* --- Responsive: sin scroll horizontal 360–1440px, columnas se apilan ≤720px --- */
@media (max-width: 720px){
  [data-ct] .ct-asistente{ padding: 20px; min-height: 0; }
  [data-ct] .ct-siguiente, [data-ct] .ct-enviar{ flex-basis: 100%; }
}
