/* =====================================================
   PARENTESIS — style.css completo (versión consolidada)
   Sustituye íntegramente al anterior.
   ===================================================== */

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif; color: #334155; background: #f7fafc; }
img { max-width: 100%; }
a { color: #1273c4; }
h1, h2, h3 { color: #0e2a4d; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
main.container { padding-top: 24px; padding-bottom: 40px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.intro-seo, .ciudad-intro { max-width: 820px; color: #334155; line-height: 1.6; }
.breadcrumb { font-size: 13px; color: #7a8698; margin: 12px 0; }
.breadcrumb a { color: #1273c4; text-decoration: none; }
.oficio-icono-grande { font-size: 1.2em; margin-right: 8px; }

/* ---------- Cabecera fija + logo ---------- */
.site-header { background: #fff; box-shadow: 0 2px 10px rgba(14,42,77,.08); position: sticky; top: 0; z-index: 300; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.site-header .logo { display: inline-flex; align-items: center; line-height: 0; }
.site-header .logo-img { height: 78px; width: auto; display: block; }
@media (max-width: 600px) { .site-header .logo-img { height: 50px; } }

/* Botón "Soy profesional" */
.site-header nav a.btn-profesional {
    display: inline-block; padding: 10px 22px;
    background: linear-gradient(135deg, #1273c4 0%, #0e2a4d 100%);
    color: #ffffff !important; font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
    text-decoration: none !important; border-radius: 8px; box-shadow: 0 4px 12px rgba(14,42,77,.3);
    transition: transform .15s, box-shadow .15s, filter .15s;
}
.site-header nav a.btn-profesional:hover { color: #ffffff !important; transform: translateY(-2px); filter: brightness(1.2); box-shadow: 0 6px 16px rgba(14,42,77,.4); }

/* ---------- Hero y buscadores ---------- */
.hero { text-align: center; padding: 28px 0 8px; }
.hero h1 { margin: 0 0 8px; }
.buscador-ciudad { max-width: 640px; margin: 0 auto 14px; position: relative; text-align: left; }
#input-ciudad, #input-oficio { width: 100%; padding: 16px 18px; font-size: 17px; border: 2px solid #cfd9e6; border-radius: 12px; background: #fff; }
#input-ciudad:focus, #input-oficio:focus { border-color: #1273c4; outline: none; box-shadow: 0 0 0 4px rgba(18,115,196,.15); }
.sugerencias { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 2px solid #cfd9e6; border-radius: 12px; box-shadow: 0 12px 30px rgba(14,42,77,.15); list-style: none; padding: 6px; margin: 0; z-index: 50; max-height: 320px; overflow: auto; }
.sugerencias li button { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: none; background: none; border-radius: 8px; cursor: pointer; font-size: 15px; text-align: left; color: #0e2a4d; }
.sugerencias li button:hover { background: #eaf4fc; }
.sugerencias .tipo { color: #7a8698; font-size: 12px; white-space: nowrap; }
.buscador-acciones { display: flex; gap: 14px; align-items: center; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
.btn-ubicacion { background: #0e2a4d; color: #fff; border: none; padding: 10px 18px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 14px; }
.btn-ubicacion:hover { filter: brightness(1.25); }
.btn-ver-todas { background: #1273c4; color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; }
.btn-ver-todas:hover { filter: brightness(1.15); color: #fff; }
.ciudad-elegida { margin-top: 12px; font-weight: 700; color: #0e2a4d; text-align: center; }
.buscador-oficio { margin-top: 14px; }

/* Chips de ciudades (una línea, recortables por JS) */
.chips-ciudades { display: flex; flex-wrap: nowrap; overflow: hidden; gap: 10px; justify-content: center; margin: 10px 0 14px; }
.chip { flex: 0 0 auto; background: #eaf4fc; border: 2px solid #cfe3f7; color: #0e2a4d; padding: 8px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 14px; }
.chip:hover { background: #1273c4; border-color: #1273c4; color: #fff; }

/* ---------- Carrusel (ticker) de oficios ---------- */
.top-oficios { margin: 26px 0; text-align: left; }
.top-oficios h2 { margin-bottom: 12px; }
.top-en-hero { margin: 6px 0 18px; }
.top-en-hero h2 { font-size: 18px; margin-bottom: 10px; text-align: center; }
.ticker { overflow: hidden; position: relative; }
.ticker-track { display: flex; width: max-content; animation: ticker 35s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-chip { display: flex; align-items: center; gap: 8px; background: #fff; border: 2px solid #cfd9e6; border-radius: 999px; padding: 10px 18px; margin-right: 12px; text-decoration: none; color: #0e2a4d; font-weight: 700; white-space: nowrap; }
.ticker-chip:hover { border-color: #1273c4; }
.ticker-chip .oficio-icono { font-size: 22px; line-height: 1; }
.ticker-chip .oficio-nombre { font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; flex-wrap: wrap; width: auto; } }

/* ---------- Cuadrícula de oficios (6 por fila en PC) ---------- */
.buscador { max-width: 980px; margin: 0 auto; }
.campo-oficios { border: none; padding: 0; margin: 0 0 16px; }
.campo-oficios legend { font-weight: 700; font-size: 15px; margin-bottom: 8px; color: #0e2a4d; }
.grid-oficios-select { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; width: 100%; }
@media (min-width: 700px) { .grid-oficios-select { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid-oficios-select { grid-template-columns: repeat(6, 1fr); } }
.oficio-opcion {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; min-height: 130px; width: 100%; padding: 14px 6px 12px;
    background: #fff; border: 2px solid #cfd9e6; border-radius: 12px; box-shadow: 0 2px 6px rgba(14,42,77,.08);
    text-decoration: none; color: inherit; cursor: pointer; overflow: hidden;
    transition: border-color .15s, background .15s, box-shadow .15s, transform .15s;
}
.oficio-opcion:hover { border-color: #1273c4; transform: translateY(-2px); color: inherit; }
.oficio-opcion input[type="radio"] { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; margin: 0 !important; pointer-events: none !important; appearance: none !important; }
.oficio-opcion:has(input:checked) { border-color: #1273c4; background: #eaf4fc; box-shadow: 0 0 0 3px rgba(18,115,196,.25); }
.oficio-opcion:has(input:focus-visible) { outline: 3px solid #1273c4; outline-offset: 2px; }
.oficio-opcion .oficio-icono { font-size: clamp(34px, 4vw, 48px); line-height: 1; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.oficio-opcion .oficio-nombre { font-size: 13px; font-weight: 700; color: #0e2a4d; text-align: center; line-height: 1.25; max-width: 100%; word-wrap: break-word; }

/* Botón CTA principal (naranja) */
.btn-cta {
    display: inline-block; width: 100%; padding: 16px 24px;
    background: linear-gradient(135deg, #ff8a2b 0%, #ff5e0a 100%);
    color: #ffffff !important; font-size: 17px; font-weight: 800; letter-spacing: .3px;
    border: none; border-radius: 10px; cursor: pointer; box-shadow: 0 6px 18px rgba(255,94,10,.35);
    transition: transform .15s, box-shadow .15s, filter .15s; text-decoration: none; margin-top: 6px;
}
.btn-cta:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 8px 22px rgba(255,94,10,.45); color: #ffffff !important; }
.buscador-error { color: #c0392b; font-weight: 700; margin: 10px 0; text-align: center; }

/* ---------- Ventajas / pasos / enlaces SEO ---------- */
.ventajas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 36px 0; }
@media (max-width: 900px) { .ventajas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ventajas { grid-template-columns: 1fr; } }
.ventaja { background: #fff; border: 2px solid #e1e8f2; border-radius: 12px; padding: 18px; text-align: center; }
.ventaja-icono { font-size: 30px; }
.ventaja h3 { margin: 8px 0 6px; }
.como-funciona, .seo-links, .faq { margin: 44px 0; text-align: left; }
.como-funciona h2, .seo-links h2, .faq h2 { margin-bottom: 16px; }
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 700px) { .pasos { grid-template-columns: 1fr; } }
.paso { background: #fff; border: 2px solid #e1e8f2; border-radius: 12px; padding: 18px; }
.paso span { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; background: #1273c4; color: #fff; font-weight: 700; border-radius: 50%; margin-bottom: 10px; }
.paso h3 { margin-bottom: 6px; }
.seo-intro { margin-bottom: 16px; }
.seo-columnas { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 700px) { .seo-columnas { grid-template-columns: 1fr; } }
.seo-columnas h3 { margin-bottom: 8px; }
.seo-columnas ul { list-style: none; padding: 0; columns: 2; }
@media (max-width: 700px) { .seo-columnas ul { columns: 1; } }
.seo-columnas li { margin-bottom: 6px; }
.mini-count { color: #7a8698; font-size: 12px; font-weight: 600; }

/* ---------- FAQ desplegables ---------- */
.faq-item { border: 1px solid #e1e8f2; border-radius: 10px; margin-bottom: 10px; overflow: hidden; background: #fff; }
.faq-item summary { cursor: pointer; padding: 14px 34px 14px 16px; font-weight: 700; color: #0e2a4d; list-style: none; position: relative; background: #ffffff; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 22px; color: #1273c4; font-weight: 700; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { background: #f3f7fc; padding: 14px 16px; margin: 0; color: #334155; line-height: 1.6; }

/* ---------- Ficha ciudad+oficio ---------- */
.formulario-solicitud { margin: 28px 0; }
.form-card { max-width: 720px; margin: 0 auto; background: linear-gradient(180deg, #fff8f1 0%, #ffffff 100%); border: 2px solid #ffd9b8; border-radius: 14px; padding: 24px; box-shadow: 0 6px 20px rgba(255,138,43,.12); text-align: left; }
.form-card h2 { color: #c44a00; margin-top: 0; margin-bottom: 8px; }
.form-intro { margin-bottom: 16px; }
.form-card label { display: block; margin-bottom: 12px; font-weight: 600; color: #0e2a4d; }
.form-card input, .form-card textarea { width: 100%; padding: 11px 12px; border: 2px solid #e1e8f2; border-radius: 8px; font-size: 15px; margin-top: 4px; background: #fff; transition: border-color .15s, box-shadow .15s; font-family: inherit; }
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: #ff7a1f; box-shadow: 0 0 0 3px rgba(255,122,31,.18); }
.form-card .ayuda { display: block; font-size: 12px; color: #7a8698; font-weight: 400; margin-top: 3px; }
.listado-empresas { margin: 30px 0; text-align: left; }
.listado-empresas ul { list-style: none; padding: 0; display: grid; gap: 14px; }
.tarjeta-empresa { background: #fff; border: 2px solid #e1e8f2; border-radius: 12px; padding: 18px; }
.tarjeta-empresa h3 { margin: 0 0 6px; }
.precios { background: #f3f7fc; border-left: 4px solid #1273c4; padding: 16px 20px; border-radius: 8px; margin: 24px 0; text-align: left; }
.precios h2 { margin-bottom: 8px; font-size: 18px; }
.poblaciones-seo, .oficios-relacionados, .ciudades-relacionadas { margin: 28px 0; text-align: left; }
.poblaciones-lista { columns: 3; list-style: none; padding: 0; }
@media (max-width: 900px) { .poblaciones-lista { columns: 2; } }
@media (max-width: 560px) { .poblaciones-lista { columns: 1; } }
.poblaciones-lista li { margin-bottom: 6px; }

/* ---------- Páginas de ciudad ---------- */
.grid-ciudad { max-width: 980px; margin: 16px 0; }
.cta-ciudad { margin: 28px 0; text-align: left; }

/* ---------- Índice /ciudades (tarjetas verdes) ---------- */
.caa-bloque { margin: 26px 0; text-align: left; }
.caa-bloque h2 { margin-bottom: 10px; }
.caa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.ciudad-card { aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: #e9f8f0; border: 2px solid #bfe6d2; border-radius: 12px; text-decoration: none; padding: 10px; text-align: center; transition: border-color .15s, background .15s, transform .15s; }
.ciudad-card:hover { border-color: #22a06b; background: #d9f2e4; transform: translateY(-2px); }
.ciudad-card .ciudad-nombre { color: #14532d; font-weight: 800; font-size: 15px; line-height: 1.2; }
.ciudad-card .ciudad-provincia { color: #3f8f63; font-size: 12px; font-weight: 600; }

/* ---------- Alta de empresa ---------- */
.form-alta { max-width: 880px; margin: 0 auto 30px; text-align: left; }
.form-alta .campo-input { display: block; margin-bottom: 12px; font-weight: 600; color: #0e2a4d; }
.form-alta input[type=text], .form-alta input[type=email], .form-alta input[type=tel],
.form-alta input[type=url], .form-alta input[type=password], .form-alta textarea {
    width: 100%; padding: 10px 12px; border: 2px solid #e1e8f2; border-radius: 8px; font-size: 15px; margin-top: 4px; background: #fff;
}
.form-alta input:focus, .form-alta textarea:focus { outline: none; border-color: #ff7a1f; box-shadow: 0 0 0 3px rgba(255,122,31,.15); }
.form-alta .dos-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .form-alta .dos-col { grid-template-columns: 1fr; } }
.form-alta fieldset.campo-checks { border: none; padding: 0; margin: 18px 0; }
.form-alta fieldset.campo-checks legend { font-weight: 700; color: #0e2a4d; margin-bottom: 8px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 4px 12px; max-height: 260px; overflow-y: auto; overflow-x: hidden; padding: 10px; border: 2px solid #e1e8f2; border-radius: 10px; background: #fff; }
.check-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: #334155; white-space: normal; overflow: visible; min-width: 0; }
.check-item input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; }
.check-txt { line-height: 1.25; word-break: break-word; }
.check-legal { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 14px; color: #334155; }
.check-legal input { margin-top: 3px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.aviso-alta { background: #eaf4fc; border: 2px solid #1273c4; border-radius: 10px; padding: 14px 18px; margin: 0 auto 18px; max-width: 880px; text-align: left; }
.aviso-error { background: #fdecea; border-color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer { background: #0e2a4d; color: #dce6f2; margin-top: 48px; padding: 36px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { height: 44px; filter: brightness(3); margin-bottom: 10px; }
.footer-col h3 { color: #fff; font-size: 15px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { color: #b9cbe2; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 24px; padding-top: 14px; font-size: 13px; }
.footer-legal a { color: #b9cbe2; }
/* === Selectores del alta: clases nuevas anti-colisión, texto siempre visible === */
.alt-bloque { border: none; padding: 0; margin: 18px 0; }
.alt-bloque legend { font-weight: 700; color: #0e2a4d; margin-bottom: 8px; }
.alt-grid {
    column-count: 3;               /* columnas juntas, sin scroll horizontal */
    column-gap: 18px;
    max-height: 260px;
    overflow-y: auto;
    padding: 10px 12px;
    border: 2px solid #e1e8f2;
    border-radius: 10px;
    background: #fff;
}
@media (max-width: 900px) { .alt-grid { column-count: 2; } }
@media (max-width: 560px) { .alt-grid { column-count: 1; } }
.alt-item {
    display: block;
    margin: 0 0 6px;
    font-size: 14px;
    color: #334155;
    break-inside: avoid;
    cursor: pointer;
}
.alt-item input { width: 15px; height: 15px; margin-right: 6px; vertical-align: -2px; }
.alt-txt { font-weight: 500; }
/* === Oficios: hacia abajo, sin marco y sin scroll === */
.alt-oficios { columns: 3; column-gap: 18px; }
@media (max-width: 900px) { .alt-oficios { columns: 2; } }
@media (max-width: 560px) { .alt-oficios { columns: 1; } }
.alt-oficios .alt-item { break-inside: avoid; }

/* === Ciudades juntas, con pueblos desplegables, sin marco ni scroll === */
.alt-ciudades { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 4px 14px; align-items: start; }
.alt-ciudad { break-inside: avoid; }
.alt-ciudad-head { margin: 0; }
.alt-toggle { background: none; border: none; color: #1273c4; font-size: 12px; cursor: pointer; padding: 2px 0 2px 22px; }
.alt-toggle:hover { text-decoration: underline; }
.alt-pobs { margin: 4px 0 8px 22px; border-left: 2px solid #e1e8f2; padding-left: 10px; }
.alt-pobs .alt-item { margin-bottom: 4px; font-size: 13px; }
/* === Páginas legales (aviso, privacidad, cookies, condiciones) === */
.legal { max-width: 820px; margin: 0 auto 30px; background: #fff; border: 2px solid #e1e8f2; border-radius: 12px; padding: 28px 32px; }
.legal h1 { color: #0e2a4d; font-size: 1.8rem; margin: 0 0 18px; padding-bottom: 10px; border-bottom: 3px solid #1273c4; }
.legal h2 { color: #0e2a4d; font-size: 1.2rem; margin: 24px 0 10px; }
.legal p, .legal li { color: #334155; line-height: 1.7; margin-bottom: 10px; }
.legal ul { padding-left: 1.4rem; }
.legal a { color: #1273c4; text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal-nav { margin-top: 28px; padding-top: 16px; border-top: 1px solid #e1e8f2; display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 14px; font-weight: 600; }
.legal-nav a { color: #1273c4; }
@media (max-width: 600px) {
    .legal { padding: 20px 18px; }
    .legal h1 { font-size: 1.5rem; }
}
.legal h3 { color: #0e2a4d; font-size: 1.05rem; margin: 18px 0 8px; }
/* === Tabla de cookies en páginas legales === */
.legal-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.legal-table th, .legal-table td { padding: 12px 14px; text-align: left; border: 1px solid #e1e8f2; vertical-align: top; }
.legal-table th { background: #0e2a4d; color: #fff; font-weight: 700; }
.legal-table tbody tr:nth-child(even) { background: #f7fafc; }
@media (max-width: 600px) {
    .legal-table { font-size: 13px; }
    .legal-table th, .legal-table td { padding: 8px 10px; }
}
/* === Input de archivo (logo) === */
.form-alta input[type=file] {
    width: 100%;
    padding: 10px 12px;
    border: 2px dashed #cfd9e6;
    border-radius: 8px;
    background: #f7fafc;
    cursor: pointer;
    font-size: 14px;
}
.form-alta input[type=file]:hover { border-color: #1273c4; }
/* === Panel de administración === */
.admin-wrap { max-width: 1100px; margin: 0 auto 40px; text-align: left; }
.admin-wrap h1 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-wrap h2 { margin: 28px 0 10px; }
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 18px 0; }
@media (max-width: 1000px) { .kpis { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.kpi { background: #fff; border: 2px solid #e1e8f2; border-radius: 12px; padding: 14px; }
.kpi .num { font-size: 22px; font-weight: 800; color: #0e2a4d; }
.kpi .lbl { font-size: 11px; color: #7a8698; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.tabla-admin { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
.tabla-admin th, .tabla-admin td { padding: 10px 12px; border-bottom: 1px solid #e1e8f2; text-align: left; vertical-align: top; }
.tabla-admin th { background: #0e2a4d; color: #fff; }
.tabla-admin small { color: #7a8698; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; margin: 1px; }
.badge-verde { background: #e9f8f0; color: #14532d; }
.badge-naranja { background: #fff4e5; color: #c44a00; }
.badge-amarillo { background: #fffbe5; color: #8a6d00; }
.badge-rojo { background: #fdecea; color: #c0392b; }
.admin-login { max-width: 420px; margin: 40px auto; background: #fff; border: 2px solid #e1e8f2; border-radius: 14px; padding: 26px; text-align: left; }
.admin-login label { display: block; margin-bottom: 12px; font-weight: 600; color: #0e2a4d; }
.admin-login input { width: 100%; padding: 10px 12px; border: 2px solid #e1e8f2; border-radius: 8px; margin-top: 4px; }
.badge-azul { background: #eaf4fc; color: #1273c4; }
/* === Panel de proveedor === */
.lead-card{background:#fff;border:2px solid #e1e8f2;border-radius:12px;padding:16px;margin-bottom:14px}
.lead-card h3{margin:0 0 6px}
.lead-meta{color:#7a8698;font-size:13px;margin-bottom:8px}
.lead-datos{font-size:14px;margin-bottom:10px}
.lead-acciones{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.btn-mini{padding:6px 12px;border-radius:999px;border:2px solid #cfd9e6;background:#fff;color:#0e2a4d;font-weight:700;font-size:12px;cursor:pointer}
.btn-mini:hover{border-color:#1273c4}
.btn-mini.activo{background:#1273c4;border-color:#1273c4;color:#fff}
.btn-mini.disputa{border-color:#c0392b;color:#c0392b}
.lead-disputa{display:flex;gap:6px;margin-top:10px}
.lead-disputa input[type=text]{flex:1;padding:6px 10px;border:2px solid #e1e8f2;border-radius:8px;font-size:13px}
.panel-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:10px}
/* === Botón de login de proveedores en la cabecera === */
.site-header nav { display: flex; align-items: center; gap: 10px; }
.site-header nav a.btn-login {
    display: inline-block; padding: 9px 16px;
    border: 2px solid #1273c4; color: #1273c4 !important;
    border-radius: 8px; font-weight: 700; font-size: 13px;
    text-decoration: none !important; background: transparent;
    transition: background .15s, color .15s, transform .15s;
}
.site-header nav a.btn-login:hover { background: #1273c4; color: #fff !important; transform: translateY(-1px); }
@media (max-width: 600px) {
    .site-header nav { gap: 6px; }
    .site-header nav a.btn-login, .site-header nav a.btn-profesional { padding: 7px 10px; font-size: 12px; }
}
/* === Precio orientativo en la cabecera de la ficha === */
.precio-cabecera{
    display:flex;flex-wrap:wrap;align-items:center;gap:10px;
    background:#fff;border:2px solid #ffd9b8;border-left:6px solid #ff7a1f;
    border-radius:12px;padding:14px 18px;margin:14px 0 24px;max-width:760px;
}
.precio-cabecera .precio-label{font-weight:600;color:#0e2a4d;font-size:14px}
.precio-cabecera .precio-num{font-size:22px;font-weight:800;color:#c44a00}
.precio-cabecera .precio-nota{color:#7a8698;font-size:13px}
/* === Información de la zona en la ficha === */
.info-zona{max-width:900px;margin:26px 0;text-align:left}
.info-zona h2{margin-bottom:10px}
.info-zona p{line-height:1.7;color:#334155;margin-bottom:8px}
.lead-pendiente{border-left:6px solid #f5a623;background:#fffdf7}
.btn-mini.aceptar{background:#22a06b;border-color:#22a06b;color:#fff}
.btn-mini.aceptar:hover{background:#1c8559;border-color:#1c8559}
.btn-mini.rechazar{background:#fff;border-color:#c0392b;color:#c0392b}
.btn-mini.rechazar:hover{background:#c0392b;color:#fff}
.lead-id{color:#7a8698;font-weight:700;margin-right:4px}
.rechazadas-bloque{margin-top:24px;background:#fff;border:2px solid #e1e8f2;border-radius:12px;padding:14px 16px}
.rechazadas-bloque summary{cursor:pointer;font-weight:700;color:#0e2a4d}
.lead-rechazada{opacity:.65;border-left:6px solid #c0392b;background:#fafafa;margin-top:12px}
.estrellas-input{display:inline-flex;flex-direction:row-reverse;font-size:38px;gap:2px}
.estrellas-input input{position:absolute;opacity:0}
.estrellas-input label{color:#dcdcdc;cursor:pointer;transition:color .1s}
.estrellas-input input:checked ~ label,
.estrellas-input label:hover,
.estrellas-input label:hover ~ label{color:#f5a623}