/* RSH ÍNTEGRA BOT V11 - identidad institucional auténtica + chat ciudadano. */
:root{--navy:#092e5d;--rgreen:#11812d}
html{scroll-padding-top:110px}#asistente,#funciones,#modelo,#canales{scroll-margin-top:115px}
.topbar{background:#093665;color:white;box-shadow:0 3px 19px #09233e26}
.topbar .navrow{width:min(1480px,calc(100% - 28px));min-height:92px;gap:12px}
.topbar .brand{color:white;gap:12px;flex-shrink:0}
.topbar .brand img{width:62px;height:62px;object-fit:contain;border-radius:50%;background:#fff;border:2px solid #e9f4fe;padding:2px}
.topbar .brand strong{font-size:16px;line-height:1.05;color:white;letter-spacing:-.2px}
.topbar .brand small{color:#d9ecfb;font-size:10px;margin-top:5px;letter-spacing:.09em}
.topbar nav{gap:2px;justify-content:center}
.topbar nav a{color:#e7f5ff;font-size:12px;padding:9px 8px;white-space:nowrap;border-radius:8px}
.topbar nav a:hover{background:#ffffff20;color:#fff}
.topbar nav .backsite{border-color:#ffffff50;background:#ffffff14}
.topbar .rsh-language{color:white;flex-shrink:0;font-size:11px}
.topbar .rsh-language select{background:white;color:#082f60;max-width:155px}
.hero-v11{background:linear-gradient(122deg,#fcfeff 0%,#f1faff 57%,#effbf5 100%);border-bottom:1px solid #d5e9ef}
.identidad-v11{position:relative;overflow:hidden;padding:25px 30px 34px;max-width:1220px;margin:18px auto 22px;border:1px solid #d9ebf4;background:white;border-radius:23px;box-shadow:0 13px 34px #133b6620;text-align:center}
.identidad-v11:before{content:'';position:absolute;top:-75px;right:-120px;height:225px;width:330px;border-radius:50%;background:linear-gradient(115deg,#049fdd,#0b4d8f);transform:rotate(-18deg);opacity:.10;pointer-events:none}
.identidad-marca{display:flex;align-items:center;gap:20px;min-height:140px;text-align:left;max-width:680px}
.logo-real{width:135px;height:135px;object-fit:contain;flex:none;border-radius:50%;background:white}
.nombre-institucion{padding-left:18px;border-left:3px solid #1263ad;color:#0b3563;line-height:1.08;font-weight:850;font-size:clamp(23px,2.7vw,38px)}
.nombre-institucion span,.nombre-institucion strong,.nombre-institucion small{display:block}
.nombre-institucion small{font-size:15px;letter-spacing:.18em;margin-top:12px;font-weight:650}
.mascota-v11{position:absolute;right:6.2%;top:3px;height:228px;width:237px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 7px 8px #0b2e591f)}
.identidad-v11 h1{font-weight:900;letter-spacing:-.055em;font-size:clamp(44px,5.6vw,82px);line-height:1.1;margin:31px 0 12px;position:relative;z-index:1;color:#0a3163}
.identidad-v11 h1 em{font-style:normal;color:#18902c}
.lema-v11{color:#fff;background:linear-gradient(95deg,#0d548f,#07336c);border-right:9px solid #51bf3d;border-radius:18px;font-size:clamp(15px,2.1vw,25px);font-weight:750;font-style:italic;max-width:950px;margin:0 auto;padding:11px 17px;line-height:1.4}
.descripcion-v11{font-size:clamp(14px,1.9vw,21px);color:#0c3769;font-weight:600;margin:18px 0 7px}
.acciones-v11{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:20px}
.acciones-v11 .btn-primary{background:linear-gradient(100deg,#038a28,#24ae40);color:white;font-size:14px;box-shadow:0 8px 22px #16963835}
.acciones-v11 .btn-light{font-size:14px}
.identidad-v11 .hero-notice{max-width:900px;margin:18px auto 0;font-size:12px;text-align:center;background:#f4fafc;border:1px solid #deedf3;border-radius:11px;padding:9px}
/* More approachable chat appearance */
.chat-section{padding:48px 0 65px}.chat-layout{grid-template-columns:minmax(0,1.6fr) minmax(275px,.7fr);gap:20px}
.chat-frame{height:690px;border:1px solid #bfdeed;border-radius:25px;box-shadow:0 19px 50px #0b477026}
.chat-only .chat-head{min-height:92px;background:linear-gradient(110deg,#0a3568,#086783);gap:11px;padding:13px 17px}
.chat-only .chat-robot{width:63px;height:63px;object-fit:cover;object-position:50% 18%;border-radius:50%;border:2px solid #ffffffa8;background:#e3faff;padding:1px}
.chat-only .chat-heading strong{font-size:17px;line-height:1.2}
.chat-only .chat-heading small{font-size:11px}
.chat-only .rsh-language--chat{color:#fff;width:auto}
.chat-only .rsh-language--chat select{min-height:40px;max-width:110px;border-radius:11px;background:white;color:#10345c;padding:5px;font-size:12px}
.chat-only .messages{gap:16px;padding:18px;background:linear-gradient(180deg,#f1f8ff,#fff);}
.chat-only .message-avatar{width:43px;height:43px;object-fit:cover;object-position:50% 15%;border-radius:50%;background:#f6fcff;border:1px solid #c1e0ee;padding:2px}
.chat-only .bubble{font-size:14px;line-height:1.65;padding:12px 15px;box-shadow:0 3px 13px #0c3b6411}
.chat-only .user-message .bubble{background:#0d5488;border-color:#0d5488}
.chat-only .quick-label{padding:10px 14px 0;background:#fff;color:#355a76;font-weight:800;font-size:12px;border-top:1px solid #e7f0f5}
.chat-only .quick-chips{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:10px 14px;border:0;overflow:visible;}
.chat-only .quick-chips button{white-space:normal;min-width:0;min-height:42px;border-radius:12px;background:#edf8f5;color:#075e66;border-color:#bce4dd;text-align:center;font-size:11px;line-height:1.35;padding:7px 4px;}
.chat-only .quick-chips button:hover{background:#d6f2e7}
.chat-only .chat-form{padding:11px 14px;gap:9px}
.chat-only .chat-form input{border-radius:15px;min-height:48px;background:#f8fcff}
.chat-only .send-button{background:#0b8d4b;width:48px;height:48px;border-radius:15px}
.chat-only .send-button:hover{background:#056836}
.chat-only .chat-note{font-size:10px;padding:1px 12px 9px;color:#556b7b}
@media(max-width:1200px){.topbar .navrow{flex-wrap:wrap;padding:10px 0;gap:7px}.topbar nav{flex-wrap:wrap;justify-content:center;flex:1}.mascota-v11{right:3%;}}
@media(max-width:900px){.identidad-marca{max-width:570px}.mascota-v11{width:190px;height:198px;right:1%}.nombre-institucion{font-size:27px}.logo-real{width:112px;height:112px}.chat-layout{grid-template-columns:1fr}.chat-frame{height:670px}}
@media(max-width:650px){.topbar .navrow{align-items:stretch;gap:7px}.topbar .brand img{width:48px;height:48px}.topbar .brand strong{font-size:13px}.topbar nav{justify-content:flex-start;gap:2px}.topbar nav a{font-size:10px;padding:5px 7px}.topbar .rsh-language{width:100%;justify-content:flex-start}.identidad-v11{padding:15px 12px 18px;margin:10px auto;border-radius:16px}.identidad-marca{gap:8px;align-items:center;min-height:90px}.logo-real{width:80px;height:80px}.nombre-institucion{font-size:17px;padding-left:8px;border-left-width:2px}.nombre-institucion small{font-size:8px;letter-spacing:.08em;margin-top:7px}.mascota-v11{position:relative;width:150px;height:165px;right:auto;top:auto;margin:0 auto -7px}.identidad-v11 h1{font-size:clamp(35px,9vw,55px);letter-spacing:-.06em;margin:7px 0 11px;white-space:normal}.lema-v11{font-size:14px;border-radius:12px;padding:11px 7px}.descripcion-v11{font-size:13px;line-height:1.5}.acciones-v11{flex-direction:column}.acciones-v11 .btn{width:100%;font-size:12px}.identidad-v11 .hero-notice{font-size:10px}.chat-frame{height:670px}.chat-only .chat-head{padding:9px;gap:7px;min-height:76px}.chat-only .chat-robot{width:48px;height:48px}.chat-only .chat-heading strong{font-size:13px}.chat-only .chat-heading small{font-size:9px}.chat-only .rsh-language--chat select{max-width:94px;min-height:36px;font-size:11px}.chat-only .icon-button{height:34px;width:34px;font-size:21px}.chat-only .quick-chips{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-only .quick-chips button{font-size:11px;min-height:36px}.chat-only .messages{padding:11px}.chat-only .bubble{font-size:12.5px}.chat-only .chat-note{font-size:9px}}
