/* ==========================================================================
   Contacto (/contact) del rediseño. Todo dentro de .cnt; usa rd-comun.css.
   Mismo lenguaje que el cierre del Bootcamp: fondo oscuro con brillo turquesa y
   morado, y el formulario en una tarjeta blanca. El envío lo hace js/contact-form.js.
   ========================================================================== */
.cnt-hero { position: relative; overflow: hidden; padding-block: clamp(150px, 14vw, 190px) clamp(72px, 9vw, 112px); background: var(--rd-tinta); color: var(--rd-blanco); }
.cnt-hero::before { content: ""; position: absolute; inset: -20%; background:
  radial-gradient(40% 45% at 12% 30%, rgb(95 254 221 / 18%), transparent 70%),
  radial-gradient(40% 45% at 90% 80%, rgb(172 100 253 / 26%), transparent 70%); pointer-events: none; }
.cnt-hero__fila { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(36px, 6vw, 88px); align-items: center; }

.cnt-sello { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 16px 7px 12px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 999px; font-size: 13px; font-weight: 600; }
.cnt-sello__punto { width: 8px; height: 8px; border-radius: 50%; background: var(--rd-turquesa); box-shadow: 0 0 0 4px rgb(95 254 221 / 25%); }
.cnt-hero h1 { margin-bottom: 20px; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
.cnt-c-turquesa { color: var(--rd-turquesa); }
.cnt-hero__lema { max-width: 520px; margin-bottom: 32px; color: rgb(255 255 255 / 80%); font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; }

/* Canales directos */
.cnt-canales { display: grid; gap: 10px; max-width: 520px; }
.cnt-canal { display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 12px; border: 1px solid rgb(255 255 255 / 14%); border-radius: var(--rd-radio); background: rgb(255 255 255 / 4%); color: var(--rd-blanco); text-decoration: none; transition: border-color .2s, background .2s; }
a.cnt-canal:hover { border-color: var(--rd-turquesa); background: rgb(95 254 221 / 8%); }
a.cnt-canal:focus-visible { outline: 3px solid var(--rd-turquesa); outline-offset: 3px; }
.cnt-canal__icono { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--rd-turquesa); color: var(--rd-tinta); }
.cnt-canal__icono svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cnt-canal__texto { display: flex; flex-direction: column; min-width: 0; }
.cnt-canal__texto small { color: rgb(255 255 255 / 60%); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.cnt-canal__texto b { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.cnt-canal--fijo .cnt-canal__texto b { font-size: 14px; font-weight: 400; line-height: 1.45; color: rgb(255 255 255 / 85%); }

/* Formulario */
.cnt-form-tarjeta { padding: 32px 28px 28px; border-radius: 22px; background: var(--rd-blanco); color: var(--rd-tinta); box-shadow: -22px -16px 60px rgb(95 254 221 / 22%), 22px 20px 60px rgb(172 100 253 / 30%), 0 30px 60px rgb(0 0 0 / 35%); }
.cnt-form__titulo { font-size: 23px; font-weight: 700; line-height: 1.25; }
.cnt-form__sub { margin: 6px 0 20px; color: var(--rd-texto-suave); font-size: 14px; line-height: 1.5; }
.cnt-dos { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.cnt-campo { min-width: 0; margin-bottom: 14px; }
.cnt-etiqueta { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.cnt-opcional { color: var(--rd-texto-suave); font-weight: 400; }
.cnt-input { display: block; width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--rd-borde); border-radius: 12px; background: var(--rd-blanco); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.cnt-input--texto { min-height: 112px; resize: vertical; }
.cnt-input:focus { border-color: var(--rd-tinta); outline: none; box-shadow: 0 0 0 4px rgb(95 254 221 / 40%); }
.cnt-input:user-invalid { border-color: #c62828; box-shadow: 0 0 0 4px rgb(198 40 40 / 12%); }
.cnt-aviso { margin: 2px 0 16px; color: var(--rd-texto-suave); font-size: 13px; }
.cnt-aviso a { color: var(--rd-tinta); text-decoration: underline; }
.cnt button[type="submit"].cnt-enviar { width: 100%; min-height: 56px; border-radius: 16px; font-size: 16px; }
.cnt button[type="submit"].cnt-enviar:disabled { opacity: .6; cursor: progress; transform: none; }
.cnt-estado { margin-top: 12px; font-size: 14px; font-weight: 600; text-align: center; }
.cnt-estado:empty { display: none; }
.cnt-estado.error { color: #c62828; }
.cnt-estado.success { color: var(--rd-turquesa-texto); }

@media (max-width: 991.98px) {
  .cnt-hero__fila { grid-template-columns: 1fr; }
  .cnt-form-tarjeta { max-width: 600px; }
}
@media (max-width: 575.98px) {
  .cnt-hero { padding-top: 132px; }
  .cnt-dos { grid-template-columns: 1fr; }
  .cnt-form-tarjeta { padding: 26px 18px 22px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .cnt-canal, .cnt-input { transition: none; }
}
