/* ===========================================================================
   Pagina de contacto (/contact)
   Misma paleta que la landing: morado #7c3aed, tinta #1f1b3d, lineas #eeebf8.
   =========================================================================== */

.ct-wrap {
    --ct-acc: #7c3aed;
    --ct-acc-d: #6d28d9;
    --ct-lav: #efe9fe;
    --ct-lav-b: #e4d9fb;
    --ct-ink: #1f1b3d;
    --ct-ink2: #5f5b84;
    --ct-mut: #8a86ac;
    --ct-line: #eeebf8;

    padding: 64px 0 84px;
    background: linear-gradient(180deg, #faf9fe 0%, #fff 320px);
}

.ct-inner {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
}

/* ---------- encabezado ---------- */
.ct-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 46px;
}

.ct-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ct-acc-d);
    background: var(--ct-lav);
    border: 1px solid var(--ct-lav-b);
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 18px;
}

.ct-title {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.12;
    color: var(--ct-ink);
    margin: 0 0 14px;
}

.ct-title em { font-style: normal; color: var(--ct-acc); }

.ct-lead {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ct-ink2);
    margin: 0;
}

/* ---------- dos columnas: formulario + canales ---------- */
.ct-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 26px;
    align-items: start;
}

@media (max-width: 900px) {
    .ct-grid { grid-template-columns: 1fr; }
}

.ct-card {
    background: #fff;
    border: 1px solid var(--ct-line);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 2px 14px rgba(30, 20, 80, .04);
}

.ct-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ct-ink);
    margin: 0 0 6px;
}

.ct-card__lead {
    font-size: .9rem;
    color: var(--ct-mut);
    line-height: 1.6;
    margin: 0 0 24px;
}

/* ---------- formulario ---------- */
.ct-fila {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 575px) {
    .ct-fila { grid-template-columns: 1fr; }
}

.ct-campo { margin-bottom: 16px; }

.ct-campo label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--ct-ink2);
    margin-bottom: 6px;
}

.ct-campo label span { color: var(--ct-mut); font-weight: 500; }

.ct-campo input,
.ct-campo select,
.ct-campo textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #e2ddf2;
    border-radius: 10px;
    background: #fff;
    color: var(--ct-ink);
    font-size: .92rem;
    font-family: inherit;
    transition: border-color .13s, box-shadow .13s;
}

.ct-campo textarea { resize: vertical; min-height: 128px; line-height: 1.6; }

.ct-campo input:focus,
.ct-campo select:focus,
.ct-campo textarea:focus {
    outline: none;
    border-color: #c4b0f3;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, .12);
}

.ct-campo input.es-malo,
.ct-campo select.es-malo,
.ct-campo textarea.es-malo { border-color: #e5a1a1; }

.ct-error {
    display: block;
    font-size: .78rem;
    color: #b91c1c;
    margin-top: 5px;
}

/* trampa para robots: nadie la ve, y si viene llena se descarta el envio */
.ct-trampa {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ct-enviar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 13px 22px;
    border: 0;
    border-radius: 11px;
    background: var(--ct-acc);
    color: #fff;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .13s;
}

.ct-enviar:hover { background: var(--ct-acc-d); }
.ct-enviar:disabled { opacity: .6; cursor: default; }
.ct-enviar svg { width: 17px; height: 17px; }

.ct-nota-legal {
    font-size: .78rem;
    color: var(--ct-mut);
    line-height: 1.6;
    margin: 14px 0 0;
    text-align: center;
}

/* ---------- aviso de enviado ---------- */
.ct-ok {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: 13px;
    background: #e6f6ee;
    border: 1px solid #cdeedd;
    color: #0a7d55;
    margin-bottom: 24px;
}

.ct-ok svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.ct-ok strong { display: block; font-size: .93rem; margin-bottom: 2px; }
.ct-ok span { font-size: .85rem; line-height: 1.55; }

.ct-falla {
    background: #fef2f2;
    border-color: #fbd5d5;
    color: #b91c1c;
}

/* ---------- canales de la derecha ---------- */
.ct-canales { display: grid; gap: 14px; }

.ct-canal {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--ct-line);
    border-radius: 15px;
    text-decoration: none;
    transition: border-color .14s, box-shadow .14s, transform .14s;
}

a.ct-canal:hover {
    border-color: var(--ct-lav-b);
    box-shadow: 0 6px 18px rgba(30, 20, 80, .07);
    transform: translateY(-1px);
}

.ct-canal__ico {
    width: 40px;
    height: 40px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--ct-lav);
    color: var(--ct-acc-d);
    font-size: 16px;
}

.ct-canal__ico.es-verde { background: #e6f6ee; color: #0a7d55; }

.ct-canal__txt strong {
    display: block;
    font-size: .93rem;
    font-weight: 700;
    color: var(--ct-ink);
    margin-bottom: 3px;
}

.ct-canal__txt span {
    display: block;
    font-size: .85rem;
    color: var(--ct-ink2);
    line-height: 1.55;
}

.ct-canal__txt small {
    display: block;
    font-size: .78rem;
    color: var(--ct-mut);
    margin-top: 4px;
}

/* ---------- atajos de abajo ---------- */
.ct-atajos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 46px;
}

@media (max-width: 767px) {
    .ct-atajos { grid-template-columns: 1fr; }
}

.ct-atajo {
    display: block;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--ct-line);
    border-radius: 15px;
    text-decoration: none;
    transition: border-color .14s, box-shadow .14s;
}

.ct-atajo:hover { border-color: var(--ct-lav-b); box-shadow: 0 6px 18px rgba(30, 20, 80, .07); }

.ct-atajo i {
    display: block;
    font-size: 18px;
    color: var(--ct-acc);
    margin-bottom: 11px;
}

.ct-atajo strong {
    display: block;
    font-size: .95rem;
    font-weight: 700;
    color: var(--ct-ink);
    margin-bottom: 5px;
}

.ct-atajo span {
    display: block;
    font-size: .85rem;
    color: var(--ct-ink2);
    line-height: 1.6;
}

.ct-atajo em {
    display: inline-block;
    font-style: normal;
    font-size: .84rem;
    font-weight: 600;
    color: var(--ct-acc-d);
    margin-top: 10px;
}

/* ---------- enrutador por intencion (patron Stripe) ---------- */
.ct-router {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

@media (max-width: 767px) {
    .ct-router { grid-template-columns: 1fr; }
}

.ct-ruta {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--ct-line);
    border-radius: 16px;
    text-align: left;
    cursor: pointer;
    transition: border-color .14s, box-shadow .14s, transform .14s;
}

.ct-ruta:hover,
.ct-ruta.is-on {
    border-color: var(--ct-lav-b);
    box-shadow: 0 8px 22px rgba(30, 20, 80, .08);
    transform: translateY(-2px);
}

.ct-ruta.is-on { border-color: var(--ct-acc); }

.ct-ruta__ico {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--ct-lav);
    color: var(--ct-acc-d);
    font-size: 17px;
    margin-bottom: 14px;
}

.ct-ruta strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ct-ink);
    margin-bottom: 6px;
}

.ct-ruta span {
    font-size: .87rem;
    color: var(--ct-ink2);
    line-height: 1.6;
    flex: 1;
}

.ct-ruta em {
    font-style: normal;
    font-size: .85rem;
    font-weight: 600;
    color: var(--ct-acc-d);
    margin-top: 14px;
}
