/* Contacto Create + Home embed — UI only (no lógica) */

.ct-section {
    width: 100%;
    padding: 2.5rem 0 3rem;
    box-sizing: border-box;
}

.ct-section--stage {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 3.5rem 0 4rem;
    background-color: #0F172A;
    background-image:
        radial-gradient(ellipse at 12% 20%, rgba(44, 123, 182, 0.35), transparent 45%),
        radial-gradient(ellipse at 88% 75%, rgba(232, 184, 109, 0.18), transparent 50%),
        linear-gradient(160deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.88)),
        url("../../Imagenes/fondoFormulario.png");
    background-size: auto, auto, auto, cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.ct-rail {
    width: 90%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.ct-split {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 992px) {
    .ct-split {
        grid-template-columns: 0.95fr 1.05fr;
        gap: 2.5rem;
    }
}

.ct-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    color: #F8FAFC;
}

.ct-copy__title {
    margin: 0;
    font-family: "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", "Noto Sans", sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 2.6vw, 2.4rem);
    line-height: 1.25;
    color: #FFFFFF;
    max-width: 16ch;
}

.ct-copy__title-accent {
    display: inline;
    font: inherit;
    color: inherit;
    border: none;
    padding: 0;
}

.ct-copy__lead {
    margin: 0;
    max-width: 36ch;
    font-family: "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", "Noto Sans", sans-serif;
    font-weight: 400;
    font-size: calc(1.05rem + 2pt);
    line-height: 1.55;
    color: rgba(248, 250, 252, 0.85);
}

.ct-copy lottie-player {
    width: 220px;
    max-width: 100%;
    height: 220px;
    margin: 0.25rem 0;
}

.ct-copy__meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.ct-copy__line {
    margin: 0;
    font-family: "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", "Noto Sans", sans-serif;
    font-size: calc(1rem + 4pt);
    color: rgba(248, 250, 252, 0.92);
}

.ct-copy__line a {
    color: #7DB7E0;
    text-decoration: none;
}

.ct-copy__line a:hover {
    text-decoration: underline;
    color: #FFFFFF;
}

.ct-card {
    position: relative;
    padding: 1.75rem 1.5rem 1.85rem;
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
    .ct-card {
        padding: 2rem 2rem 2.1rem;
    }
}

.ct-form {
    margin: 0;
    padding: 0;
}

.ct-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 1rem;
}

@media (min-width: 768px) {
    .ct-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.ct-form .form-group {
    margin-bottom: 0.9rem;
}

.ct-form .col-md-10 {
    width: 100%;
    float: none;
    padding: 0;
}

.ct-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ct-field__label-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", "Noto Sans", sans-serif;
    font-size: calc(1rem + 2pt);
    font-weight: 600;
    color: #0F172A;
}

.ct-req {
    color: #2C7BB6;
    font-weight: 700;
}

.ct-req--optional {
    color: transparent;
    user-select: none;
}

.ct-form .campoSesion,
.ct-form textarea.campoSesion {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 46px;
    padding: 0.7rem 0.9rem;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: none;
    font-family: "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", "Noto Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #0F172A;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ct-form textarea.campoSesion {
    min-height: 120px;
    resize: vertical;
}

.ct-form .campoSesion:focus,
.ct-form textarea.campoSesion:focus {
    outline: none;
    border-color: #2C7BB6;
    box-shadow: 0 0 0 3px rgba(44, 123, 182, 0.15);
}

.ct-form .campoSesion::placeholder,
.ct-form textarea.campoSesion::placeholder {
    color: #64748B;
    opacity: 1;
    font-family: inherit;
}

.ct-check {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    background: #F8FAFC;
    font-family: "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", "Noto Sans", sans-serif;
    font-size: calc(0.95rem + 2pt);
    font-weight: 400;
    line-height: 1.45;
    color: #0F172A;
}

.ct-check input[type="checkbox"] {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: #2C7BB6;
}

.ct-check a {
    color: #2C7BB6;
    font-weight: 600;
    text-decoration: none;
}

.ct-check a:hover {
    text-decoration: underline;
}

.ct-form .inputAsteriscoContenedor {
    display: block;
    width: 100%;
}

.ct-form .inputAsteriscoSpan {
    display: none;
}

.ct-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.25rem;
}

.ct-form .label-danger {
    display: inline-block;
    margin-top: 0.25rem;
    white-space: normal;
}
