/* Contacto — se suma a /assets/v2/home.css. Formulario propio (sin Elementor). */

/* ---------- Hero + formulario ---------- */
.ct-hero { position: relative; overflow: hidden; isolation: isolate; padding: 130px 0 90px; background: #0b0d12; }
.ct-hero__grid { position: absolute; inset: 0; z-index: -2; opacity: .4; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 25% 40%, #000 15%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 25% 40%, #000 15%, transparent 75%); }
.ct-hero__orb { position: absolute; z-index: -1; width: 620px; height: 620px; right: -160px; top: -120px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(47,111,237,.32), rgba(52,211,153,.12) 45%, transparent 70%); filter: blur(10px); animation: ctFloat 14s ease-in-out infinite alternate; }
@keyframes ctFloat { to { transform: translate(-60px, 50px) scale(1.08); } }

.ct-layout { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); grid-template-areas: "intro card" "aside card"; gap: 0 clamp(36px, 6vw, 80px); align-items: start; }
.ct-intro { grid-area: intro; } .ct-card { grid-area: card; } .ct-aside { grid-area: aside; }
.ct-intro h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; color: #fff; margin: 0 0 20px; }
.ct-lead { font-size: clamp(16px, 1.5vw, 18.5px); color: #c5ccdb; max-width: 54ch; margin: 0 0 30px; }

.ct-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ct-info li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line-n); border-radius: 14px; background: rgba(24,28,38,.6); }
.ct-info__ic { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(47,111,237,.16); color: #8fb4ff; }
.ct-info__ic .i { width: 20px; height: 20px; }
.ct-info small { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8b93a7; }
.ct-info a, .ct-info span { color: #fff; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.ct-info a:hover { color: var(--green); }
.ct-social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 24px; color: #8b93a7; font-size: 14px; }
.ct-social a { color: #dfe4ee; text-decoration: underline; text-underline-offset: 3px; }
.ct-social a:hover { color: var(--green); }

/* ---------- Tarjeta del formulario ---------- */
.ct-card { padding: clamp(24px, 3.4vw, 38px); border-color: rgba(47,111,237,.35); background: linear-gradient(160deg, rgba(47,111,237,.1), transparent 55%), var(--surface-n); }
.ct-form h2, .ct-done h2 { margin: 0 0 8px; font-size: clamp(22px, 2.4vw, 28px); color: #fff; letter-spacing: -0.02em; }
.ct-form__sub { margin: 0 0 22px; color: #a3acc0; font-size: 15px; }

.ct-topics { border: 0; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ct-topics legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: #dfe4ee; }
.ct-chip { position: relative; cursor: pointer; }
.ct-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ct-chip span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line-n2); border-radius: 999px; font-size: 14px; color: #c5ccdb; transition: background .2s, border-color .2s, color .2s; }
.ct-chip input:checked + span { background: rgba(52,211,153,.14); border-color: var(--green); color: #fff; }
.ct-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.ct-field label { font-size: 14px; font-weight: 600; color: #dfe4ee; }
.ct-opt { font-weight: 400; color: #8b93a7; }
.ct-field input, .ct-field textarea { width: 100%; font: inherit; font-size: 16px; color: #fff; background: #0f1219; border: 1px solid var(--line-n2); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; }
.ct-field textarea { resize: vertical; min-height: 130px; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: #6b7387; }
.ct-field input:focus, .ct-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,111,237,.25); }
.ct-field [aria-invalid="true"] { border-color: #f87171; }
.ct-err { font-size: 13px; color: #fca5a5; }
.ct-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-legal { margin: 4px 0 18px; font-size: 13px; color: #8b93a7; }
.ct-legal a { color: #c5ccdb; }
.ct-submit { width: 100%; justify-content: center; }
.ct-submit[disabled] { opacity: .6; cursor: progress; }
.ct-status { min-height: 1.4em; margin: 12px 0 0; font-size: 14px; color: #fca5a5; text-align: center; }

.ct-done { text-align: center; padding: 30px 6px; }
.ct-done:focus { outline: none; }
.ct-done__ic { width: 74px; height: 74px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: rgba(52,211,153,.15); color: var(--green); animation: ctPop .6s var(--ease); }
.ct-done__ic .i { width: 36px; height: 36px; }
.ct-done p { color: #c5ccdb; margin: 0 auto 22px; max-width: 42ch; }
@keyframes ctPop { from { transform: scale(.4); opacity: 0; } }

/* ---------- Atajos ---------- */
.ct-quick__title { margin: 0 0 26px; font-size: clamp(26px, 3.2vw, 38px); color: #fff; letter-spacing: -0.025em; }
.ct-quick { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ct-quick li { padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.ct-quick h3 { margin: 4px 0 0; font-size: 19px; color: #fff; }
.ct-quick p { margin: 0; color: #a3acc0; font-size: 15px; flex: 1; }
.ct-quick a { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 600; text-decoration: none; }
.ct-quick a .i { width: 16px; height: 16px; transition: transform .25s; }
.ct-quick a:hover .i { transform: translateX(4px); }

@media (max-width: 900px) {
  .ct-hero { padding: 110px 0 64px; }
  .ct-layout { grid-template-columns: 1fr; grid-template-areas: "intro" "card" "aside"; }
  .ct-aside { margin-top: 36px; }
  .ct-quick { grid-template-columns: 1fr; }
  .ct-hero__orb { width: 380px; height: 380px; right: -140px; }
}
@media (max-width: 560px) { .ct-row { grid-template-columns: 1fr; gap: 0; } }
@media (prefers-reduced-motion: reduce) { .ct-hero__orb, .ct-done__ic { animation: none; } }
