/*
Theme Name: Reclamo.pe V4.2.9
Theme URI: https://www.reclamo.pe/
Author: Marketing Branding
Description: Directorio de empresas, orientación al consumidor y constancias de reclamo con moderación. Diseño V4 adaptable a contenido existente.
Version: 4.2.9
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: reclamov4
License: GPL-2.0-or-later
*/

:root{--ink:#132441;--navy:#101f3d;--blue:#405dff;--coral:#fa644e;--teal:#0aab91;--muted:#64738e;--line:#e2e8f2;--shadow:0 22px 60px rgba(24,40,78,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,'Segoe UI',Arial,sans-serif;color:var(--ink);font-size:15px;background:white}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #9aa9ff;outline-offset:3px}.container{width:min(1190px,calc(100% - 42px));margin:auto}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.045em}h2{font-size:clamp(29px,3vw,43px);line-height:1.16}p{line-height:1.64}.muted{color:var(--muted)}
.top{background:#111f3b;color:#e1e8f7;text-align:center;padding:9px 16px;font-size:12px}.top b{color:white}.top span{color:#ff795e;margin:0 12px}.header{position:sticky;top:0;background:rgba(255,255,255,.98);border-bottom:1px solid #e9eef7;z-index:50;backdrop-filter:blur(10px)}.nav{min-height:90px;display:flex;align-items:center;justify-content:space-between;gap:22px}.logo{display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:26px;letter-spacing:-.06em;font-weight:900}.logo-mark{display:grid;place-items:center;background:var(--coral);color:#fff;width:42px;height:42px;border-radius:13px;transform:rotate(-8deg)}.logo i{font-style:normal;color:var(--coral)}.nav-links{display:flex;align-items:center;gap:29px;font-weight:700;font-size:14px;color:#4d5c73}.nav-links a:hover{color:var(--blue)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--blue);color:#fff;border:0;padding:15px 23px;font-size:14px;font-weight:800;border-radius:14px;box-shadow:0 10px 30px rgba(63,89,230,.20)}.btn:hover{background:#3049dd;transform:translateY(-1px)}.nav-cta{font-size:18px;min-height:65px;padding:16px 27px;border-radius:17px;box-shadow:0 13px 34px #455cff55;background:linear-gradient(135deg,#4562ff,#2e49e7);animation:softpulse 3s ease-in-out infinite}.mobile-toggle{display:none;border:1px solid var(--line);background:white;border-radius:11px;padding:9px 12px}
.hero{position:relative;overflow:hidden;background:radial-gradient(circle at 20% 10%,#fff8f4,transparent 38%),linear-gradient(115deg,#fcfdff,#f0f4ff 64%,#fff7f2)}.hero-grid{display:grid;grid-template-columns:1.06fr .94fr;gap:58px;align-items:center;padding:88px 0 92px;min-height:625px}.eyebrow{font-size:12px;letter-spacing:.13em;font-weight:800;color:var(--blue);text-transform:uppercase}.eyebrow:before{content:'•';color:var(--coral);margin-right:8px}.hero h1{font-size:clamp(44px,5.3vw,72px);line-height:1.09;margin:25px 0 23px;font-weight:850;max-width:700px}.hero h1 span{color:var(--coral)}.hero-copy{color:#5f6f8c;font-size:18px;max-width:620px}.search-form{display:flex;align-items:center;gap:10px;padding:7px 7px 7px 18px;background:#fff;border:1px solid #dbe3f1;border-radius:19px;margin-top:31px;box-shadow:0 17px 35px #263d791c}.search-form input{min-width:0;width:100%;border:0;outline:0;padding:12px 0;color:#172b4a;font-size:16px}.search-form .btn{white-space:nowrap}.fast{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-top:15px;color:#6e7e98;font-size:12px}.fast button{border:1px solid #dae3f3;background:white;color:#40536f;border-radius:99px;padding:6px 12px;font-weight:700}.hero-art{position:relative;height:465px;display:grid;place-items:center}.orbit{position:absolute;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,#dfe8ff,#eff3ff 58%,transparent 69%)}.path-card{width:365px;background:#fff;border-radius:26px;padding:27px;box-shadow:0 30px 70px #1b315029;border:1px solid #e1e7f4;transform:rotate(2deg);position:relative}.path-card header{display:flex;justify-content:space-between;align-items:center;gap:5px;padding-bottom:13px;font-weight:800;font-size:16px}.path-card header small{border-radius:100px;color:#008b76;background:#ddf9f1;padding:7px;font-size:10px}.path-step{display:flex;align-items:center;gap:12px;border-top:1px solid #edf1f7;padding:13px 0}.path-step .num{display:grid;place-items:center;background:#eaf0ff;color:#3e59fb;font-weight:800;border-radius:11px;width:38px;height:38px}.path-step strong{font-size:13px}.path-step small{display:block;color:#8290a5;margin-top:3px;font-size:11px}.path-step .tick{margin-left:auto;color:#0eac90;font-size:22px}.path-foot{background:#f4f7ff;color:#465678;font-size:12px;font-weight:700;padding:12px;border-radius:12px;margin-top:10px}.floating{position:absolute;border:1px solid #e3ebf5;border-radius:14px;background:#fff;padding:12px 14px;box-shadow:var(--shadow);font-size:12px;font-weight:700;animation:float 5s ease-in-out infinite}.floating.one{left:-12px;bottom:54px;transform:rotate(-6deg)}.floating.two{right:0;top:27px;animation-delay:-2s}.mini-stream{position:absolute;left:50px;right:22px;bottom:-16px;white-space:nowrap;overflow:hidden;background:var(--navy);border-radius:99px;color:#e2eaff;padding:14px 0;font-size:11px;box-shadow:0 14px 35px #20356e33}.mini-stream b{display:inline-block;padding-left:18px;animation:marquee 24s linear infinite}.mini-stream i{color:#ff917b;font-style:normal;margin:0 13px}
.section{padding:84px 0}.section-head{display:flex;justify-content:space-between;gap:25px;align-items:end;margin-bottom:25px}.section-head h2{margin-top:11px}.section-head p{color:var(--muted);max-width:660px;margin-top:12px}.dir{background:linear-gradient(#fff,#f7f9ff)}.dir-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 17px}.filters{display:flex;gap:8px;flex-wrap:wrap}.chip{padding:10px 14px;border:1px solid #dbe3f0;border-radius:99px;background:#fff;color:#546580;font-size:13px;font-weight:750}.chip:hover,.chip.active{background:var(--navy);color:#fff;border-color:var(--navy)}.see-categories{border:1px solid #b8c8ff;background:#eaf0ff;color:#2e50db;padding:11px 15px;border-radius:12px;font-size:13px;font-weight:800}.category-panel{display:none;background:#fff;border:1px solid #dce5f5;padding:22px;border-radius:19px;box-shadow:0 15px 40px #263d7913;margin-bottom:20px}.category-panel.open{display:block}.category-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.category-panel input{border:1px solid #d9e2f0;border-radius:10px;padding:11px 13px;width:min(360px,100%)}.category-list{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;max-height:350px;overflow-y:auto}.cat-item{display:flex;align-items:center;gap:9px;text-align:left;padding:10px;background:#f8faff;border:1px solid #edf1f8;border-radius:11px;color:#394b6a;font-size:12px;font-weight:700}.cat-item:hover,.cat-item.active{background:#edf2ff;border-color:#a8bcff;color:#3453cf}.cat-item small{margin-left:auto;color:#8b98b0}.directory-count{font-size:12px;font-weight:700;color:#63738e}.company-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.company-card{background:#fff;border:1px solid #dde5f1;border-radius:20px;padding:23px;min-height:229px;box-shadow:0 8px 25px #182b4d0a;position:relative;display:flex;flex-direction:column}.company-card:before{content:'';position:absolute;top:0;left:0;right:0;height:5px;background:linear-gradient(90deg,#4166ff,#0ab89e,#ff7056);border-radius:20px 20px 0 0}.company-card:hover{transform:translateY(-4px);box-shadow:0 20px 42px #263d791a}.company-title{display:flex;align-items:center;gap:12px}.brand-logo{height:56px;width:56px;border-radius:14px;border:1px solid #edf0f5;background:#fff;object-fit:contain;padding:8px;flex:none}.brand-fallback{height:56px;width:56px;border-radius:14px;background:#edf1ff;color:#3e57b2;font-weight:850;display:none;place-items:center;flex:none}.company-title h3{font-size:16px;line-height:1.25}.company-title span{font-size:12px;color:#8491aa;display:block;margin-top:4px}.company-card>p{color:#657592;font-size:13px;line-height:1.6;margin-top:20px}.company-bottom{margin-top:auto;padding-top:16px;display:flex;justify-content:space-between;gap:8px;align-items:center;border-top:1px solid #ecf1f7}.company-bottom small{font-size:11px;color:#8491a8}.company-bottom button{border:0;color:#3657ea;background:transparent;font-size:12px;font-weight:800;white-space:nowrap}.directory-footer{text-align:center;padding-top:22px}.btn-secondary{background:white;color:#2b4bd9;border:1px solid #d7e1f6;box-shadow:none}.btn-secondary:hover{background:#edf2ff}.empty{grid-column:1/-1;border:1px dashed #bbc8dd;padding:35px;text-align:center;color:var(--muted);background:#fff;border-radius:19px}.empty strong{display:block;font-size:19px;margin-bottom:8px;color:var(--ink)}
.how{background:linear-gradient(135deg,#101d36,#142c55 60%,#101d36);color:#fff}.how .eyebrow{color:#b2c3ff}.how .section-head p{color:#c1cfe4}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.how-card{padding:29px;background:#1d3559;border:1px solid #344a6e;border-radius:20px;min-height:226px}.how-card .no{display:grid;place-items:center;height:40px;width:40px;border-radius:13px;background:#4061f4;font-size:15px;font-weight:800;margin-bottom:24px}.how-card:nth-child(2) .no{background:#ff6f57}.how-card:nth-child(3) .no{background:#07a98f}.how-card h3{font-size:19px;margin-bottom:9px}.how-card p{color:#c2cde0;font-size:14px}.how-actions{display:flex;gap:15px;align-items:center;margin-top:28px;flex-wrap:wrap}.how-actions .btn{background:#ff6951}.how-actions small{color:#b9c8e1}
.helper{background:#f5f8ff;padding-bottom:105px}.helper-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:75px;align-items:start}.helper h2{margin-top:16px}.helper .lead{font-size:16px;color:#6b7c99;margin-top:19px}.helper-bullets{display:grid;gap:16px;margin-top:29px;color:#4e6381}.helper-bullets div{display:flex;align-items:center;gap:12px}.helper-bullets b{background:#405eff;border-radius:50%;height:25px;width:25px;color:white;display:grid;place-items:center}.wizard{background:white;border:1px solid #dae4f4;border-radius:25px;padding:33px;box-shadow:0 27px 55px #253d761f;position:relative;overflow:hidden}.wizard:before{content:'';height:7px;position:absolute;top:0;left:0;right:0;background:linear-gradient(90deg,#4464ff,#ff7a4a,#0dbd9d)}.wizard h3{font-size:24px}.wizard p{color:#7b89a1;font-size:13px;margin:10px 0 18px}.field{display:grid;gap:7px;margin-top:16px}.field label{font-size:13px;font-weight:800;color:#40516d}.field input,.field textarea,.field select{background:#f8faff;border:1px solid #dbe2ef;color:#1e3150;border-radius:12px;padding:13px;width:100%}.field textarea{height:118px;resize:vertical}.wizard .btn{width:100%;margin-top:20px;min-height:51px}.small-print{font-size:11px;color:#7d8da7;margin-top:14px}.result{display:none;background:#f3f7ff;border:1px solid #d8e4ff;padding:17px;border-radius:13px;margin-top:16px}.result.show{display:block}.result pre{font:inherit;white-space:pre-wrap;line-height:1.6;margin:12px 0;color:#304768}.result a,.result button{color:#2c50e4;font-size:13px;font-weight:800;border:0;background:none;padding:6px 10px 6px 0}.footer{background:#101e39;color:#d9e3f1;padding:34px 0}.footer .container{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px}.footer a{color:#e1eaff;text-decoration:underline}.modal{position:fixed;inset:0;z-index:100;background:#101b32ba;display:none;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(6px)}.modal.open{display:flex}.dialog{background:white;width:min(570px,100%);border-radius:22px;padding:27px;max-height:90vh;overflow:auto}.dialog h3{font-size:23px}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-close{border:1px solid #e1e7f0;border-radius:9px;background:#fff;width:35px;height:35px;font-size:21px}.dialog p{color:#566b85;font-size:14px;margin-top:16px}.dialog-buttons{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}.dialog-buttons .btn{font-size:13px}.dialog-info{background:#eef4ff;border-radius:13px;padding:13px;margin-top:15px;color:#46607f;font-size:13px}.dialog-info a{color:#3259e6;text-decoration:underline}.toast{display:none;position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:101;background:#132644;color:white;padding:12px 20px;border-radius:11px;box-shadow:var(--shadow)}.toast.show{display:block}
@keyframes softpulse{50%{box-shadow:0 18px 45px #455cff79}}@keyframes float{50%{translate:0 -8px}}@keyframes marquee{to{transform:translateX(-50%)}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
@media(max-width:1020px){.nav-links{gap:14px}.nav-cta{font-size:14px;min-height:52px;padding:14px}.hero-grid{gap:10px}.category-list{grid-template-columns:repeat(3,1fr)}.company-grid{grid-template-columns:repeat(2,1fr)}.helper-grid{gap:35px}}
@media(max-width:780px){.nav{min-height:72px}.nav-links{display:none;position:absolute;top:72px;left:0;right:0;background:white;padding:19px;box-shadow:0 16px 28px #12213a20;flex-direction:column;align-items:start}.nav-links.open{display:flex}.nav-cta{margin-left:auto;font-size:12px;padding:11px 13px;min-height:44px}.mobile-toggle{display:block}.logo{font-size:22px}.logo-mark{width:34px;height:34px}.hero-grid{grid-template-columns:1fr;padding:66px 0}.hero-art{margin-top:12px}.section{padding:65px 0}.category-list{grid-template-columns:repeat(2,1fr)}.how-grid{grid-template-columns:1fr}.helper-grid{grid-template-columns:1fr}.footer .container{flex-direction:column;text-align:center}}
@media(max-width:530px){.container{width:calc(100% - 32px)}.top{font-size:10px}.logo{font-size:19px;gap:7px}.nav{gap:6px}.nav-cta{font-size:11px;padding:9px 10px}.nav-cta span{display:none}.hero-grid{padding:46px 0 54px}.hero h1{font-size:43px}.hero-copy{font-size:15px}.search-form{gap:5px}.search-form .btn{padding:12px 13px;font-size:13px}.search-form input{font-size:13px}.hero-art{height:390px}.orbit{height:345px;width:345px}.path-card{width:295px;padding:18px;transform:none}.floating.one{left:0;bottom:42px}.floating.two{right:0;top:0}.mini-stream{left:0;right:0;bottom:-5px}.company-grid{grid-template-columns:1fr}.category-list{grid-template-columns:1fr}.section-head{display:block}.dir-meta{display:block}.see-categories{margin-top:13px}.category-panel-head{display:block}.category-panel input{margin-top:12px}.wizard{padding:22px}.how-card{min-height:auto}}

/* Refinamientos V4 */
.complaint-zone{height:102px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:10px;margin:12px 0 -10px;overflow:visible}
.complaint-label{font-size:10px;font-weight:800;letter-spacing:.1em;color:#64738c}
.complaint-bubble{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:800;line-height:1.25;padding:13px 19px;color:#ba241a;background:#fff1ef;border:2px solid #ff6b5b;border-radius:13px;box-shadow:0 12px 34px #f24a3830;max-width:100%;animation:complaintFlash 3.1s ease-in-out both}
.complaint-bubble:before{content:'!';display:grid;place-items:center;height:22px;width:22px;flex:none;border-radius:50%;background:#e53935;color:#fff;font-weight:900;font-size:13px}
@keyframes complaintFlash{0%{opacity:0;transform:translateY(10px) scale(.97)}12%{opacity:1;transform:translateY(0) scale(1)}75%{opacity:1;transform:translateY(0) scale(1)}100%{opacity:0;transform:translateY(-7px) scale(.98)}}
.chip-others{background:#fff2ee;color:#c23b25;border-color:#ffd0c6}.chip-others:hover,.chip-others.active{background:#d93529;color:#fff;border-color:#d93529}
.see-categories{background:linear-gradient(120deg,#4263ff,#2c49d9);color:#fff;font-size:13px;border:0;padding:14px 18px;box-shadow:0 12px 24px #405dff30}.see-categories:hover{transform:translateY(-2px)}
.directory-search-inline{display:none;align-items:center;gap:14px;margin:8px 0 18px;background:#f2f6ff;padding:16px 19px;border:1px solid #dbe5ff;border-radius:17px}.directory-search-inline.open{display:flex}.directory-search-inline label{font-weight:800;color:#263d61;white-space:nowrap;font-size:13px}.directory-search-control{display:flex;flex:1;gap:8px;align-items:center}.directory-search-control input{min-width:0;width:100%;background:#fff;border:1px solid #cbd8ee;padding:12px 13px;border-radius:11px;color:#1a2c48;outline:0}.directory-search-control .btn{white-space:nowrap}
.company-bottom a{border:0;color:#3155e7;background:transparent;font-size:12px;font-weight:800;white-space:normal;text-align:right;max-width:60%;line-height:1.35}.company-bottom a:hover{text-decoration:underline}
.empty-v4{grid-column:1/-1;padding:39px 28px;background:linear-gradient(135deg,#fff7f5,#f3f6ff);border:1px dashed #a9b9df;border-radius:22px;text-align:center}.empty-v4 .empty-icon{font-size:32px;margin-bottom:8px}.empty-v4 h3{font-size:21px;margin-bottom:9px}.empty-v4 p{font-size:14px;color:#586a87;margin:0 auto 20px;max-width:630px}.empty-v4 .btn{padding:15px 25px}
@media(max-width:780px){.complaint-zone{height:104px}.directory-search-inline.open{display:block}.directory-search-inline label{display:block;margin-bottom:8px}}
@media(max-width:530px){.complaint-bubble{font-size:12px;padding:10px 12px}.complaint-zone{height:102px}.dir-meta{display:flex;align-items:center}.filters{gap:6px}.chip{font-size:11px;padding:8px 10px}.see-categories{margin-top:10px;width:100%}.directory-search-control{flex-direction:column}.directory-search-control .btn{width:100%}}


/* WordPress V4 production enhancements */
[hidden]{display:none!important}.rpe-status{font-weight:700;color:#536380}.rpe-empty{grid-column:1/-1;padding:38px 28px;background:linear-gradient(120deg,#fff6f4,#f4f7ff);border:1px dashed #acbee2;border-radius:22px;text-align:center}.rpe-empty h3{font-size:23px;margin-bottom:10px}.rpe-empty p{max-width:650px;margin:0 auto 18px;color:#5e6e87}.rpe-empty .btn{display:inline-flex}
.company-card .brand-logo{object-fit:contain;max-width:56px;max-height:56px}.company-card .brand-fallback{display:grid;place-items:center;font-weight:800;background:#edf2ff;border-radius:13px;color:#3055e5;width:56px;height:56px;flex:none}.company-bottom a{max-width:75%}
.rpe-page{background:linear-gradient(180deg,#f6f8ff 0%,#fff 520px);min-height:70vh;padding:65px 0 110px}.rpe-page .container{max-width:1100px}.rpe-breadcrumb{font-size:13px;color:#64738e;margin-bottom:20px}.rpe-breadcrumb a{color:#3559dd;font-weight:800}.rpe-heading{font-size:clamp(32px,4vw,53px);line-height:1.12;margin:12px 0 20px}.rpe-company-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.85fr);gap:28px}.rpe-surface{background:#fff;padding:29px;border:1px solid #dce5f4;box-shadow:0 18px 45px #192c550f;border-radius:23px}.rpe-surface+.rpe-surface{margin-top:22px}.rpe-side{position:sticky;top:120px;align-self:start}.rpe-hero-title{display:flex;gap:22px;align-items:center}.rpe-company-logo{width:94px;height:94px;display:grid;place-items:center;background:#f2f5fd;border-radius:22px;border:1px solid #e5eaf3;overflow:hidden;flex:none}.rpe-company-logo img{width:90%;height:90%;object-fit:contain}.rpe-company-logo .brand-fallback{font-size:28px;font-weight:800;color:#3153d5}.rpe-post-content{line-height:1.8;color:#40516b}.rpe-post-content p{margin:0 0 15px}.rpe-post-content ul{padding-left:21px}.rpe-post-content h2,.rpe-post-content h3{margin:27px 0 12px}.rpe-aside-title{font-size:22px;margin-bottom:12px}.rpe-link{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:14px 18px;border-radius:14px;background:#405dff;color:#fff;font-weight:800;margin-top:13px;text-decoration:none}.rpe-link:hover{background:#2849e7}.rpe-link.secondary{background:#eaf0ff;color:#3155cc}.rpe-link.secondary:hover{background:#dce5ff}.rpe-muted{font-size:13px;line-height:1.6;color:#697891}.rpe-form{display:grid;gap:13px}.rpe-form label{font-size:13px;font-weight:800;color:#273d5f;display:block;margin-bottom:7px}.rpe-form input,.rpe-form textarea,.rpe-form select{width:100%;border:1px solid #d6dfed;border-radius:12px;background:#fff;padding:14px 15px;color:#1d2e4b}.rpe-form textarea{min-height:140px;resize:vertical}.rpe-form .btn{border:0}.rpe-check{display:flex;gap:11px;align-items:flex-start;font-size:12px;line-height:1.55;color:#66758b}.rpe-check input{width:auto;margin-top:4px}.rpe-check label{font-weight:500;margin:0}.rpe-notice{margin:17px 0;border-left:4px solid #405dff;background:#f0f5ff;padding:15px 17px;border-radius:9px;color:#344a6d}.rpe-notice.good{border-color:#0ba889;background:#eefbf7}.rpe-notice.bad{border-color:#f15b47;background:#fff2ee}.rpe-comment{border:1px solid #e2e8f3;padding:18px 20px;border-radius:17px;margin-top:14px;background:#fff}.rpe-comment-meta{font-size:12px;color:#73829a;margin-bottom:10px}.rpe-comment p{white-space:pre-line;line-height:1.65;color:#344864}.rpe-count{font-weight:800;color:#51607b;font-size:13px;margin-bottom:16px}.rpe-footnote{font-size:12px;color:#73809a;margin-top:22px;line-height:1.6}.rpe-honeypot{position:absolute!important;left:-9999px!important}.rpe-pagination{display:flex;gap:10px;align-items:center;justify-content:center;margin-top:20px}.rpe-pagination a,.rpe-pagination span{padding:10px 14px;border-radius:11px;background:#f0f4fe;color:#314da7}.rpe-admin-brand{font-size:12px;color:#78859c}.rpe-simple-list{display:grid;gap:15px}.rpe-simple-list article{padding:19px;border:1px solid #e5eaf2;border-radius:16px;background:white}.rpe-simple-list article h2{font-size:20px}
@media(max-width:850px){.rpe-company-grid{grid-template-columns:1fr}.rpe-side{position:static}.rpe-page{padding:44px 0 80px}}
@media(max-width:530px){.rpe-hero-title{align-items:flex-start;gap:14px}.rpe-company-logo{width:66px;height:66px;border-radius:14px}.rpe-surface{padding:21px}.rpe-heading{font-size:29px}.rpe-page{padding-top:28px}}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.screen-reader-text:focus{position:fixed;top:10px;left:10px;width:auto;height:auto;padding:12px;clip:auto;overflow:visible;z-index:1000;background:#fff;color:#1a2b46;border-radius:8px}

/* === V4.1 Histórico de constancias (revisión de privacidad antes de publicar) === */
.rpe-sortbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:6px 0 14px;color:#526481;font-size:13px}
.rpe-sortbar label{font-weight:800;color:#183052}.rpe-sortbar select{padding:10px 12px;border-radius:10px;border:1px solid #cedaf0;background:white;color:#183052;max-width:100%}.rpe-sortbar span{font-size:11px;color:#7786a0}
.rpe-history-home{background:linear-gradient(130deg,#ecf2ff,#fff 58%,#fff6f1)}
.rpe-history-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.rpe-history-card{background:#fff;border:1px solid #dfe7f4;border-radius:20px;padding:22px;box-shadow:0 13px 35px rgba(19,38,77,.07);display:flex;flex-direction:column;min-height:222px}
.rpe-history-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:7px;align-items:center;font-size:12px;margin-bottom:13px}
.rpe-history-meta span{font-weight:900;color:#17345e}.rpe-history-meta time{color:#8795aa}
.rpe-history-card p{font-size:14px;line-height:1.65;color:#415474;overflow-wrap:anywhere;flex:1}
.rpe-history-card a{font-size:13px;color:#3455e9;font-weight:800;margin-top:18px}
.rpe-history-card a:hover{text-decoration:underline}
.rpe-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px;margin-top:23px}
.rpe-pagination a{font-size:13px;font-weight:800;color:#3657ea;background:#eaf0ff;border:1px solid #d0dcff;padding:12px 16px;border-radius:12px}
.rpe-pagination span{color:#60728d;font-size:13px}
@media(max-width:900px){.rpe-history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.rpe-history-grid{grid-template-columns:1fr}.rpe-sortbar{align-items:stretch;flex-direction:column}.rpe-sortbar select{width:100%}}


/* V4.2 ajustes solicitados */
.company-card{min-height:300px;padding:26px}
.company-main-link{text-decoration:none;color:inherit;display:block}
.company-title{align-items:flex-start;gap:16px}
.brand-logo,.company-card .brand-logo{width:132px;height:132px;max-width:132px;max-height:132px;border-radius:28px;padding:14px}
.brand-fallback,.company-card .brand-fallback{width:132px;height:132px;border-radius:28px;font-size:38px}
.company-title h3{font-size:20px}
.company-title span{font-size:13px}
.company-card>p{font-size:14px;margin-top:18px}
.company-bottom small{font-size:13px;font-weight:700;color:#64728b}
.company-bottom a{font-size:15px;position:relative;z-index:1}
.rpe-sortbar select option[selected]{font-weight:700}
.rpe-company-hero{background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)}
.rpe-company-stats{display:flex;gap:12px;flex-wrap:wrap;margin:8px 0 8px}
.rpe-stat{padding:12px 14px;border:1px solid #dbe4f3;border-radius:16px;background:#fff;min-width:120px}
.rpe-stat strong{display:block;font-size:19px;color:#213251}
.rpe-stat span{display:block;font-size:12px;color:#73839a;margin-top:4px}
.rpe-keywords{margin-top:28px;padding-top:22px;border-top:1px solid #e7edf7}
.rpe-keywords h2{margin:10px 0 14px;font-size:24px}
.rpe-tag-cloud{display:flex;gap:10px;flex-wrap:wrap}
.rpe-tag{display:inline-flex;align-items:center;padding:10px 14px;border-radius:999px;background:#eef3ff;color:#314fb2;border:1px solid #d8e2ff;font-weight:800;line-height:1.1}
.rpe-tag.size-1{font-size:12px}.rpe-tag.size-2{font-size:13px}.rpe-tag.size-3{font-size:14px}.rpe-tag.size-4{font-size:15px}.rpe-tag.size-5{font-size:17px}
.rpe-company-facts .rpe-facts-list{display:grid;gap:11px;margin-top:12px}
.rpe-fact{padding:14px 15px;border:1px solid #e4ebf7;border-radius:15px;background:#fbfcff}
.rpe-fact span{display:block;font-size:12px;font-weight:800;color:#6f8099;text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px}
.rpe-fact strong{display:block;font-size:15px;line-height:1.45;color:#243654}
.rpe-fact a{color:#3558da;word-break:break-word}
.rpe-comment{background:linear-gradient(180deg,#fff,#fbfcff)}
@media(max-width:920px){
  .brand-logo,.company-card .brand-logo,.brand-fallback,.company-card .brand-fallback{width:108px;height:108px;max-width:108px;max-height:108px;border-radius:22px}
}
@media(max-width:640px){
  .company-card{min-height:unset}
  .brand-logo,.company-card .brand-logo,.brand-fallback,.company-card .brand-fallback{width:92px;height:92px;max-width:92px;max-height:92px;border-radius:20px;padding:10px}
  .company-title h3{font-size:18px}
  .rpe-company-stats{gap:10px}
}

/* V4.2.5: enlace directo y footer largo con ajuste responsive */
.rpe-book-row a{font-weight:850;color:#3156d7;text-decoration:underline;text-underline-offset:3px}
.footer .container>span:last-child{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px 10px}
.footer .container>span:last-child a:last-child{font-weight:850;line-height:1.4;max-width:380px}
@media(max-width:780px){.footer .container>span:last-child{justify-content:center}}

/* V4.2.6 — menú y formulario de orientación gratuita */
.nav{gap:12px}.nav-links{gap:15px;font-size:12px;flex:1;justify-content:center}.nav-links a{white-space:nowrap}.logo{font-size:23px;gap:9px}.nav-cta{font-size:13px;min-height:56px;padding:13px 17px;flex:none}
.rpe-guided-wizard{overflow:visible}.rpe-guided-wizard .field{position:relative}.rpe-guided-wizard .field textarea{height:auto;min-height:130px}.rpe-guided-wizard .field input{min-height:54px}.rpe-guided-wizard .field label{font-size:14px;color:#243b5c}.rpe-guided-wizard .field input::placeholder,.rpe-guided-wizard .field textarea::placeholder{color:#77869e;opacity:1}
.rpe-guided-wizard .rpe-field-hint{font-size:12px;line-height:1.5;color:#6e809b}.rpe-guided-wizard .rpe-field-hint.complete{color:#098d74;font-weight:700}.rpe-guided-wizard .rpe-company-suggestions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;padding:12px 13px;background:#edf3ff;border:1px solid #cad9ff;border-radius:11px;font-size:13px;color:#3d537c}.rpe-guided-wizard .rpe-company-suggestions[hidden]{display:none!important}.rpe-guided-wizard .rpe-company-suggestions button{border:1px solid #a4b7ff;border-radius:999px;background:#fff;color:#2e4fc9;font-size:13px;font-weight:800;padding:7px 11px}.rpe-guided-wizard .rpe-company-suggestions strong{color:#19469a}.rpe-guided-wizard .rpe-guided-consent{margin:19px 0 3px}.rpe-guided-wizard .rpe-guided-consent label{line-height:1.6;font-size:12px;color:#556983}.rpe-guided-wizard .rpe-guided-consent input{width:auto}.rpe-assistant-disclaimer{font-size:13px;color:#536b8c;margin-top:27px;padding:14px 16px;background:#e6edff;border-radius:14px;line-height:1.65}
.rpe-guided-wizard .rpe-guided-preview{padding:21px;background:#f4f7ff;border:1px solid #cddcff}.rpe-guided-wizard .rpe-guided-preview pre{font-size:13px;line-height:1.85}.rpe-guided-wizard .rpe-draft-buttons{display:flex;gap:10px;flex-wrap:wrap}.rpe-guided-wizard .rpe-draft-buttons .btn{flex:1;min-width:180px;margin-top:4px}.rpe-guided-wizard .rpe-preview-note{font-size:12px;line-height:1.6;color:#667896;margin:14px 0 0}.rpe-guided-feedback{border-radius:12px;padding:14px 16px;margin:15px 0;color:#144b3b;font-size:13px;font-weight:650;line-height:1.6}.rpe-guided-feedback.success{border:1px solid #aee1d2;background:#eafff5}.rpe-guided-feedback.error{border:1px solid #ffcabd;background:#fff5f1;color:#93442f}
@media(max-width:1260px){.nav-links{gap:10px;font-size:11px}.nav-cta{padding:12px;font-size:12px}.logo{font-size:21px}}
@media(max-width:1050px){.nav-links{display:none;position:absolute;top:75px;left:0;right:0;background:#fff;padding:22px;box-shadow:0 15px 30px #12213a22;flex-direction:column;align-items:flex-start;font-size:15px;gap:19px}.nav-links.open{display:flex}.menu-button{display:block;border:1px solid #dbe5f4;border-radius:10px;background:#fff;padding:10px;color:#24375c;cursor:pointer}.nav-cta{margin-left:auto}}
@media(max-width:640px){.rpe-guided-wizard .rpe-draft-buttons{flex-direction:column}.rpe-guided-wizard .rpe-draft-buttons .btn{min-width:0;width:100%}.nav-cta{font-size:11px;padding:10px}}

.menu-button{display:none}@media(max-width:1050px){.menu-button{display:block}}

/* V4.2.7: ancla del formulario sin ocultarse debajo del encabezado fijo */
#asistente{scroll-margin-top:110px}
@media(max-width:700px){#asistente{scroll-margin-top:82px}}

/* V4.2.8: identificación pública de autores */
.rpe-history-byline{font-size:12px;font-weight:800;color:#304c92;margin-top:8px!important;margin-bottom:5px!important}
.rpe-guided-author{border-top:1px solid #dce5f4;margin-top:14px;padding-top:12px}

/* Validación accesible de nombres públicos */
.rpe-name-validation-message{display:block;font-size:12px;font-weight:700;margin-top:6px;color:#b42318;line-height:1.45}.rpe-name-validation-message[hidden]{display:none!important}input[data-rpe-public-name][aria-invalid="true"]{border-color:#e04438!important;box-shadow:0 0 0 2px rgba(224,68,56,.12)!important}
