/* =========================================================
   JaimeDiaz.TV — Formulario de contacto
   ========================================================= */

.jdr-feedback {
    width: min(100% - 32px, 1060px);
    margin: 32px auto 42px;

    color: #182238;
}

.jdr-feedback__hero {
    display: flex;
    align-items: flex-start;
    gap: 17px;

    margin-bottom: 20px;
    padding: 26px 28px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fbfcfe 68%,
            #fff8f0 100%
        );

    border: 1px solid #e5eaf1;
    border-radius: 18px;

    box-shadow: 0 14px 38px rgba(16, 25, 43, 0.06);
}

.jdr-feedback__hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 50px;
    width: 50px;
    height: 50px;

    color: #c66f22;
    background: #fff6e8;

    border: 1px solid #efd3a8;
    border-radius: 14px;

    font-size: 1.15rem;
}

.jdr-feedback__eyebrow {
    display: block;

    margin-bottom: 5px;

    color: #c66f22;

    font-size: 0.65rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.jdr-feedback__hero h1 {
    margin: 0;

    color: #17233c;

    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 850;
    letter-spacing: -0.04em;
    line-height: 1;
}

.jdr-feedback__hero p {
    max-width: 650px;
    margin: 9px 0 0;

    color: #667085;

    font-size: 0.82rem;
    line-height: 1.55;
}

.jdr-feedback__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 20px;
}

.jdr-feedback__main {
    min-width: 0;
}

.jdr-feedback__card {
    padding: clamp(24px, 4vw, 36px);

    background: #ffffff;

    border: 1px solid #e5eaf1;
    border-radius: 18px;

    box-shadow: 0 14px 38px rgba(16, 25, 43, 0.055);
}

.jdr-feedback__form {
    display: grid;
    gap: 19px;
}

.jdr-feedback__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.jdr-feedback__field {
    display: grid;
    gap: 8px;

    min-width: 0;
}

.jdr-feedback__field > label {
    color: #344158;

    font-size: 0.74rem;
    font-weight: 800;
}

.jdr-feedback__field input,
.jdr-feedback__field textarea,
.jdr-feedback__field select,
.jdr-feedback__recipient select {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 11px 13px;

    color: #182238;
    background: #f9fafc;

    border: 1px solid #dfe5ec;
    border-radius: 10px;
    outline: 0;

    font: inherit;
    font-size: 0.84rem;

    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.jdr-feedback__field input,
.jdr-feedback__field select,
.jdr-feedback__recipient select {
    min-height: 44px;
}

.jdr-feedback__field textarea {
    min-height: 190px;

    line-height: 1.65;
    resize: vertical;
}

.jdr-feedback__field input:focus,
.jdr-feedback__field textarea:focus,
.jdr-feedback__field select:focus,
.jdr-feedback__recipient select:focus {
    background: #ffffff;
    border-color: #e8a876;

    box-shadow: 0 0 0 3px rgba(244, 115, 33, 0.11);
}

.jdr-feedback__field input::placeholder,
.jdr-feedback__field textarea::placeholder {
    color: #98a2b3;
}

.jdr-feedback__recipient {
    min-width: 0;
}

.jdr-feedback__upload {
    display: flex;
    align-items: center;
    gap: 10px;

    min-height: 48px;
    padding: 9px 12px;

    color: #667085;
    background: #f9fafc;

    border: 1px dashed #cfd8e3;
    border-radius: 10px;
}

.jdr-feedback__upload i {
    color: #c66f22;
}

.jdr-feedback__upload input[type="file"] {
    min-height: 0;
    padding: 0;

    background: transparent;
    border: 0;
}

.jdr-feedback__verification {
    display: grid;
    gap: 10px;

    overflow-x: auto;
    padding: 14px;

    background: #f9fafc;

    border: 1px solid #e5eaf1;
    border-radius: 11px;
}

.jdr-feedback__verification > span {
    color: #526075;

    font-size: 0.72rem;
    font-weight: 800;
}

.jdr-feedback__submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    margin-top: 2px;
    padding-top: 20px;

    border-top: 1px solid #edf1f5;
}

