/* =========================================================
   BUZÓN CIUDADANO - TVNet Lago
   Todas las clases usan el prefijo "bzc-" para no afectar
   el resto del sitio.
   ========================================================= */

.bzc-section {
    --bzc-azul: #2FA9E1;
    --bzc-azul-oscuro: #29265B;
    --bzc-naranja: #F08717;
    --bzc-gris: #6b6f82;
    --bzc-borde: #dfe3ee;
    --bzc-fondo-campo: #f7f9fc;
    --bzc-error: #d93a3a;
    --bzc-ok: #1f9d6b;
    padding-bottom: 40px;
}

.bzc-subtitulo {
    max-width: 640px;
    margin: 10px auto 36px;
    color: var(--bzc-gris);
    font-size: 16px;
    line-height: 1.6;
}

/* ---------- Layout ---------- */
.bzc-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    max-width: 1080px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 50px rgba(41, 38, 91, 0.14);
}

/* ---------- Panel izquierdo ---------- */
.bzc-info {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    padding: 44px 36px;
    color: #fff;
    background: linear-gradient(155deg, var(--bzc-azul-oscuro) 0%, #1f1c47 55%, #1b5f8c 100%);
    overflow: hidden;
}

.bzc-info::before,
.bzc-info::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.bzc-info::before {
    width: 260px; height: 260px;
    right: -110px; top: -90px;
    background: rgba(47, 169, 225, 0.22);
}
.bzc-info::after {
    width: 180px; height: 180px;
    left: -70px; bottom: -70px;
    background: rgba(240, 135, 23, 0.18);
}

.bzc-info > * { position: relative; z-index: 1; }

.bzc-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 30px;
    background: var(--bzc-naranja);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.bzc-info-titulo {
    margin: 18px 0 10px;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
}

.bzc-info-texto {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.6;
}

.bzc-pasos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.bzc-pasos li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.bzc-pasos strong {
    display: block;
    font-size: 15px;
    color: #fff;
}
.bzc-pasos small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.bzc-paso-icono {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(47, 169, 225, 0.22);
    border: 1px solid rgba(47, 169, 225, 0.5);
}
.bzc-paso-icono svg {
    width: 20px;
    height: 20px;
    fill: var(--bzc-azul);
}

.bzc-privacidad {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}
.bzc-privacidad svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    fill: var(--bzc-naranja);
}

/* ---------- Formulario ---------- */
.bzc-card {
    padding: 44px 40px;
    border-top: 4px solid var(--bzc-naranja);
}

.bzc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.bzc-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.bzc-field label {
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 700;
    color: var(--bzc-azul-oscuro);
}
.bzc-field label span,
.bzc-nota span { color: var(--bzc-naranja); }

.bzc-field input,
.bzc-field select,
.bzc-field textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid var(--bzc-borde);
    border-radius: 10px;
    background: var(--bzc-fondo-campo);
    font-size: 15px;
    font-family: inherit;
    color: #222;
    transition: border-color .2s, box-shadow .2s, background .2s;
    box-sizing: border-box;
}

.bzc-field select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2329265B' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 22px;
    padding-right: 42px;
}

.bzc-field textarea {
    resize: vertical;
    min-height: 140px;
}

.bzc-field input:focus,
.bzc-field select:focus,
.bzc-field textarea:focus {
    outline: none;
    border-color: var(--bzc-azul);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(47, 169, 225, 0.15);
}

.bzc-field .bzc-invalid {
    border-color: var(--bzc-error);
    background-color: #fff7f7;
}

.bzc-error-msg {
    margin-top: 6px;
    font-size: 13px;
    color: var(--bzc-error);
}

.bzc-field-foot {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.bzc-contador {
    margin-top: 6px;
    font-size: 12px;
    color: var(--bzc-gris);
}

/* Honeypot oculto */
.bzc-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- Botón ---------- */
.bzc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--bzc-naranja), #f5a03f);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .5px;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(240, 135, 23, 0.32);
    transition: transform .15s, box-shadow .2s, filter .2s;
}
.bzc-btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}
.bzc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(240, 135, 23, 0.4);
    filter: brightness(1.04);
}
.bzc-btn:disabled {
    opacity: .7;
    cursor: wait;
    transform: none;
}

.bzc-nota {
    margin: 14px 0 0;
    text-align: center;
    font-size: 13px;
    color: var(--bzc-gris);
}

/* ---------- Alertas ---------- */
.bzc-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    animation: bzcFade .4s ease;
}
.bzc-alert svg { width: 22px; height: 22px; flex: 0 0 22px; }
.bzc-alert-ok {
    background: #e9f8f1;
    color: var(--bzc-ok);
    border: 1px solid #bfe9d5;
}
.bzc-alert-ok svg { fill: var(--bzc-ok); }
.bzc-alert-error {
    background: #fdeeee;
    color: var(--bzc-error);
    border: 1px solid #f5c7c7;
}

@keyframes bzcFade {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .bzc-wrapper { grid-template-columns: 1fr; }
    .bzc-info { padding: 36px 28px; }
}

@media (max-width: 576px) {
    .bzc-grid { grid-template-columns: 1fr; }
    .bzc-card { padding: 30px 20px; }
    .bzc-info { padding: 30px 20px; }
    .bzc-info-titulo { font-size: 22px; }
    .bzc-subtitulo { font-size: 15px; margin-bottom: 26px; }
}