.jdr-feedback__code {
    display: flex;
    align-items: center;
    gap: 9px;
}

.jdr-feedback__code img {
    display: block;

    height: 44px;
    width: auto;

    border: 1px solid #dfe5ec;
    border-radius: 8px;
}

.jdr-feedback__code input {
    width: 115px;
    min-height: 44px;
    padding: 9px 11px;

    border: 1px solid #dfe5ec;
    border-radius: 9px;
}

.jdr-feedback__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 44px;
    padding: 0 19px;

    color: #ffffff;
    background: #17233c;

    border: 0;
    border-radius: 10px;

    cursor: pointer;

    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;

    box-shadow: 0 9px 22px rgba(23, 35, 60, 0.17);

    transition:
        background-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.jdr-feedback__button:hover {
    background: #233a61;

    box-shadow: 0 12px 27px rgba(23, 35, 60, 0.21);
    transform: translateY(-1px);
}

.jdr-feedback__sidebar {
    display: grid;
    gap: 14px;
}

.jdr-feedback__info-card {
    padding: 24px;

    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            #17233c,
            #233a61
        );

    border-radius: 16px;

    box-shadow: 0 14px 34px rgba(16, 25, 43, 0.14);
}

.jdr-feedback__info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    margin-bottom: 17px;

    color: #ffffff;
    background: #f47321;

    border-radius: 12px;
}

.jdr-feedback__info-card h2 {
    margin: 0;

    color: #ffffff;

    font-size: 1.15rem;
    letter-spacing: -0.025em;
}

.jdr-feedback__info-card p {
    margin: 9px 0 16px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 0.76rem;
    line-height: 1.55;
}

.jdr-feedback__info-card ul {
    display: grid;
    gap: 9px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.jdr-feedback__info-card li {
    position: relative;

    padding-left: 17px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 0.72rem;
}

.jdr-feedback__info-card li::before {
    position: absolute;
    left: 0;
    top: 0.38em;

    width: 6px;
    height: 6px;

    background: #f7ae55;
    border-radius: 50%;

    content: "";
}

.jdr-feedback__note {
    display: flex;
    align-items: flex-start;
    gap: 11px;

    padding: 17px;

    background: #ffffff;

    border: 1px solid #e5eaf1;
    border-radius: 13px;
}

.jdr-feedback__note > i {
    margin-top: 2px;

    color: #c66f22;
}

.jdr-feedback__note strong {
    color: #233a61;

    font-size: 0.76rem;
}

.jdr-feedback__note p {
    margin: 5px 0 0;

    color: #758195;

    font-size: 0.69rem;
    line-height: 1.5;
}

@media (max-width: 849px) {

    .jdr-feedback__layout {
        grid-template-columns: 1fr;
    }

    .jdr-feedback__sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jdr-feedback__info-card {
        grid-row: span 2;
    }

}

@media (max-width: 620px) {

    .jdr-feedback {
        width: min(100% - 20px, 1060px);
        margin-top: 20px;
    }

    .jdr-feedback__hero {
        padding: 22px 20px;
    }

    .jdr-feedback__hero-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

    .jdr-feedback__grid,
    .jdr-feedback__sidebar {
        grid-template-columns: 1fr;
    }

    .jdr-feedback__info-card {
        grid-row: auto;
    }

    .jdr-feedback__submit {
        align-items: stretch;
        flex-direction: column;
    }

    .jdr-feedback__button {
        width: 100%;
    }

}

@media (max-width: 420px) {

    .jdr-feedback__hero {
        flex-direction: column;
    }

    .jdr-feedback__card {
        padding: 22px 18px;
    }

    .jdr-feedback__code {
        align-items: flex-start;
        flex-direction: column;
    }

    .jdr-feedback__code input {
        width: 100%;
    }

}
