/* Calidad Estudio Jurídico · B5 sobre Flatsome
   Tipografías alojadas en el sitio: Sentient (Fontshare, ITF Free Font License) y Public Sans (Google Fonts, SIL OFL).
   Escala medida en belanger-paradis.com el 20-11-2026: rem fijos, un solo corte a 991 px. */
@font-face{font-family:"Sentient";font-weight:300;font-style:normal;font-display:swap;src:url(fonts/sentient-300.woff2) format("woff2")}
@font-face{font-family:"Sentient";font-weight:400;font-style:normal;font-display:swap;src:url(fonts/sentient-400.woff2) format("woff2")}
@font-face{font-family:"Public Sans";font-weight:200 500;font-style:normal;font-display:swap;src:url(fonts/publicsans-var.woff2) format("woff2")}

:root{
  --cb-marino:#052B3B; --cb-marino-2:#0A3A4F; --cb-claro:#E4E8E7; --cb-tinta:#0C1A21;
  --cb-oro:#BC8415; --cb-oro-osc:#D9A13C; --cb-oro-claro:#7A5409;
  --cb-gris:#34464F; --cb-txt-osc:#C5D5DD;
  --cb-m:clamp(20px,3.6vw,52px);
  --cb-display:80px; --cb-lh-display:1.02; --cb-ls-display:-1.6px;
  --cb-xxl:67.2px; --cb-xl:56px; --cb-l:48px; --cb-m-t:40px; --cb-s:28.8px;
  --cb-cuerpo:18.4px; --cb-lead:20px; --cb-label:14.4px; --cb-ls-label:3.2px; --cb-btn:19.2px; --cb-nav:16px;
}
@media (max-width:991px){:root{--cb-display:56px;--cb-lh-display:1.08;--cb-ls-display:-.96px;--cb-xxl:53.6px;--cb-xl:48px;--cb-l:43.2px;--cb-m-t:36.8px;--cb-btn:17.6px}}
@media (max-width:359px){:root{--cb-display:44px;--cb-xxl:44px;--cb-xl:40px}}

/* ---------- base ---------- */
body.cb5{font-family:"Public Sans",system-ui,sans-serif;font-weight:300;font-size:var(--cb-cuerpo);line-height:1.6;color:var(--cb-tinta);background:var(--cb-marino);-webkit-font-smoothing:antialiased}
body.cb5 #wrapper,body.cb5 #main{background:var(--cb-marino)}
body.cb5 h1,body.cb5 h2,body.cb5 h3,body.cb5 h4{font-family:"Sentient",Georgia,serif;font-weight:300;letter-spacing:-.32px;text-transform:none;color:inherit;text-wrap:balance}
body.cb5 h1{font-size:var(--cb-display);line-height:var(--cb-lh-display);letter-spacing:var(--cb-ls-display)}
body.cb5 h2{font-size:var(--cb-xl);line-height:1.1}
body.cb5 h3{font-size:var(--cb-s);line-height:1.2}
body.cb5 p{font-size:inherit;margin-bottom:1em}
body.cb5 em{font-style:italic;color:inherit}
body.cb5 h1 em,body.cb5 h2 em,body.cb5 h3 em{font-style:normal;color:var(--cb-oro-osc)}
body.cb5 .cb5-claro h1 em,body.cb5 .cb5-claro h2 em,body.cb5 .cb5-claro h3 em{color:var(--cb-oro-claro)}
body.cb5 a:focus-visible,body.cb5 button:focus-visible{outline:3px solid var(--cb-oro-osc);outline-offset:3px}
body.cb5 .section-content>.row,body.cb5 .section-content>.row-inner{max-width:1440px}
body.cb5 .section-content .row{padding-inline:max(0px,calc(var(--cb-m) - 15px))}
body.cb5 .cb5-disp{font-size:var(--cb-display);line-height:var(--cb-lh-display);letter-spacing:var(--cb-ls-display)}
body.cb5 .cb5-xxl{font-size:var(--cb-xxl);line-height:1.05}
body.cb5 .cb5-l{font-size:var(--cb-l);line-height:1.1}
body.cb5 .cb5-m{font-size:var(--cb-m-t);line-height:1.3}
body.cb5 .cb5-xl{font-size:var(--cb-xl);line-height:1.1}

/* etiqueta pequeña en mayúsculas */
body.cb5 .cb5-label{display:inline-flex;gap:12px;align-items:center;font:200 var(--cb-label)/1.1 "Public Sans",sans-serif;letter-spacing:var(--cb-ls-label);text-transform:uppercase;color:var(--cb-txt-osc);margin:0}
body.cb5 .cb5-punto::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--cb-oro-osc);flex:none}
body.cb5 .cb5-claro .cb5-label{color:var(--cb-gris);font-weight:300}

/* ---------- botones (del elemento Botón de Flatsome) ---------- */
body.cb5 .button.cb5-btn,body.cb5 .header-button .button{display:inline-flex;align-items:center;gap:12px;margin:0 12px 12px 0;padding:17px 24px;min-height:0;line-height:1;font:400 var(--cb-btn)/1 "Sentient",Georgia,serif;letter-spacing:0;text-transform:none;background:var(--cb-oro);color:#170F02;border:0;border-radius:6px;box-shadow:none;transition:background .2s ease,transform .2s ease}
body.cb5 .button.cb5-btn:hover{background:#D29A22;color:#170F02;transform:translateY(-2px)}
body.cb5 .button.cb5-btn::after{content:"";width:18px;height:18px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M5 12h14M13 6l6 6-6 6'/></svg>") center/contain no-repeat;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M5 12h14M13 6l6 6-6 6'/></svg>") center/contain no-repeat;transition:transform .2s ease}
body.cb5 .button.cb5-btn:hover::after{transform:translateX(3px)}
body.cb5 .button.cb5-btn span{display:inline;margin:0}
body.cb5 .button.cb5-sec{background:rgba(255,255,255,.12);color:#fff}
body.cb5 .button.cb5-sec:hover{background:rgba(255,255,255,.2);color:#fff}
body.cb5 .cb5-claro .button.cb5-sec{background:rgba(5,43,59,.1);color:var(--cb-tinta)}
body.cb5 .header-button .button{margin:0;padding:13px 20px;font-size:var(--cb-nav);background:var(--cb-oro);color:#170F02}
body.cb5 .header-button .button:hover{background:#D29A22}
body.cb5 .button.cb5-btn.cb5-abajo::after{transform:rotate(90deg)}

/* ---------- cabecera y pie (nativos de Flatsome, con el estilo B5) ---------- */
body.cb5 #header .header-main,body.cb5 #header.header-bg-color,body.cb5 .header-bg-color{background:var(--cb-marino)}
body.cb5 #header.transparent .header-main,body.cb5 .header.transparent .header-bg-color{background:transparent}
body.cb5 .header-nav>li>a,body.cb5 .nav>li>a{font:300 var(--cb-nav)/1 "Sentient",Georgia,serif;text-transform:none;letter-spacing:0;color:#fff}
body.cb5 .header-nav>li>a:hover,body.cb5 .nav>li.active>a{color:var(--cb-oro-osc)}
body.cb5 #logo img{max-height:44px;width:auto}
body.cb5 .header-main .nav>li{margin:0 4px}
body.cb5 .nav-dropdown{background:var(--cb-marino-2);border-radius:6px;padding:10px 0}
body.cb5 .nav-dropdown li a{font:300 var(--cb-nav)/1.3 "Sentient",Georgia,serif;color:#fff;text-transform:none}
body.cb5 .mobile-sidebar,body.cb5 .off-canvas-left .mfp-content{background:var(--cb-marino)}
body.cb5 .nav-sidebar>li>a,body.cb5 .nav-sidebar li a{font:300 var(--cb-l)/1.15 "Sentient",Georgia,serif;letter-spacing:-.5px;text-transform:none;color:#fff;border:0;padding:8px 0}
body.cb5 .nav-sidebar>li.active>a{color:var(--cb-oro-osc)}
body.cb5 .absolute-footer{background:var(--cb-tinta);color:var(--cb-txt-osc);padding:34px 0;font:300 15px/1.6 "Public Sans",sans-serif}
body.cb5 .absolute-footer a{color:#fff;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px;white-space:nowrap}
body.cb5 .absolute-footer .cb5-f1,body.cb5 .absolute-footer .cb5-f2,body.cb5 .absolute-footer .cb5-f4{white-space:nowrap}
body.cb5 .absolute-footer .copyright-footer{margin:0}
@media (max-width:640px){body.cb5 .absolute-footer .copyright-footer{display:grid;gap:4px}body.cb5 .absolute-footer .cb5-sep{display:none}}

/* ---------- portada (hero) ---------- */
body.cb5 .cb5-hero{background:var(--cb-marino);color:#fff;min-height:min(100svh,900px);display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;padding-top:150px;padding-bottom:clamp(40px,6vw,72px)}
body.cb5 .cb5-hero.cb5-interna{min-height:0;padding-top:170px;padding-bottom:clamp(48px,7vw,88px)}
body.cb5 .cb5-fila{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:clamp(20px,3vw,34px)}
body.cb5 .cb5-hero h1{margin:0 0 clamp(20px,2.6vw,30px);color:#fff}
body.cb5 .cb5-hero .cb5-sub p,body.cb5 .cb5-hero .cb5-sub{font-size:var(--cb-lead);line-height:1.6;color:var(--cb-txt-osc);max-width:36em}
body.cb5 .cb5-hero .cb5-sub p{margin-bottom:30px}

/* ---------- fotografía con grano y bloques que se disuelven ---------- */
body.cb5 .cb5-foto{padding:0;background:var(--cb-marino);position:relative;overflow:hidden}
body.cb5 .cb5-foto .section-content,body.cb5 .cb5-foto .col-inner,body.cb5 .cb5-foto .col{padding:0;margin:0}
body.cb5 .cb5-foto .section-content>.row{max-width:none;padding:0;margin:0}
body.cb5 .cb5-foto .img,body.cb5 .cb5-foto .img-inner{height:clamp(300px,56vw,780px);width:100%;margin:0}
body.cb5 .cb5-foto img{width:100%;height:100%;object-fit:cover;object-position:30% 45%;filter:grayscale(1) contrast(1.08) brightness(1.18)}
body.cb5 .cb5-foto::after{content:"";position:absolute;inset:0;opacity:.22;mix-blend-mode:overlay;pointer-events:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>")}
body.cb5 .cb5-mos{position:absolute;left:0;right:0;height:132px;display:grid;z-index:2;pointer-events:none}
body.cb5 .cb5-mos.arriba{top:-1px}body.cb5 .cb5-mos.abajo{bottom:-1px}
body.cb5 .cb5-mos i{display:block;will-change:opacity}
body.cb5 .cb5-mos.arriba i{background:var(--cb-marino)}
body.cb5 .cb5-mos.abajo i{background:var(--cb-claro)}
@media (prefers-reduced-motion:reduce){body.cb5 .cb5-mos{display:none}}

/* ---------- secciones claras ---------- */
body.cb5 .cb5-claro{background:var(--cb-claro);color:var(--cb-tinta);padding-block:clamp(64px,9vw,128px)}
body.cb5 .cb5-claro p{color:var(--cb-gris)}
body.cb5 .cb5-oscuro{background:var(--cb-marino);color:#fff;padding-block:clamp(64px,9vw,128px)}
body.cb5 .cb5-oscuro p{color:var(--cb-txt-osc)}
body.cb5 .cb5-idea h2{margin:18px 0 clamp(24px,3vw,44px)}
body.cb5 .cb5-idea h3{margin-bottom:10px}
body.cb5 .cb5-idea .text p{font-size:16px}

/* ---------- áreas: pestañas nativas con estilo de selector ---------- */
body.cb5 .cb5-areas .tabbed-content{margin:0}
body.cb5 .cb5-areas .nav-tabs,body.cb5 .cb5-areas .nav-line,body.cb5 .cb5-areas ul.nav{display:flex;justify-content:flex-start;gap:4px;margin:0 0 clamp(24px,3.4vw,44px);padding:0;border:0}
body.cb5 .cb5-areas .tabbed-content .nav>li{margin:0}
body.cb5 .cb5-areas .tabbed-content .nav>li>a{display:block;padding:14px 20px;border:0;border-radius:6px;font:300 var(--cb-btn)/1 "Sentient",Georgia,serif;text-transform:none;letter-spacing:0;color:var(--cb-txt-osc);background:none}
body.cb5 .cb5-areas .tabbed-content .nav>li>a:hover{background:rgba(255,255,255,.1);color:#fff}
body.cb5 .cb5-areas .tabbed-content .nav>li.active>a{background:var(--cb-oro);color:#170F02}
body.cb5 .cb5-areas .tabbed-content .nav>li>a::before,body.cb5 .cb5-areas .tabbed-content .nav>li>a::after{display:none}
body.cb5 .cb5-areas .tab-panels{padding:0;background:none;border:0}
body.cb5 .cb5-areas .tab-panels .panel{padding:0;background:none;color:inherit}

/* ---------- materias: acordeones nativos (en computador, panel de detalle) ---------- */
body.cb5 .cb5-grupo{color:var(--cb-oro-osc);font:300 var(--cb-s)/1.2 "Sentient",Georgia,serif;margin:0 0 12px}
body.cb5 .cb5-claro .cb5-grupo{color:var(--cb-oro-claro)}
body.cb5 .accordion.cb5-materias{margin:0 0 28px}
body.cb5 .cb5-materias .accordion-item{margin:0 0 6px;border:0}
body.cb5 .cb5-materias .accordion-title{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;border:0;border-radius:6px;background:rgba(255,255,255,.06);color:#fff;font:300 var(--cb-btn)/1.35 "Sentient",Georgia,serif;text-transform:none;letter-spacing:0;transition:background .2s ease}
body.cb5 .cb5-materias .accordion-title:hover{background:rgba(255,255,255,.12)}
body.cb5 .cb5-materias .accordion-title.active,body.cb5 .cb5-materias .accordion-title.cb5-on{background:var(--cb-claro);color:var(--cb-tinta)}
body.cb5 .cb5-materias .accordion-title .toggle,body.cb5 .cb5-materias .accordion-title button{display:none}
body.cb5 .cb5-materias .accordion-title::after{content:"";width:18px;height:18px;flex:none;opacity:.55;background:currentColor;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M5 12h14M13 6l6 6-6 6'/></svg>") center/contain no-repeat;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M5 12h14M13 6l6 6-6 6'/></svg>") center/contain no-repeat}
body.cb5 .cb5-materias .accordion-title.active::after,body.cb5 .cb5-materias .accordion-title.cb5-on::after{opacity:1;color:var(--cb-oro-claro)}
body.cb5 .cb5-materias .accordion-inner{padding:16px 20px 20px;background:var(--cb-claro);color:var(--cb-gris);border-radius:0 0 6px 6px;font:300 16px/1.6 "Public Sans",sans-serif}
body.cb5 .cb5-materias .accordion-inner p{color:var(--cb-gris);margin:0}
/* fondo claro: filas oscuras */
body.cb5 .cb5-claro .cb5-materias .accordion-title{background:rgba(5,43,59,.08);color:var(--cb-tinta)}
body.cb5 .cb5-claro .cb5-materias .accordion-title:hover{background:rgba(5,43,59,.14)}
body.cb5 .cb5-claro .cb5-materias .accordion-title.active,body.cb5 .cb5-claro .cb5-materias .accordion-title.cb5-on{background:var(--cb-marino);color:#fff}
body.cb5 .cb5-claro .cb5-materias .accordion-title.active::after,body.cb5 .cb5-claro .cb5-materias .accordion-title.cb5-on::after{color:var(--cb-oro-osc)}
body.cb5 .cb5-claro .cb5-materias .accordion-inner{background:var(--cb-marino);color:var(--cb-txt-osc)}
body.cb5 .cb5-claro .cb5-materias .accordion-inner p{color:var(--cb-txt-osc)}
body.cb5 .cb5-aviso,body.cb5 .cb5-aviso p{font-size:15px;max-width:40em}

/* computador: el detalle se muestra en un panel a la derecha */
body.cb5 .cb5-con-detalle{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);column-gap:clamp(20px,3vw,48px);align-items:start}
body.cb5 .cb5-con-detalle>*{grid-column:1}
body.cb5 .cb5-con-detalle>.cb5-detalle{grid-column:2;grid-row:1 / span 12;position:sticky;top:110px}
body.cb5 .cb5-con-detalle .cb5-materias .accordion-inner{display:none!important}
body.cb5 .cb5-detalle{background:var(--cb-claro);color:var(--cb-tinta);border-radius:6px;padding:clamp(24px,3vw,40px);min-height:240px}
body.cb5 .cb5-claro .cb5-detalle{background:var(--cb-marino);color:#fff}
body.cb5 .cb5-detalle .sw{display:grid;gap:14px;align-content:start}
body.cb5 .cb5-detalle h3{font-size:var(--cb-s);margin:0}
body.cb5 .cb5-detalle p{margin:0;color:var(--cb-gris)}
body.cb5 .cb5-claro .cb5-detalle p{color:var(--cb-txt-osc)}
body.cb5 .cb5-detalle .button{margin:6px 0 0}
@media (prefers-reduced-motion:no-preference){body.cb5 .cb5-detalle .sw{animation:cb5sw .28s ease}@keyframes cb5sw{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}}

/* ---------- Nosotros ---------- */
body.cb5 .cb5-abo .col{align-self:center}
body.cb5 .cb5-retrato{position:relative;border-radius:6px;overflow:hidden;background:var(--cb-marino);margin:0}
body.cb5 .cb5-retrato .img,body.cb5 .cb5-retrato .img-inner{margin:0;width:100%;aspect-ratio:4/5}
body.cb5 .cb5-retrato img{width:100%;height:100%;object-fit:cover;object-position:34% 40%;filter:grayscale(1) contrast(1.06) brightness(1.08)}
body.cb5 .cb5-retrato::after{content:"";position:absolute;inset:0;opacity:.2;mix-blend-mode:overlay;pointer-events:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>")}
body.cb5 .cb5-abo h2{margin:18px 0 0}
body.cb5 .cb5-abo .cb5-presenta{margin:16px 0 28px;max-width:24em}
body.cb5 .cb5-abo .cb5-texto{max-width:40em;color:#2B3A42}
@media (max-width:991px){body.cb5 .cb5-retrato .img,body.cb5 .cb5-retrato .img-inner{aspect-ratio:4/4.4;max-height:480px}}

/* ---------- contacto ---------- */
body.cb5 .cb5-card{position:relative;display:grid;gap:10px;padding:clamp(22px,2.6vw,32px);border-radius:6px;background:rgba(255,255,255,.07);color:#fff;transition:background .2s ease,transform .2s ease;margin-bottom:12px}
body.cb5 .cb5-card:hover{background:rgba(255,255,255,.13);transform:translateY(-3px)}
body.cb5 .cb5-card p{margin:0;color:inherit}
body.cb5 .cb5-card strong,body.cb5 .cb5-card a{font:300 var(--cb-s)/1.15 "Sentient",Georgia,serif;letter-spacing:-.32px;color:inherit;overflow-wrap:anywhere;text-decoration:none}
body.cb5 .cb5-card a::after{content:"";position:absolute;inset:0}   /* toda la tarjeta es un enlace */
body.cb5 .cb5-card.cb5-wa{background:var(--cb-oro);color:#170F02}
body.cb5 .cb5-card.cb5-wa:hover{background:#D29A22}
body.cb5 .cb5-card.cb5-wa .cb5-label{color:inherit;opacity:.75}
body.cb5 .cb5-claro .cb5-card{background:var(--cb-marino)}
body.cb5 .cb5-claro .cb5-card.cb5-wa{background:var(--cb-oro)}
body.cb5 .cb5-claro .cb5-card .cb5-label{color:var(--cb-txt-osc)}
body.cb5 .cb5-dir,body.cb5 .cb5-dir p{color:var(--cb-txt-osc);margin-top:22px}
body.cb5 .cb5-claro .cb5-dir,body.cb5 .cb5-claro .cb5-dir p{color:var(--cb-gris)}
body.cb5 .cb5-dir a{display:inline-flex;gap:8px;margin-top:10px;color:#fff;font:400 var(--cb-btn)/1.2 "Sentient",Georgia,serif;text-underline-offset:6px;text-decoration:underline;text-decoration-thickness:1px}
body.cb5 .cb5-claro .cb5-dir a{color:var(--cb-tinta)}

/* ---------- formulario (Forminator) ---------- */
body.cb5 .cb5-form{background:var(--cb-marino);color:#fff;border-radius:6px;padding:clamp(24px,3.4vw,44px);max-width:680px}
body.cb5 .cb5-form h3{margin:0 0 18px}
body.cb5 .cb5-area{display:grid;gap:8px;margin:0 0 18px;font:300 16px/1.4 "Public Sans",sans-serif;color:var(--cb-txt-osc)}
body.cb5 .cb5-area select{appearance:none;background:rgba(255,255,255,.1) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9'><path d='M1 1l6 6 6-6' fill='none' stroke='white' stroke-width='1.6'/></svg>") no-repeat right 16px center;color:#fff;border:1px solid rgba(255,255,255,.28);border-radius:6px;padding:15px 44px 15px 16px;font:300 17px/1.2 "Public Sans",sans-serif;height:auto;margin:0;box-shadow:none}
body.cb5 .cb5-area select option{color:#000}
body.cb5 .cb5-form .forminator-ui .forminator-input,body.cb5 .cb5-form .forminator-ui .forminator-textarea{background:rgba(255,255,255,.1)!important;color:#fff!important;border:1px solid rgba(255,255,255,.28)!important;border-radius:6px!important;font:300 17px/1.4 "Public Sans",sans-serif!important;padding:15px 16px!important;box-shadow:none!important}
body.cb5 .cb5-form .forminator-ui .forminator-input::placeholder,body.cb5 .cb5-form .forminator-ui .forminator-textarea::placeholder{color:rgba(255,255,255,.62)!important}
body.cb5 .cb5-form .forminator-ui .forminator-button-submit{background:var(--cb-oro)!important;color:#170F02!important;border:0!important;border-radius:6px!important;font:400 var(--cb-btn)/1 "Sentient",Georgia,serif!important;padding:17px 26px!important;cursor:pointer}
body.cb5 .cb5-form .forminator-ui .forminator-button-submit:hover{background:#D29A22!important}
body.cb5 .cb5-form .forminator-ui .forminator-response-message.forminator-success{background:rgba(255,255,255,.12)!important;color:#fff!important}
body.cb5 .cb5-form .forminator-ui .forminator-row{margin-bottom:12px}
body.cb5 .cb5-form .forminator-ui .forminator-error-message{font:300 15px/1.4 "Public Sans",sans-serif!important}

/* ---------- banda de WhatsApp ---------- */
body.cb5 .cb5-banda{background:var(--cb-marino);color:#fff;padding-block:clamp(56px,8vw,104px)}
body.cb5 .cb5-banda h2{margin-bottom:16px}
body.cb5 .cb5-banda p{color:var(--cb-txt-osc);max-width:34em}

/* ---------- blog y artículos (plantillas de Flatsome con el estilo B5) ---------- */
body.cb5.blog #main,body.cb5.single-post #main,body.cb5.archive #main,body.cb5.page:not(.cb5-pagina-b5) #main{background:var(--cb-claro);color:var(--cb-tinta)}
body.cb5 .page-title,body.cb5 .page-title-inner{background:var(--cb-marino);color:#fff}
body.cb5 .page-title h1,body.cb5 .page-title .entry-title{font-size:var(--cb-xl);line-height:1.1;color:#fff}
body.cb5 .blog-wrapper .entry-title a,body.cb5 .post-title a{font:300 var(--cb-m-t)/1.2 "Sentient",Georgia,serif;color:var(--cb-tinta);text-transform:none}
body.cb5 .entry-content,body.cb5 .entry-content p{font-size:var(--cb-cuerpo);color:#2B3A42}
body.cb5 .entry-content a{text-underline-offset:4px}


/* ===== correcciones tras la primera prueba en pruebas (20-11) ===== */
/* Flatsome fija el relleno de cada sección con una regla por id: se fuerza el de la portada */
body.cb5 .cb5-hero{padding-top:150px!important;padding-bottom:clamp(40px,6vw,72px)!important}
body.cb5 .cb5-hero.cb5-interna{padding-top:170px!important;padding-bottom:clamp(48px,7vw,88px)!important}
@media (max-width:991px){body.cb5 .cb5-hero.cb5-interna{padding-top:130px!important}}
/* las pestañas del tema fuerzan display:block en el panel activo */
body.cb5 .tabbed-content .tab-panels .panel.cb5-con-detalle,body.cb5 .tabbed-content .tab-panels .panel.active.cb5-con-detalle{display:grid!important}
/* menú de la cabecera: más aire y alineado con el contenido */
body.cb5 #masthead .header-inner{padding-inline:var(--cb-m);max-width:1440px}
body.cb5 .header-nav>li{margin:0 2px}
body.cb5 .header-nav>li>a.nav-top-link{padding:10px 14px}
body.cb5 .header-nav .header-button{margin-left:10px}
/* formulario: etiqueta del botón sin mayúsculas forzadas */
body.cb5 .cb5-form .forminator-ui .forminator-button-submit{text-transform:none!important;letter-spacing:0!important}
/* celular: el logo muestra solo el ícono y CALIDAD (la leyenda sería ilegible) */
@media (max-width:640px){
  body.cb5 #logo{width:157px!important}
  body.cb5 #logo a{display:block;overflow:hidden}
  body.cb5 #logo img{height:26px!important;max-height:26px!important;width:auto!important;max-width:none!important}
}

/* ===== segunda ronda de correcciones ===== */
/* texto bajo las pestañas de Áreas: el tema pinta los paneles con su gris; sobre marino debe ser claro */
body.cb5 .cb5-areas .tab-panels .panel p,body.cb5 .cb5-areas .tab-panels .panel .text{color:var(--cb-txt-osc)}
body.cb5 .cb5-areas .tab-panels .panel a:not(.button):not(.accordion-title){color:#fff;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
body.cb5 .cb5-areas .tab-panels .panel .cb5-materias .accordion-inner p{color:var(--cb-gris)}
body.cb5 .cb5-areas .cb5-detalle p{color:var(--cb-gris)}
body.cb5 .cb5-areas .cb5-detalle h3{color:var(--cb-tinta)}
/* botón de volver arriba (nativo de Flatsome) en dorado */
body.cb5 .progress-wrap svg.progress-circle path{stroke:var(--cb-oro)}
body.cb5 .progress-wrap::after{color:var(--cb-oro)}
body.cb5 .progress-wrap{box-shadow:none}
/* icono de menú del celular: discreto, como el botón «Menú» de la maqueta */
body.cb5 .header .mobile-nav .nav-icon a,body.cb5 .header .mobile-nav .nav-icon .icon-menu{color:#fff}
body.cb5 .nav-icon a.is-small{background:rgba(255,255,255,.14);border-color:transparent}

/* ===== tercera ronda ===== */
/* enlaces dentro de textos sobre fondo claro: el dorado del tema no alcanza contraste */
body.cb5.single-post #main .entry-content a:not(.button),body.cb5.blog #main .entry-content a:not(.button),body.cb5.single-post #main .entry-meta a,body.cb5.blog #main .entry-meta a,body.cb5.blog #main .cat-label,body.cb5.single-post #main .cat-label,body.cb5.blog #main .widget a,body.cb5.single-post #main .widget a,body.cb5.blog #main .post-sidebar a{color:var(--cb-oro-claro)}
body.cb5.single-post #main .entry-content a:not(.button):hover,body.cb5.blog #main .entry-meta a:hover{color:var(--cb-marino)}
/* títulos de página sin mayúsculas forzadas (política de privacidad) y título del blog */
body.cb5 .entry-header .entry-title,body.cb5 h1.entry-title{text-transform:none;font-size:var(--cb-xl);line-height:1.1;letter-spacing:-.32px;margin-bottom:.6em}
body.cb5 .cb5-blog-titulo{margin:0 0 clamp(24px,3vw,40px)}
body.cb5 .cb5-blog-titulo .cb5-label{color:var(--cb-gris)}
body.cb5 .cb5-blog-titulo h1{font-size:var(--cb-xl);line-height:1.1;margin:14px 0 0;color:var(--cb-tinta)}

/* ===== cuarta ronda: igualar con la maqueta (comparado con los estilos calculados de ambas) ===== */
/* títulos de acordeón: blanco sobre fila azul, tinta sobre fila activa (ya no los pisa ninguna regla de enlaces) */
body.cb5 .cb5-areas .cb5-materias .accordion-title{color:#fff}
body.cb5 .cb5-areas .cb5-materias .accordion-title.cb5-on,body.cb5 .cb5-areas .cb5-materias .accordion-title.active{color:var(--cb-tinta)}
body.cb5 .cb5-claro .cb5-materias .accordion-title{color:var(--cb-tinta)}
body.cb5 .cb5-claro .cb5-materias .accordion-title.cb5-on,body.cb5 .cb5-claro .cb5-materias .accordion-title.active{color:#fff}
/* panel de detalle: texto oscuro sobre tarjeta clara (la regla de los paneles lo dejaba gris claro) */
body.cb5 .cb5-areas .tab-panels .panel .cb5-detalle h3{color:var(--cb-tinta)}
body.cb5 .cb5-areas .tab-panels .panel .cb5-detalle p{color:var(--cb-gris)}
body.cb5 .cb5-areas .tab-panels .panel .cb5-detalle .button{color:#170F02;text-decoration:none}
body.cb5 .cb5-claro .cb5-detalle h3{color:#fff}
body.cb5 .cb5-claro .cb5-detalle p{color:var(--cb-txt-osc)}
/* el blanco de los títulos sobre marino es #F4F5F3, como en la maqueta */
body.cb5 .cb5-hero h1,body.cb5 .cb5-oscuro h2,body.cb5 .cb5-banda h2,body.cb5 .cb5-areas h2{color:#F4F5F3}
body.cb5 .cb5-card:not(.cb5-wa) .cb5-label{color:var(--cb-txt-osc)}
body.cb5 .cb5-card strong,body.cb5 .cb5-card a{letter-spacing:-.72px}
body.cb5 .cb5-abo .cb5-texto p{color:#2B3A42}

/* ===== blog (lista propia), artículos y bloque final ===== */
body.cb5 .cb5-articulos{display:grid;gap:12px}
body.cb5 .cb5-art a{display:grid;gap:14px;padding:clamp(24px,3vw,40px);background:rgba(5,43,59,.07);border-radius:6px;text-decoration:none;color:var(--cb-tinta);transition:background .2s ease}
body.cb5 .cb5-art a:hover{background:rgba(5,43,59,.13)}
body.cb5 .cb5-art .cb5-label{color:var(--cb-gris);font-weight:300}
body.cb5 .cb5-art h2{font-size:var(--cb-m-t);line-height:1.2;margin:0;color:var(--cb-tinta)}
body.cb5 .cb5-art p{margin:0;color:var(--cb-gris);max-width:46em}
body.cb5 .cb5-leer{font:400 var(--cb-btn)/1.2 "Sentient",Georgia,serif;color:var(--cb-tinta);text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px}
body.cb5 .cb5-paginas{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px;font:400 var(--cb-btn)/1 "Sentient",Georgia,serif}
body.cb5 .cb5-paginas a,body.cb5 .cb5-paginas span{padding:12px 18px;border-radius:6px;background:rgba(5,43,59,.07);color:var(--cb-tinta);text-decoration:none}
body.cb5 .cb5-paginas .current{background:var(--cb-marino);color:#fff}
/* artículo: columna de lectura, sin autor, compartir, comentarios ni navegación */
body.cb5.single-post .byline,body.cb5.single-post .blog-share,body.cb5.single-post .author-info,body.cb5.single-post .nav-below,body.cb5.single-post #comments,body.cb5.single-post .entry-footer,body.cb5.single-post .post-sidebar,body.cb5.single-post .widget-area{display:none!important}
body.cb5.single-post .entry-meta{text-transform:none;font-size:15px;letter-spacing:0}
body.cb5.single-post .entry-meta .posted-on{color:inherit}
body.cb5.single-post .entry-content{max-width:820px;margin-inline:auto}
body.cb5.single-post .entry-content h2{font-size:var(--cb-l);line-height:1.15;margin:1.6em 0 .5em;color:var(--cb-tinta)}
body.cb5.single-post .entry-content h3{font-size:var(--cb-s);margin:1.4em 0 .4em;color:var(--cb-tinta)}
body.cb5.single-post .entry-content ul,body.cb5.single-post .entry-content ol{margin:0 0 1em 1.3em}
body.cb5.single-post .entry-content blockquote{border-left:3px solid var(--cb-oro);padding:.2em 0 .2em 1.2em;margin:1.4em 0;font:300 var(--cb-s)/1.3 "Sentient",Georgia,serif;color:var(--cb-tinta)}
body.cb5 .cb5-cta-art{background:var(--cb-marino);color:#fff;border-radius:6px;padding:clamp(28px,4vw,48px) clamp(24px,4vw,48px) 12px;margin-top:48px}
body.cb5 .cb5-cta-art h3{color:#F4F5F3;margin:0 0 10px}
body.cb5 .cb5-cta-art p{color:var(--cb-txt-osc);max-width:34em}
body.cb5.single-post .entry-content .button.cb5-btn{margin:0 0 clamp(28px,4vw,48px) clamp(24px,4vw,48px);transform:translateY(-8px)}

/* enlaces dentro de artículos: el editor antiguo dejó el color dorado incrustado en el texto; se fuerza el de contraste suficiente */
body.cb5.single-post #main .entry-content a:not(.button),body.cb5.single-post #main .entry-content a:not(.button) *{color:var(--cb-oro-claro)!important}
body.cb5.single-post #main .entry-content a:not(.button):hover,body.cb5.single-post #main .entry-content a:not(.button):hover *{color:var(--cb-marino)!important}

/* ===== quinta ronda: contraste y lectura de textos largos (medido el 20-11) ===== */
/* etiqueta sobre la tarjeta dorada: tinta oscura, sin transparencia (antes 1,78:1 y 4,06:1) */
body.cb5 .cb5-card.cb5-wa .cb5-label,body.cb5 .cb5-claro .cb5-card.cb5-wa .cb5-label{color:#170F02;opacity:1;font-weight:300}
/* bloque final de los artículos: sus colores ganan a los del texto del artículo */
body.cb5.single-post .entry-content .cb5-cta-art h3{color:#F4F5F3}
body.cb5.single-post .entry-content .cb5-cta-art p{color:var(--cb-txt-osc)}
/* textos largos: peso normal (400) sobre fondo claro; el 300 queda para títulos, textos cortos y fondos oscuros */
body.cb5 .entry-content,body.cb5 .entry-content p,body.cb5 .entry-content li,body.cb5 .cb5-art p,body.cb5 .cb5-claro .text p,body.cb5 .cb5-texto p,body.cb5 .cb5-presenta{font-weight:400}
body.cb5 .cb5-claro .cb5-idea .text p,body.cb5 .cb5-idea .text p{font-weight:400}
/* medida de lectura: unos 70 caracteres por línea (antes 87-95 en los artículos y 148 en un párrafo de la portada) */
body.cb5.single-post .entry-content{max-width:36em}
body.cb5.single-post .entry-content p,body.cb5.single-post .entry-content li{line-height:1.7}
body.cb5 .section-content .text p{max-width:42em}
body.cb5 .cb5-oscuro .cb5-card p,body.cb5 .cb5-card p{max-width:none}
/* celular: las tarjetas del blog ceden margen interior al texto (27 → ~30 caracteres por línea) */
@media (max-width:640px){body.cb5 .cb5-art a{padding:22px 18px}}

/* anclas nativas (elemento «Scroll to»): el salto deja ver el comienzo de la sección bajo la cabecera */
body.cb5 a[name]{scroll-margin-top:88px}
body.cb5 .scroll-to{display:block;height:0}

/* =====================================================================
   REFINAMIENTO 21-11 · componentes nuevos (válidos para todas las vistas)
   ===================================================================== */
/* franja de confianza: datos tomados solo de los textos de Nicolás */
body.cb5 .cb5-confianza{background:var(--cb-marino-2);color:#fff;padding-block:clamp(36px,5vw,64px)}
body.cb5 .cb5-dato{padding:8px 0}
body.cb5 .cb5-dato .cb5-label{margin:0}
body.cb5 .cb5-dato h3{font-size:var(--cb-s);line-height:1.15;margin:12px 0 6px;color:#F4F5F3}
body.cb5 .cb5-dato p{margin:0;font-size:16px;line-height:1.5;color:var(--cb-txt-osc)}
body.cb5 .cb5-dato p.cb5-label{font-size:var(--cb-label)}
/* resumen de áreas (antes del selector) */
body.cb5 .cb5-resumen{background:rgba(255,255,255,.06);border-radius:6px;padding:clamp(24px,3vw,36px);margin-bottom:clamp(16px,2vw,24px)}
body.cb5 .cb5-resumen h3{margin:12px 0 8px;color:#F4F5F3}
body.cb5 .cb5-resumen p{margin:0 0 8px;max-width:30em;color:var(--cb-txt-osc)}
body.cb5 .cb5-resumen .cb5-label{margin:0}
body.cb5 .cb5-resumen .cb5-cuenta{margin:18px 0 0}
body.cb5 .cb5-resumen .cb5-cuenta a{font:400 var(--cb-btn)/1.2 "Sentient",Georgia,serif;color:#fff;text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px}
/* revelación ordenada: se ven 6 materias y el resto se despliega */
body.cb5 .cb5-materias .accordion-item.cb5-mas{display:none}
body.cb5 .cb5-materias.cb5-ac-abierto .accordion-item.cb5-mas{display:block}
body.cb5 .cb5-ver-mas{margin:2px 0 28px;padding:14px 20px;border-radius:6px;background:transparent;color:#fff;border:1px solid rgba(255,255,255,.3);font:400 var(--cb-btn)/1 "Sentient",Georgia,serif;cursor:pointer;transition:background .2s ease}
body.cb5 .cb5-ver-mas:hover{background:rgba(255,255,255,.1)}
/* barra de contacto de pulgar (solo celular) */
body.cb5 .cb5-barra-m{display:none}
@media (max-width:991px){
  body.cb5 .cb5-barra-m{display:grid;grid-template-columns:1.4fr 1fr;gap:8px;position:fixed;left:0;right:0;bottom:0;z-index:60;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:var(--cb-marino);border-top:1px solid rgba(255,255,255,.16)}
  body.cb5 .cb5-barra-m a{display:flex;justify-content:center;align-items:center;padding:14px;border-radius:6px;font:400 var(--cb-btn)/1 "Sentient",Georgia,serif;text-decoration:none}
  body.cb5 .cb5-barra-m .cb5-b-wa{background:var(--cb-oro);color:#170F02}
  body.cb5 .cb5-barra-m .cb5-b-tel{background:rgba(255,255,255,.12);color:#fff}
  body.cb5{padding-bottom:76px}
}
/* sin movimiento si la persona lo pide: ninguna transición ni desplazamiento animado */
@media (prefers-reduced-motion:reduce){
  body.cb5 *,body.cb5 *::before,body.cb5 *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}
/* el texto de Nosotros: un máximo de ~70 caracteres por línea */
body.cb5 .cb5-abo .cb5-texto{max-width:36em}

/* =====================================================================
   DISEÑO ELEGIDO (21-11) · «Papel cálido»: dominio claro, tarjetas blancas, filete de 1 px y sombra mínima
   ===================================================================== */
html:root{--cb-claro:#EEEBE4;--cb-card:#FBFAF7;--cb-linea:rgba(5,43,59,.14);--cb-sombra:0 1px 2px rgba(5,43,59,.06)}
html:root body.cb5 #wrapper,html:root body.cb5 #main{background:#EEEBE4}
/* franja de confianza clara */
html:root body.cb5 .cb5-confianza{background:var(--cb-card);color:var(--cb-tinta);border-block:1px solid var(--cb-linea)}
html:root body.cb5 .cb5-dato h3{color:var(--cb-tinta)}
html:root body.cb5 .cb5-dato p{color:var(--cb-gris)}
html:root body.cb5 .cb5-dato .cb5-label{color:var(--cb-gris);font-weight:300}
@media (min-width:850px){html:root body.cb5 .cb5-confianza .col+.col .cb5-dato{border-left:1px solid var(--cb-linea);padding-left:clamp(16px,2vw,28px)}}
/* secciones claras separadas por filete */
html:root body.cb5 .cb5-idea{border-bottom:1px solid var(--cb-linea)}
/* áreas: pasa a papel */
html:root body.cb5 .cb5-areas{background:var(--cb-claro);color:var(--cb-tinta)}
html:root body.cb5 .cb5-areas h2,html:root body.cb5 .cb5-areas h3{color:var(--cb-tinta)}
html:root body.cb5 .cb5-areas h2 em{color:var(--cb-oro-claro)}
html:root body.cb5 .cb5-areas .text p,html:root body.cb5 .cb5-areas .tab-panels .panel p,html:root body.cb5 .cb5-areas .tab-panels .panel .text{color:var(--cb-gris)}
html:root body.cb5 .cb5-areas .cb5-label{color:var(--cb-gris);font-weight:300}
html:root body.cb5 .cb5-areas .cb5-grupo{color:var(--cb-oro-claro)}
html:root body.cb5 .cb5-areas .tab-panels .panel a:not(.button):not(.accordion-title){color:var(--cb-tinta)}
html:root body.cb5 .cb5-areas .tabbed-content .nav>li>a{color:var(--cb-gris)}
html:root body.cb5 .cb5-areas .tabbed-content .nav>li>a:hover{background:rgba(5,43,59,.07);color:var(--cb-tinta)}
html:root body.cb5 .cb5-areas .tabbed-content .nav>li.active>a{background:var(--cb-oro);color:#170F02}
html:root body.cb5 .cb5-areas .cb5-materias .accordion-title{background:var(--cb-card);color:var(--cb-tinta);border:1px solid var(--cb-linea);box-shadow:var(--cb-sombra)}
html:root body.cb5 .cb5-areas .cb5-materias .accordion-title:hover{background:#fff}
html:root body.cb5 .cb5-areas .cb5-materias .accordion-title.cb5-on,html:root body.cb5 .cb5-areas .cb5-materias .accordion-title.active{background:var(--cb-marino);color:#fff;border-color:var(--cb-marino)}
html:root body.cb5 .cb5-areas .cb5-materias .accordion-title.cb5-on::after,html:root body.cb5 .cb5-areas .cb5-materias .accordion-title.active::after{color:var(--cb-oro-osc)}
html:root body.cb5 .cb5-areas .cb5-materias .accordion-inner{background:var(--cb-marino);color:var(--cb-txt-osc)}
html:root body.cb5 .cb5-areas .cb5-materias .accordion-inner p{color:var(--cb-txt-osc)}
html:root body.cb5 .cb5-areas .cb5-detalle{background:var(--cb-marino);color:#fff;box-shadow:var(--cb-sombra)}
html:root body.cb5 .cb5-areas .tab-panels .panel .cb5-detalle h3{color:#F4F5F3}
html:root body.cb5 .cb5-areas .tab-panels .panel .cb5-detalle p{color:var(--cb-txt-osc)}
html:root body.cb5 .cb5-areas .cb5-ver-mas{color:var(--cb-tinta);border-color:var(--cb-linea);background:var(--cb-card)}
html:root body.cb5 .cb5-areas .cb5-ver-mas:hover{background:#fff}
html:root body.cb5 .cb5-resumen{background:var(--cb-card);border:1px solid var(--cb-linea);box-shadow:var(--cb-sombra)}
html:root body.cb5 .cb5-resumen h3{color:var(--cb-tinta)}
html:root body.cb5 .cb5-resumen p{color:var(--cb-gris)}
html:root body.cb5 .cb5-resumen .cb5-cuenta a{color:var(--cb-tinta)}
/* Nosotros y páginas claras: tarjetas con filete */
html:root body.cb5 .cb5-abo{border-top:1px solid var(--cb-linea)}
html:root body.cb5 .cb5-retrato{border:1px solid var(--cb-linea);box-shadow:var(--cb-sombra)}
html:root body.cb5 .cb5-claro .cb5-materias .accordion-title{background:var(--cb-card);border:1px solid var(--cb-linea);box-shadow:var(--cb-sombra)}
html:root body.cb5 .cb5-art a{background:var(--cb-card);border:1px solid var(--cb-linea);box-shadow:var(--cb-sombra)}
html:root body.cb5 .cb5-art a:hover{background:#fff}
html:root body.cb5 .cb5-pag .cb5-detalle,html:root body.cb5 .cb5-claro .cb5-detalle{box-shadow:var(--cb-sombra)}
/* contacto y pie: filetes finos sobre marino */
html:root body.cb5 .cb5-oscuro .cb5-card:not(.cb5-wa){border:1px solid rgba(255,255,255,.16)}
html:root body.cb5 .absolute-footer{border-top:1px solid rgba(255,255,255,.1)}

/* =====================================================================
   (versión B descartada por Marcelo el 21-11)
   ===================================================================== */
/* Nosotros pasa a marino */
/* contacto: tarjetas solo contorneadas, la de WhatsApp llena */

/* corrección: en la versión A el fondo del bloque de áreas se impone al de Flatsome (.dark) */
html:root body.cb5 section.cb5-areas,html:root body.cb5 section.cb5-areas .section-bg{background:#EEEBE4!important;color:var(--cb-tinta)}
body.cb5 .cb5-resumen{height:calc(100% - 16px)}
body.cb5 .cb5-ver-mas{text-transform:none;letter-spacing:0;width:100%}
body.cb5 .cb5-areas .row-collapse .col:first-child .cb5-resumen{margin-right:clamp(0px,1.6vw,24px)}
body.cb5 .cb5-areas .row-collapse .col:last-child .cb5-resumen{margin-left:clamp(0px,1.6vw,24px)}
@media (max-width:549px){body.cb5 .cb5-areas .row-collapse .cb5-resumen{margin-inline:0}}
/* correcciones de la medición de contraste (21-11) */
html:root body.cb5 .cb5-claro .cb5-materias .accordion-title.cb5-on,html:root body.cb5 .cb5-claro .cb5-materias .accordion-title.active{background:var(--cb-marino);color:#fff;border-color:var(--cb-marino)}

/* =====================================================================
   MOVIMIENTO 21-11 · inspirado en la navegación móvil de la referencia.
   Todo se apaga con prefers-reduced-motion.
   ===================================================================== */
/* 1) transición entre páginas (API nativa; sin soporte, simplemente no hay) */
@view-transition{navigation:auto}
#header{view-transition-name:cb5-cabecera}
::view-transition-old(root){animation:cb5-salida .22s ease both}
::view-transition-new(root){animation:cb5-entrada .42s ease .06s both}
@keyframes cb5-salida{to{opacity:0}}
@keyframes cb5-entrada{from{opacity:0}}
/* 2) entrada del titular: desvanecido con un desplazamiento mínimo, escalonado */
@keyframes cb5-sube{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
body.cb5 .cb5-hero .cb5-label{animation:cb5-sube .6s cubic-bezier(.2,.7,.2,1) .05s both}
body.cb5 .cb5-hero h1{animation:cb5-sube .75s cubic-bezier(.2,.7,.2,1) .15s both}
body.cb5 .cb5-hero .text p,body.cb5 .cb5-hero .cb5-sub{animation:cb5-sube .7s cubic-bezier(.2,.7,.2,1) .3s both}
body.cb5 .cb5-hero .button,body.cb5 .cb5-hero .cb5-botones{animation:cb5-sube .7s cubic-bezier(.2,.7,.2,1) .42s both}
/* 3) menú móvil: ítems más contenidos, filetes de 1 px y entrada escalonada */
body.cb5 .mobile-sidebar .nav>li{border:0;border-bottom:1px solid rgba(255,255,255,.14)}
body.cb5 .mobile-sidebar .nav>li>a{font:300 clamp(24px,7vw,30px)/1.2 "Sentient",Georgia,serif;padding:20px 24px;border:0;color:#fff;text-transform:none;letter-spacing:0}
body.cb5 .mobile-sidebar .nav>li>a:active,body.cb5 .mobile-sidebar .nav>li.active>a{color:var(--cb-oro-osc)}
body.cb5 .mobile-sidebar .nav>li{animation:cb5-sube .5s cubic-bezier(.2,.7,.2,1) both}
body.cb5 .mobile-sidebar .nav>li:nth-child(1){animation-delay:.12s}
body.cb5 .mobile-sidebar .nav>li:nth-child(2){animation-delay:.18s}
body.cb5 .mobile-sidebar .nav>li:nth-child(3){animation-delay:.24s}
body.cb5 .mobile-sidebar .nav>li:nth-child(4){animation-delay:.30s}
/* 4) tarjetas que se apilan en celular: la primera queda fija y la segunda se desliza encima */
@media (max-width:549px){
  body.cb5 .cb5-areas .row-collapse{overflow:visible}
  body.cb5 .cb5-areas .row-collapse .col:first-child{position:sticky;top:84px;z-index:1}
  body.cb5 .cb5-areas .row-collapse .col:last-child{position:relative;z-index:2}
}
@media (prefers-reduced-motion:reduce){
  ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}
  body.cb5 .cb5-hero *,body.cb5 .mobile-sidebar .nav>li{animation:none!important}
  body.cb5 .cb5-areas .row-collapse .col:first-child{position:static}
}
/* corrección 21-11: el texto del acordeón abierto en celular perdía contraste (regla anterior de mayor especificidad) */
html:root body.cb5 .cb5-areas .tab-panels .panel .cb5-materias .accordion-inner p,
html:root body.cb5 .cb5-claro .tab-panels .panel .cb5-materias .accordion-inner p,
html:root body.cb5 .cb5-materias .accordion-item .accordion-inner p{color:var(--cb-txt-osc)}
html:root body.cb5 .cb5-materias .accordion-item .accordion-inner{background:var(--cb-marino);color:var(--cb-txt-osc)}
/* interior del acordeón en el tono del botón del menú (blanco 14 % sobre marino): el título queda más oscuro y destaca */
html:root body.cb5 .cb5-materias .accordion-item .accordion-inner{background:#284957;color:#E2EAEE}
html:root body.cb5 .cb5-areas .tab-panels .panel .cb5-materias .accordion-inner p,
html:root body.cb5 .cb5-claro .tab-panels .panel .cb5-materias .accordion-inner p,
html:root body.cb5 .cb5-materias .accordion-item .accordion-inner p{color:#E2EAEE}
/* unión título / interior del acordeón: esquinas rectas en el corte y filete de 1 px */
html:root body.cb5 .cb5-materias .accordion-item .accordion-title.active,
html:root body.cb5 .cb5-materias .accordion-item .accordion-title.cb5-on{border-bottom-left-radius:0;border-bottom-right-radius:0}
html:root body.cb5 .cb5-materias .accordion-item .accordion-inner{border-top:1px solid rgba(255,255,255,.22);border-radius:0 0 6px 6px}

/* mosaico en celular: foto más alta y bloques proporcionales, para que la imagen no se «corte» */
@media (max-width:849px){
  body.cb5 .cb5-foto .img,body.cb5 .cb5-foto .img-inner{height:clamp(360px,100vw,540px)}
  body.cb5 .cb5-mos{height:clamp(60px,19vw,96px)}
}

/* =====================================================================
   21-11 · tres piezas tomadas de la grabación de la referencia
   ===================================================================== */
/* 1) menú móvil de pantalla completa, ítems centrados */
@media (max-width:849px){
  body.cb5 .mobile-sidebar,body.cb5 .off-canvas .mfp-content,body.cb5 .mfp-content .mobile-sidebar{width:100%!important;max-width:100%!important}
  body.cb5 .mobile-sidebar{background:var(--cb-marino);padding-top:96px}
  body.cb5 .mobile-sidebar .nav>li>a{justify-content:center;text-align:center;padding:24px}
  body.cb5 .mobile-sidebar .nav>li:first-child{border-top:1px solid rgba(255,255,255,.14)}
  body.cb5 .mobile-sidebar .nav>li>a .icon-angle-right,body.cb5 .mobile-sidebar .nav>li>a::after{display:none}
}
/* 2) mosaico entre secciones: la tira va dentro de la sección que entra y se pinta con el tono de la anterior */
body.cb5 .cb5-mos-gen{top:-1px;height:clamp(60px,19vw,96px)}
@media (min-width:850px){body.cb5 .cb5-mos-gen{height:112px}}
body.cb5 .cb5-mos-gen i{background:transparent}
/* 3) etiqueta del blog con pestaña diagonal (línea superior sobre el rótulo, escalón y línea inferior hasta el borde) */
body.cb5 .cb5-art .cb5-cat{display:flex;align-items:flex-start;width:100%;margin:0 0 4px}
body.cb5 .cb5-art .cb5-cat-t{margin:0;padding:12px 10px 0 0;border-top:1px solid rgba(5,43,59,.34);color:var(--cb-gris);font-weight:300;line-height:1.2}
body.cb5 .cb5-art .cb5-cat-t::before{display:none}
body.cb5 .cb5-art .cb5-cat-d{flex:0 0 14px;height:14px;background:linear-gradient(to bottom right,transparent calc(50% - .6px),rgba(5,43,59,.34) calc(50% - .6px),rgba(5,43,59,.34) calc(50% + .6px),transparent calc(50% + .6px))}
body.cb5 .cb5-art .cb5-cat-l{flex:1;height:1px;margin-top:13px;background:rgba(5,43,59,.34)}

/* logo en el menú de pantalla completa (mismo recorte que la cabecera en celular: solo «CALIDAD») */
body.cb5 .cb5-menu-logo{display:none}
@media (max-width:849px){
  body.cb5 .mobile-sidebar .cb5-menu-logo{display:block;position:absolute;left:20px;top:8px;width:157px;overflow:hidden;z-index:2}
  body.cb5 .mobile-sidebar .cb5-menu-logo img{display:block;height:26px;width:auto;max-width:none}
}
/* menú de pantalla completa: solo el isotipo, centrado y pequeño, como un detalle (recorte del logo, sin la palabra) */
@media (max-width:849px){
  body.cb5 .mobile-sidebar .cb5-menu-logo{left:50%;transform:translateX(-50%);top:2px;width:35px;height:34px}
  body.cb5 .mobile-sidebar .cb5-menu-logo img{height:34px}
}
/* isotipo del menú: centrado en el espacio sobre el primer filete, con aire arriba y abajo */
@media (max-width:849px){
  body.cb5 .mobile-sidebar .cb5-menu-logo{top:84px;width:47px;height:46px}
  body.cb5 .mobile-sidebar .cb5-menu-logo img{height:46px}
}
/* corrección: la lista baja para dar aire al isotipo (antes el primer filete quedaba a ~116 px y chocaba con él) */
@media (max-width:849px){
  body.cb5 .mobile-sidebar{padding-top:200px}
  body.cb5 .mobile-sidebar .cb5-menu-logo{top:76px}
}

/* menú de pantalla completa: tres espacios iguales (sobre el isotipo, entre isotipo y lista, bajo «Contacto») */
@media (max-width:849px){
  body.cb5 .mfp-content .mobile-sidebar{display:flex;flex-direction:column;justify-content:space-evenly;align-items:stretch;height:100vh;height:100dvh;padding-top:0;padding-bottom:0;box-sizing:border-box}
  body.cb5 .mfp-content .mobile-sidebar .cb5-menu-logo{position:static;transform:none;left:auto;top:auto;align-self:center;flex:0 0 auto;width:47px;height:46px}
  body.cb5 .mfp-content .mobile-sidebar .sidebar-menu{flex:0 0 auto;padding:0;margin:0}
  body.cb5 .mfp-content .mobile-sidebar .sidebar-menu>ul,body.cb5 .mfp-content .mobile-sidebar .nav{margin:0;padding:0}
}
/* el correo de la tarjeta de contacto cabe en una línea en celulares angostos (iPhone 12 mini: 375 px) */
body.cb5 .cb5-card a[href^="mailto"]{font-size:min(var(--cb-s),5.5vw);white-space:nowrap;overflow-wrap:normal}
@media (max-width:849px){
  body.cb5 .mfp-content .mobile-sidebar .sidebar-menu{height:auto!important;min-height:0!important;flex:0 0 auto!important;overflow:visible}
}

/* tarjetas de resumen de áreas: alineadas con el resto del contenido (borde izquierdo y derecho a 20 px) */
@media (max-width:849px){
  body.cb5 .cb5-areas .row-collapse{margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;max-width:none}
  body.cb5 .cb5-areas .row-collapse>.col{padding-left:0!important;padding-right:0!important}
  body.cb5 .cb5-areas .row-collapse .col .cb5-resumen{margin-left:0!important;margin-right:0!important}
}
@media (min-width:550px) and (max-width:849px){
  body.cb5 .cb5-areas .row-collapse>.col:first-child{padding-right:12px!important}
  body.cb5 .cb5-areas .row-collapse>.col:last-child{padding-left:12px!important}
}


/* Contacto (22-11): el texto de Nicolás «¿Tu caso no encaja…?» como introducción, antes de las dos columnas */
html:root body.cb5 .cb5-sinencaja{max-width:36em;margin-bottom:clamp(28px,4vw,48px)}
html:root body.cb5 .cb5-sinencaja h3{margin:0 0 14px;font-size:var(--cb-s);line-height:1.15;color:var(--cb-marino)}

/* Privacidad, avisos legales y cookies (22-11) */
html:root body.cb5 .cb5-legal{max-width:44em}
html:root body.cb5 .cb5-legal h3{margin:2em 0 .5em;font-size:var(--cb-s);color:var(--cb-marino)}
html:root body.cb5 .cb5-legal p,html:root body.cb5 .cb5-legal li{color:#2B3A42}
html:root body.cb5 .cb5-legal ul{margin:0 0 1em 1.1em}
html:root body.cb5 .cb5-legal a{color:var(--cb-marino);text-decoration:underline;text-underline-offset:3px}
html:root body.cb5 .cb5-legal .cb5-version{font-size:14.4px;letter-spacing:.2px;color:var(--cb-gris);margin-bottom:0}
html:root body.cb5 .cb5-legal mark.cb5-confirmar{background:#FFE9A8;color:#2B2105;padding:1px 5px;border-radius:3px}
html:root body.cb5 .cb5-legal .cb5-borrador{background:#FFF6D9;border:1px solid #E8CF7A;border-radius:6px;padding:14px 16px;font-size:15px;margin:0 0 18px}
html:root body.cb5 .cb5-tabla-legal{width:100%;border-collapse:collapse;margin:0 0 1em;font-size:16px}
html:root body.cb5 .cb5-tabla-legal th,html:root body.cb5 .cb5-tabla-legal td{padding:10px 12px;border:1px solid var(--cb-linea);text-align:left;vertical-align:top}
html:root body.cb5 .cb5-tabla-legal th{background:#F4F1EA;font-weight:600;color:var(--cb-marino)}
/* línea de aviso bajo el formulario */
html:root body.cb5 .cb5-form .cb5-aviso-form{margin:14px 0 0;font:300 14.5px/1.55 "Public Sans",sans-serif;color:rgba(255,255,255,.78)}
html:root body.cb5 .cb5-form .cb5-aviso-form a{color:#fff;text-decoration:underline;text-underline-offset:3px}
/* aviso de cookies (informativo) */

html:root body.cb5 .cb5-legal .cb5-creditos{margin-top:2.4em;padding-top:1.2em;border-top:1px solid var(--cb-linea);font-size:14.5px;line-height:1.6;color:var(--cb-gris)}

/* =====================================================================
   CALIDEZ 24-11 · pedido de Nicolás: «más cálida, con transiciones e imágenes; blancos, beige, mostaza y café».
   Capa final: para volver a la versión fría basta quitar este bloque (copia en Archivo/versiones_diseno).
   Paleta del sitio actual: azul #002B3C, mostaza #BD8414, arena #E9D9AF, crema #FFFAE3.
   ===================================================================== */
html:root{--cb-marino:#2B1D12;--cb-marino-2:#3D2A17;--cb-txt-osc:#EADFC8;--cb-crema:#FBF4E2;--cb-arena:#EADCB8;--cb-claro:#EADCB8;--cb-card:#FFFCF3;--cb-tinta:#1F1710;--cb-gris:#4B4034;
  --cb-linea:rgba(110,76,20,.20);--cb-sombra:0 2px 10px rgba(110,76,20,.10);--cb-cafe:#5A3B14}
html:root body.cb5 #wrapper,html:root body.cb5 #main{background:var(--cb-crema)}
/* secciones que el instalador pinta con gris frío inline: arena */
html:root body.cb5 .cb5-claro,html:root body.cb5 .cb5-claro>.section-bg,html:root body.cb5 .cb5-claro .section-bg{background-color:var(--cb-arena)!important}
html:root body.cb5 .cb5-idea,html:root body.cb5 .cb5-idea>.section-bg{background-color:var(--cb-arena)!important}
html:root body.cb5 .cb5-areas,html:root body.cb5 .cb5-areas>.section-bg{background-color:var(--cb-crema)!important}
html:root body.cb5 .cb5-confianza{background:var(--cb-card);border-block:1px solid var(--cb-linea)}
html:root body.cb5 .cb5-idea{border-bottom:1px solid var(--cb-linea)}
/* titulares y acentos en café/mostaza oscuro en vez de gris azulado */
html:root body.cb5 .cb5-claro h2 em,html:root body.cb5 .cb5-areas h2 em,html:root body.cb5 .cb5-pag h2 em{color:var(--cb-cafe)}
html:root body.cb5 .cb5-areas .cb5-grupo{color:var(--cb-cafe)}
html:root body.cb5 .cb5-label{color:var(--cb-gris)}
/* portada: azul con brillo mostaza y base café (no un plano frío) */
html:root body.cb5 .cb5-hero{background:radial-gradient(70% 90% at 88% 8%,rgba(189,132,20,.38),transparent 62%),radial-gradient(60% 70% at 0% 100%,rgba(120,72,24,.45),transparent 70%),linear-gradient(165deg,#4A3220 0%,#2B1D12 72%)!important}
html:root body.cb5 .cb5-hero h1 em{color:#E4B04A}
html:root body.cb5 .cb5-banda,html:root body.cb5 .cb5-cta-art{background:linear-gradient(160deg,#4A3220 0%,#2B1D12 70%)}
/* tarjetas: papel crema, borde café tenue, y se levantan un poco al pasar el cursor */
html:root body.cb5 .cb5-resumen{background:var(--cb-card);border:1px solid var(--cb-linea);box-shadow:var(--cb-sombra)}
html:root body.cb5 .cb5-card:not(.cb5-wa){background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);box-shadow:none}
html:root body.cb5 .cb5-card.cb5-wa{background:var(--cb-oro);color:#170F02;border:1px solid var(--cb-oro)}
html:root body.cb5 .cb5-areas .cb5-materias .accordion-title{background:var(--cb-card);border:1px solid var(--cb-linea)}
html:root body.cb5 .cb5-areas .tabbed-content .nav>li.active>a{background:#BD8414;color:#170F02}
/* fotos a color y cálidas (antes en blanco y negro) */
body.cb5 .cb5-foto img{filter:saturate(1.1) contrast(1.03) brightness(1.04)}
body.cb5 .cb5-retrato img{filter:sepia(.14) saturate(1.12) contrast(1.04) brightness(1.06)}
body.cb5 .cb5-foto::after,body.cb5 .cb5-retrato::after{opacity:.08}
/* transiciones: aparición suave al hacer scroll y tarjetas que reaccionan; todo se apaga con «reducir movimiento» */
@media (prefers-reduced-motion:no-preference){
  body.cb5 .cb5-rv{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1)}
  body.cb5 .cb5-rv.cb5-vis{opacity:1;transform:none}
  body.cb5 .cb5-resumen,body.cb5 .cb5-card{transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}
  body.cb5 .cb5-resumen:hover,body.cb5 .cb5-card:hover{transform:translateY(-4px);box-shadow:0 10px 26px rgba(110,76,20,.18);border-color:rgba(189,132,20,.55)}
  body.cb5 .cb5-foto img,body.cb5 .cb5-retrato img{transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}
  body.cb5 .cb5-foto:hover img,body.cb5 .cb5-retrato:hover img{transform:scale(1.03)}
}

/* ajustes 24-11 tras verlo en pantalla: la regla de la sección «áreas» (más específica, con !important) y las etiquetas sobre fondo oscuro */
html:root body.cb5 section.cb5-areas,html:root body.cb5 section.cb5-areas .section-bg{background:var(--cb-crema)!important}
html:root body.cb5 .cb5-hero .cb5-label,html:root body.cb5 .cb5-oscuro:not(.cb5-areas) .cb5-label,html:root body.cb5 .cb5-banda .cb5-label,html:root body.cb5 .cb5-cta-art .cb5-label{color:var(--cb-txt-osc)}
html:root body.cb5 .cb5-areas .cb5-label{color:var(--cb-gris)}
/* el mosaico que cierra la foto debe tener el color de la franja que sigue (tarjeta crema), y los correos largos no deben desbordar su tarjeta */
html:root body.cb5 .cb5-mos.abajo i{background:var(--cb-card)}
html:root body.cb5 .cb5-card p,html:root body.cb5 .cb5-card a{overflow-wrap:anywhere;max-width:100%}
html:root body.cb5 .cb5-card a{white-space:normal}
html:root body.cb5 .cb5-card,html:root body.cb5 .cb5-card>*{min-width:0}
/* secciones oscuras que el instalador pinta con azul inline: café espresso (las de áreas quedan crema) */
html:root body.cb5 section.cb5-oscuro:not(.cb5-areas),html:root body.cb5 section.cb5-oscuro:not(.cb5-areas)>.section-bg,
html:root body.cb5 section.cb5-banda,html:root body.cb5 section.cb5-banda>.section-bg{background-color:var(--cb-marino)!important}
html:root body.cb5 .absolute-footer,html:root body.cb5 .footer-2{background:#1F1710}
html:root body.cb5 .nav-dropdown{background:var(--cb-marino-2)}
/* contraste (medido el 24-11 en las 6 páginas): etiqueta sobre la tarjeta mostaza, tarjetas de contacto sobre arena y tabla legal */
html:root body.cb5 .cb5-card.cb5-wa .cb5-label,html:root body.cb5 .cb5-card.cb5-wa a{color:#170F02}
html:root body.cb5 .cb5-claro .cb5-card:not(.cb5-wa){background:var(--cb-marino);border-color:var(--cb-marino)}
html:root body.cb5 .cb5-claro .cb5-card:not(.cb5-wa) .cb5-label{color:var(--cb-txt-osc)}
html:root body.cb5 .cb5-claro .cb5-card:not(.cb5-wa) a{color:#fff}
html:root body.cb5 .cb5-tabla-legal td{color:var(--cb-tinta)}
html:root body.cb5 .cb5-tabla-legal th{background:#F6EBCF}

/* =====================================================================
   LANDINGS DE MATERIAS 24-11 · iconos Phosphor «light» (MIT), tarjetas, pasos y heros con foto
   ===================================================================== */
body.cb5 .cb5-ico{width:44px;height:44px;display:block;fill:currentColor}
body.cb5 .cb5-ico-w{display:inline-flex;color:#9A6A0F;margin-bottom:14px}
body.cb5 .cb5-oscuro .cb5-ico-w,body.cb5 .cb5-hero .cb5-ico-w,body.cb5 .cb5-banda .cb5-ico-w{color:#E4B04A}
/* franja de datos: icono a la izquierda en escritorio */
html:root body.cb5 .cb5-franja .cb5-dato{display:grid;grid-template-columns:auto 1fr;column-gap:18px;align-items:start}
html:root body.cb5 .cb5-franja .cb5-dato .cb5-ico-w{grid-row:1 / span 2;margin:2px 0 0}
html:root body.cb5 .cb5-franja .cb5-dato h3{margin:0 0 4px}
html:root body.cb5 .cb5-franja .cb5-dato p{margin:0}
@media (min-width:850px){html:root body.cb5 .cb5-franja .col+.col .cb5-dato{border-left:1px solid var(--cb-linea);padding-left:clamp(16px,2vw,28px)}}
/* tarjetas de materias */
html:root body.cb5 .cb5-mcard{background:var(--cb-card);border:1px solid var(--cb-linea);border-radius:6px;box-shadow:var(--cb-sombra);padding:clamp(22px,2.4vw,30px);height:calc(100% - 20px);margin-bottom:20px;box-sizing:border-box}
html:root body.cb5 .cb5-mcard h3{margin:0 0 10px;font-size:clamp(20px,1.7vw,24px);line-height:1.2;color:var(--cb-tinta)}
html:root body.cb5 .cb5-mcard p{margin:0;font-size:16px;line-height:1.55;color:var(--cb-gris)}
html:root body.cb5 .cb5-materias-sec .cb5-grupo{margin:36px 0 18px;color:var(--cb-cafe)}
html:root body.cb5 .cb5-materias-sec .cb5-aviso{margin-top:24px}
/* pasos */
html:root body.cb5 .cb5-paso{padding:8px 0}
html:root body.cb5 .cb5-paso .cb5-num{margin:0 0 6px;font:300 15px/1 "Public Sans",sans-serif;letter-spacing:3px;color:var(--cb-gris)}
html:root body.cb5 .cb5-paso h3{margin:0 0 8px;color:var(--cb-tinta)}
html:root body.cb5 .cb5-paso p:not(.cb5-num){margin:0;color:var(--cb-gris);max-width:30em}
html:root body.cb5 .cb5-pasos,html:root body.cb5 .cb5-pasos>.section-bg{background-color:var(--cb-crema)!important}
/* hero con foto: más alto, la foto manda y el texto va sobre un velo café */
html:root body.cb5 .cb5-hero-foto.cb5-interna{min-height:clamp(440px,58vh,600px);justify-content:flex-end}
html:root body.cb5 .cb5-hero-foto .section-bg img{object-fit:cover}
html:root body.cb5 section.cb5-hero-foto,html:root body.cb5 section.cb5-hero-foto .section-bg{background-color:var(--cb-marino)}
/* tarjetas de la misma altura por fila, y el aviso del finiquito como recuadro visible */
html:root body.cb5 .cb5-materias-sec .row>.col:has(.cb5-mcard){display:flex}
html:root body.cb5 .cb5-materias-sec .row>.col:has(.cb5-mcard)>.col-inner{display:flex;width:100%}
html:root body.cb5 .cb5-materias-sec .row>.col>.col-inner>.cb5-mcard{flex:1 1 auto;height:auto;margin-bottom:20px}
html:root body.cb5 .cb5-materias-sec .cb5-aviso{background:var(--cb-marino);border-radius:6px;padding:22px 28px;margin-top:28px}
html:root body.cb5 .cb5-materias-sec .cb5-aviso p{margin:0;max-width:none;font-size:18px;line-height:1.5;color:var(--cb-txt-osc)}
/* heros con foto: velo más claro (la foto se ve) y sombra suave para que el texto se lea sobre las zonas claras */
html:root body.cb5 .cb5-hero .section-bg-overlay{background-color:rgba(43,29,18,.56)!important}
html:root body.cb5 .cb5-hero-foto h1,html:root body.cb5 .cb5-hero-foto .cb5-sub p,html:root body.cb5 .cb5-hero-foto .cb5-label{text-shadow:0 1px 18px rgba(20,12,6,.55)}
html:root body.cb5 .cb5-hero .section-bg-overlay{background-image:linear-gradient(90deg,rgba(43,29,18,.5) 0%,rgba(43,29,18,0) 70%)}

/* ICONOS como máscara CSS (24-11): UX Builder no pinta los shortcodes propios en su lienzo (salían como texto «[cb5_icono …]»); una clase sí se ve al editar.
   Los SVG son Phosphor «light» (MIT). Se pintan con el color del texto. */
body.cb5 .cb5-ic{display:block;width:44px;height:44px;background-color:currentColor;-webkit-mask:var(--cb-ic) center/contain no-repeat;mask:var(--cb-ic) center/contain no-repeat}
body.cb5 .cb5-ic-bank{--cb-ic:url("icons/bank.svg")}
body.cb5 .cb5-ic-briefcase{--cb-ic:url("icons/briefcase.svg")}
body.cb5 .cb5-ic-buildings{--cb-ic:url("icons/buildings.svg")}
body.cb5 .cb5-ic-car{--cb-ic:url("icons/car.svg")}
body.cb5 .cb5-ic-chat-circle-dots{--cb-ic:url("icons/chat-circle-dots.svg")}
body.cb5 .cb5-ic-clock{--cb-ic:url("icons/clock.svg")}
body.cb5 .cb5-ic-coins{--cb-ic:url("icons/coins.svg")}
body.cb5 .cb5-ic-currency-circle-dollar{--cb-ic:url("icons/currency-circle-dollar.svg")}
body.cb5 .cb5-ic-door-open{--cb-ic:url("icons/door-open.svg")}
body.cb5 .cb5-ic-envelope-simple{--cb-ic:url("icons/envelope-simple.svg")}
body.cb5 .cb5-ic-file-dashed{--cb-ic:url("icons/file-dashed.svg")}
body.cb5 .cb5-ic-file-magnifying-glass{--cb-ic:url("icons/file-magnifying-glass.svg")}
body.cb5 .cb5-ic-gavel{--cb-ic:url("icons/gavel.svg")}
body.cb5 .cb5-ic-globe-hemisphere-west{--cb-ic:url("icons/globe-hemisphere-west.svg")}
body.cb5 .cb5-ic-hand-heart{--cb-ic:url("icons/hand-heart.svg")}
body.cb5 .cb5-ic-hard-hat{--cb-ic:url("icons/hard-hat.svg")}
body.cb5 .cb5-ic-house-line{--cb-ic:url("icons/house-line.svg")}
body.cb5 .cb5-ic-intersect{--cb-ic:url("icons/intersect.svg")}
body.cb5 .cb5-ic-key{--cb-ic:url("icons/key.svg")}
body.cb5 .cb5-ic-lock-key{--cb-ic:url("icons/lock-key.svg")}
body.cb5 .cb5-ic-map-pin{--cb-ic:url("icons/map-pin.svg")}
body.cb5 .cb5-ic-medal{--cb-ic:url("icons/medal.svg")}
body.cb5 .cb5-ic-megaphone{--cb-ic:url("icons/megaphone.svg")}
body.cb5 .cb5-ic-phone{--cb-ic:url("icons/phone.svg")}
body.cb5 .cb5-ic-plant{--cb-ic:url("icons/plant.svg")}
body.cb5 .cb5-ic-scales{--cb-ic:url("icons/scales.svg")}
body.cb5 .cb5-ic-shield-check{--cb-ic:url("icons/shield-check.svg")}
body.cb5 .cb5-ic-shopping-bag{--cb-ic:url("icons/shopping-bag.svg")}
body.cb5 .cb5-ic-sign-out{--cb-ic:url("icons/sign-out.svg")}
body.cb5 .cb5-ic-tree-structure{--cb-ic:url("icons/tree-structure.svg")}
body.cb5 .cb5-ic-warning-circle{--cb-ic:url("icons/warning-circle.svg")}

/* =====================================================================
   BARRA FLOTANTE Y TRAZO DE LA E Y LA R · 24-11 (probado en pantalla con CSS inyectado antes de pasarlo aquí)
   La barra pasa a ser una tarjeta crema separada de los bordes, con el logo en su versión oscura; el trazo de la E y la R (los polígonos del logo)
   es un SVG que se dibuja solo y cruza el borde inferior de la portada hacia la sección clara.
   ===================================================================== */
body.cb5 #header .header-main{height:auto!important;background:transparent!important}
body.cb5 #header .header-main .header-inner{max-width:none!important;width:calc(100% - 48px)!important;margin:20px 24px 0!important;height:64px!important;padding:0 22px!important;background:#FFFCF3!important;border:1px solid rgba(110,76,20,.18)!important;border-radius:10px!important;box-shadow:0 2px 12px rgba(110,76,20,.10)!important}
body.cb5 #header.stuck .header-main,body.cb5 #header.stuck .header-wrapper,body.cb5 #header .header-bg-color{background:transparent!important;box-shadow:none!important}
body.cb5 #header .header-main .nav>li>a.nav-top-link{color:#1F1710!important}
body.cb5 #header .header-main .nav>li.active>a.nav-top-link,body.cb5 #header .header-main .nav>li>a.nav-top-link:hover{color:#7A5409!important}
body.cb5 #header #logo img{max-height:30px!important;width:auto!important}
body.cb5 section.cb5-hero-split.cb5-traz{overflow:visible!important;position:relative;z-index:3}
body.cb5 section.cb5-hero-split.cb5-traz::after{content:"";position:absolute;right:3%;bottom:-190px;width:min(44vw,640px);height:min(44vw,640px);background:url("img/er-trazo.svg") no-repeat center/contain;pointer-events:none;z-index:4}
@media (max-width:849px){
  body.cb5 #header .header-main .header-inner{width:calc(100% - 24px)!important;margin:12px 12px 0!important;height:56px!important;padding:0 8px 0 14px!important}
  body.cb5 section.cb5-hero-split.cb5-traz::after{right:-22%;bottom:-150px;width:260px;height:260px;opacity:.8}
  /* botón del menú: círculo café con el icono crema (el del tema es blanco translúcido y se perdía sobre la barra crema) */
  body.cb5 #header .mobile-nav .nav-icon a.icon{width:44px!important;height:44px!important;min-height:0!important;padding:0!important;margin:0!important;border-radius:0!important;background:transparent!important;border:0!important;color:#1F1710!important;display:flex!important;align-items:center;justify-content:center;box-shadow:none!important}
  body.cb5 #header .mobile-nav .nav-icon a.icon i{color:#1F1710!important;font-size:26px!important}
}

/* =====================================================================
   LUZ · 24-11 · «todavía veo oscuro el sitio» + «no está resuelto el móvil como Abatable»
   Portadas claras (texto | imagen; en celular, texto y debajo la imagen), menú móvil claro con las páginas numeradas, píldora de contacto flotante,
   sin el mosaico oscuro y con las franjas oscuras en arena. El café queda solo para el pie, el formulario y detalles pequeños.
   ===================================================================== */
body.cb5 .cb5-mos,body.cb5 .cb5-mos-gen{display:none!important}
html:root body.cb5 section.cb5-hero.cb5-hero-split{background:var(--cb-crema)!important;color:var(--cb-tinta);min-height:0!important;padding:150px 0 64px!important;justify-content:center!important;border-bottom:1px solid var(--cb-linea)}
html:root body.cb5 section.cb5-hero-split .section-bg{background:transparent!important}
html:root body.cb5 section.cb5-hero-split h1{color:var(--cb-tinta)!important;text-shadow:none!important}
html:root body.cb5 section.cb5-hero-split h1 em{color:var(--cb-oro-claro)!important}
html:root body.cb5 section.cb5-hero-split .cb5-label,html:root body.cb5 section.cb5-hero-split .cb5-fila .cb5-label{color:var(--cb-gris)!important;text-shadow:none!important}
html:root body.cb5 section.cb5-hero-split .cb5-sub p,html:root body.cb5 section.cb5-hero-split .cb5-sub{color:var(--cb-gris)!important;text-shadow:none!important;max-width:34em}
html:root body.cb5 section.cb5-hero-split .button.cb5-sec{background:transparent!important;border:1px solid var(--cb-tinta)!important;color:var(--cb-tinta)!important}
html:root body.cb5 section.cb5-hero-split .button.cb5-sec:hover{background:rgba(31,23,16,.06)!important}
html:root body.cb5 section.cb5-hero-split .cb5-hero-img,html:root body.cb5 section.cb5-hero-split .cb5-hero-img .img-inner{margin:0}
html:root body.cb5 section.cb5-hero-split .cb5-hero-img img{display:block;width:100%;height:clamp(300px,40vw,560px);object-fit:cover;object-position:70% 50%;border-radius:6px;filter:none}
html:root body.cb5 section.cb5-hero-home .cb5-hero-img img{height:clamp(340px,44vw,620px);object-position:62% 50%}
/* la foto grande de debajo de la portada (viñedo) con una altura razonable */
html:root body.cb5 .cb5-foto img{height:clamp(300px,42vw,520px);object-fit:cover}
/* franjas oscuras → arena */
html:root body.cb5 section.cb5-banda,html:root body.cb5 section.cb5-banda>.section-bg{background-color:var(--cb-arena)!important}
html:root body.cb5 .cb5-banda,html:root body.cb5 .cb5-banda h2,html:root body.cb5 .cb5-banda p{color:var(--cb-tinta)}
html:root body.cb5 .cb5-banda p{color:var(--cb-gris)}
html:root body.cb5 .cb5-banda .button.cb5-sec{border-color:var(--cb-tinta)!important;color:var(--cb-tinta)!important}
html:root body.cb5 section.cb5-oscuro:not(.cb5-areas),html:root body.cb5 section.cb5-oscuro:not(.cb5-areas)>.section-bg{background-color:var(--cb-crema)!important}
html:root body.cb5 section.cb5-oscuro:not(.cb5-areas) h2,html:root body.cb5 section.cb5-oscuro:not(.cb5-areas) h2 em{color:var(--cb-tinta)}
html:root body.cb5 section.cb5-oscuro:not(.cb5-areas) h2 em{color:var(--cb-oro-claro)}
html:root body.cb5 section.cb5-oscuro:not(.cb5-areas) .cb5-label,html:root body.cb5 section.cb5-oscuro:not(.cb5-areas) .cb5-dir,html:root body.cb5 section.cb5-oscuro:not(.cb5-areas) .cb5-dir a{color:var(--cb-gris)}
html:root body.cb5 section.cb5-oscuro:not(.cb5-areas) .cb5-card:not(.cb5-wa){background:var(--cb-card);border:1px solid var(--cb-linea);color:var(--cb-tinta)}
html:root body.cb5 section.cb5-oscuro:not(.cb5-areas) .cb5-card:not(.cb5-wa) .cb5-label{color:var(--cb-gris)}
html:root body.cb5 section.cb5-oscuro:not(.cb5-areas) .cb5-card:not(.cb5-wa) a{color:var(--cb-tinta)}
@media (max-width:849px){
  html:root body.cb5 section.cb5-hero.cb5-hero-split{padding:104px 0 36px!important}
  html:root body.cb5 section.cb5-hero-split .cb5-hero-img{margin-top:26px}
  html:root body.cb5 section.cb5-hero-split .cb5-hero-img img,html:root body.cb5 section.cb5-hero-home .cb5-hero-img img{height:300px}
  /* menú móvil: hoja clara a todo el ancho, páginas numeradas en serif grande (la hamburguesa del encabezado se mantiene en su sitio) */
  html:root body.cb5 .mobile-sidebar,html:root body.cb5 .off-canvas-left .mfp-content,html:root body.cb5 .off-canvas-right .mfp-content{background:var(--cb-card)!important;width:100%!important;max-width:none!important;color:var(--cb-tinta)}
  html:root body.cb5 .mobile-sidebar .nav{counter-reset:cb5n;padding-top:84px}
  html:root body.cb5 .mobile-sidebar .nav>li{border:0;border-bottom:1px solid var(--cb-linea)}
  html:root body.cb5 .mobile-sidebar .nav>li>a{display:flex;align-items:baseline;gap:16px;color:var(--cb-tinta)!important;font:300 clamp(28px,8vw,34px)/1.15 "Sentient",Georgia,serif;padding:20px 24px}
  html:root body.cb5 .mobile-sidebar .nav>li>a::before{counter-increment:cb5n;content:"0" counter(cb5n);font:400 12px/1 "Public Sans",sans-serif;letter-spacing:3px;color:var(--cb-oro-claro)}
  html:root body.cb5 .mobile-sidebar .nav>li.active>a{color:var(--cb-oro-claro)!important}
  html:root body.cb5 .mfp-close,html:root body.cb5 .mfp-close:hover{color:var(--cb-tinta)!important}
  /* contacto rápido: píldora flotante crema (como en el prototipo), no una barra oscura de borde a borde */
  html:root body.cb5 .cb5-barra-m{left:50%;right:auto;bottom:16px;transform:translateX(-50%);width:min(300px,calc(100% - 32px));padding:5px;grid-template-columns:1fr 1fr;gap:4px;background:var(--cb-card);border:1px solid var(--cb-linea);border-radius:30px;box-shadow:0 4px 18px rgba(43,29,18,.18)}
  html:root body.cb5 .cb5-barra-m a{border-radius:26px;padding:13px 8px}
  html:root body.cb5 .cb5-barra-m .cb5-b-tel{background:transparent;color:var(--cb-tinta)}
}
/* 24-11 · el trazo de la E y la R se retira (Marcelo: «no sé si es real aporte»); el archivo queda por si se retoma */
html:root body.cb5 section.cb5-hero-split.cb5-traz::after{display:none!important}
html:root body.cb5 section.cb5-foto{min-height:0!important;height:auto!important;background:var(--cb-crema)!important}
html:root body.cb5 section.cb5-foto .section-content{padding:0!important}
html:root body.cb5 section.cb5-foto::after{display:none!important}
html:root body.cb5 .cb5-foto .img,html:root body.cb5 .cb5-foto .img-inner{height:clamp(260px,38vw,520px)!important}
html:root body.cb5 .cb5-foto img{height:100%!important}
@media (max-width:849px){html:root body.cb5 .cb5-foto .img,html:root body.cb5 .cb5-foto .img-inner{height:260px!important}}
@media (max-width:849px){
  html:root body.cb5 .mobile-sidebar .nav>li>a{justify-content:flex-start!important;text-align:left!important}
  html:root body.cb5 .mobile-sidebar .nav{padding-top:40px}
  html:root body.cb5 .mobile-sidebar .nav>li:first-child{border-top:1px solid var(--cb-linea)}
  html:root body.cb5 .mfp-close,html:root body.cb5 .mfp-close:hover{color:var(--cb-tinta)!important;opacity:1!important;font-size:34px!important;width:56px!important;height:56px!important}
}
/* 24-11 · portadas interiores sin imagen (Contacto, Blog, Privacidad): también claras */
html:root body.cb5 section.cb5-hero.cb5-interna:not(.cb5-hero-split){background:var(--cb-crema)!important;min-height:0!important;padding:150px 0 56px!important;border-bottom:1px solid var(--cb-linea)}
html:root body.cb5 section.cb5-hero.cb5-interna:not(.cb5-hero-split) .section-bg,html:root body.cb5 section.cb5-hero.cb5-interna:not(.cb5-hero-split) .section-bg::after,html:root body.cb5 section.cb5-hero.cb5-interna:not(.cb5-hero-split)::before,html:root body.cb5 section.cb5-hero.cb5-interna:not(.cb5-hero-split)::after{background:transparent!important;background-image:none!important}
html:root body.cb5 section.cb5-hero.cb5-interna:not(.cb5-hero-split) h1,html:root body.cb5 section.cb5-hero.cb5-interna:not(.cb5-hero-split) h1 *{color:var(--cb-tinta)!important;text-shadow:none!important}
html:root body.cb5 section.cb5-hero.cb5-interna:not(.cb5-hero-split) h1 em{color:var(--cb-oro-claro)!important}
html:root body.cb5 section.cb5-hero.cb5-interna:not(.cb5-hero-split) .cb5-label,html:root body.cb5 section.cb5-hero.cb5-interna:not(.cb5-hero-split) .cb5-sub,html:root body.cb5 section.cb5-hero.cb5-interna:not(.cb5-hero-split) .cb5-sub p{color:var(--cb-gris)!important;text-shadow:none!important}
@media (max-width:849px){html:root body.cb5 section.cb5-hero.cb5-interna:not(.cb5-hero-split){padding:104px 0 36px!important}}
/* 24-11 · contraste: dirección del cierre y rótulo sobre el botón mostaza */
html:root body.cb5 .cb5-dir,html:root body.cb5 .cb5-dir *:not(a){color:var(--cb-gris)!important}
html:root body.cb5 .cb5-dir a{color:var(--cb-tinta)!important}
html:root body.cb5 .cb5-card.cb5-wa .cb5-label,html:root body.cb5 .cb5-card.cb5-wa .cb5-label *{color:#170F02!important}

/* =====================================================================
   MENÚ CON ÍNDICE DE MATERIAS · 24-11 · réplica del menú de Abatable
   Escritorio: la barra se estira en una tarjeta de 3 columnas. Celular: hoja a pantalla completa con niveles.
   ===================================================================== */
body.cb5 .cb5-ic-arrow-right{--cb-ic:url("icons/arrow-right.svg")}
body.cb5 .cb5-ic-plus{--cb-ic:url("icons/plus.svg")}
body.cb5 .cb5-ic-x{--cb-ic:url("icons/x.svg")}
body.cb5 .cb5-ic-caret-right{--cb-ic:url("icons/caret-right.svg")}
body.cb5 .cb5-ic-caret-left{--cb-ic:url("icons/caret-left.svg")}
.cb5-mega,.cb5-mega-vel,.cb5-mm{display:none}
/* filas (iguales en escritorio y celular): cuadrito con icono + título + una línea */
body.cb5 .cb5-mfila{display:flex;align-items:flex-start;gap:14px;padding:9px 10px;margin:0 -10px;border-radius:6px;color:var(--cb-tinta);transition:background .15s}
body.cb5 .cb5-mfila:hover,body.cb5 .cb5-mfila:focus-visible{background:var(--cb-crema)}
body.cb5 .cb5-mfila:focus-visible,body.cb5 .cb5-feat:focus-visible{outline:2px solid var(--cb-oro);outline-offset:2px}
body.cb5 .cb5-mi{flex:0 0 40px;width:40px;height:40px;border-radius:5px;background:var(--cb-crema);border:1px solid var(--cb-linea);display:flex;align-items:center;justify-content:center;color:var(--cb-cafe,#5A3B14)}
body.cb5 .cb5-mi .cb5-ic{width:20px;height:20px}
body.cb5 .cb5-mtxt{display:flex;flex-direction:column;gap:2px;min-width:0}
body.cb5 .cb5-mtxt b{font:500 15.5px/1.25 "Public Sans",sans-serif;color:var(--cb-tinta)}
body.cb5 .cb5-mtxt small{font:400 13.5px/1.3 "Public Sans",sans-serif;color:var(--cb-gris);display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
body.cb5 .cb5-mh{margin:0 0 14px;font:500 12px/1 "Public Sans",sans-serif;letter-spacing:2px;text-transform:uppercase;color:var(--cb-gris)}
body.cb5 .cb5-mega ul,body.cb5 .cb5-mm ul{list-style:none;margin:0;padding:0}
body.cb5 .cb5-mega li,body.cb5 .cb5-mm li{margin:0}
@media (min-width:850px){
  body.cb5 .cb5-mega-vel{display:block;position:fixed;inset:0;z-index:990;background:rgba(31,23,16,.32);opacity:0;transition:opacity .28s ease}
  body.cb5 .cb5-mega-vel.on{opacity:1}
  body.cb5 .cb5-mega-vel[hidden],body.cb5 .cb5-mega[hidden]{display:none}
  /* la barra y la tarjeta son una sola pieza: la barra pierde las esquinas y la sombra de abajo mientras está abierta */
  body.cb5.cb5-mega-abierto #header .header-main .header-inner{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;box-shadow:none!important;border-bottom-color:transparent!important}
  body.cb5 .cb5-mega{display:grid;grid-template-columns:1fr 1fr 1.08fr;position:fixed;z-index:1002;box-sizing:border-box;background:var(--cb-card);border:1px solid rgba(110,76,20,.18);border-top:0;border-radius:0 0 10px 10px;box-shadow:0 22px 50px rgba(43,29,18,.22);clip-path:inset(0 -60px 100% -60px);transition:clip-path .3s cubic-bezier(.3,.7,.2,1)}
  body.cb5 .cb5-mega.on{clip-path:inset(0 -60px -60px -60px)}
  body.cb5 .cb5-mega.cb5-swap .cb5-mcol{animation:cb5-fade .22s ease-out}
  @keyframes cb5-fade{from{opacity:0}to{opacity:1}}
  body.cb5 .cb5-mcol{padding:30px 34px 34px;min-width:0}
  body.cb5 .cb5-mcol+.cb5-mcol{border-left:1px solid var(--cb-linea)}
  body.cb5 .cb5-feat{display:flex;flex-direction:column;justify-content:space-between;min-height:250px;padding:24px 24px 20px;border-radius:5px;color:#FBF4E2;background:#2B1D12 center/cover no-repeat;position:relative;overflow:hidden;isolation:isolate}
  body.cb5 .cb5-feat::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(43,29,18,.35),rgba(43,29,18,.82))}
  body.cb5 .cb5-feat-t{font:300 clamp(26px,2.2vw,34px)/1.1 "Sentient",Georgia,serif;letter-spacing:-.4px}
  body.cb5 .cb5-feat-n{font:400 14.5px/1.4 "Public Sans",sans-serif;color:#EADFC8;margin-top:8px;max-width:22em}
  body.cb5 .cb5-feat-p{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px}
  body.cb5 .cb5-tag{border:1px solid #E4B04A;color:#F2CE86;border-radius:3px;padding:5px 10px;font:400 13px/1 "Public Sans",sans-serif}
  body.cb5 .cb5-feat-v{display:inline-flex;align-items:center;gap:8px;font:400 15px/1 "Sentient",Georgia,serif;color:#FBF4E2}
  body.cb5 .cb5-feat-v .cb5-ic{width:16px;height:16px}
  body.cb5 .cb5-feat:hover .cb5-feat-v{color:#F2CE86}
  /* los enlaces de la barra se apagan mientras hay uno abierto; el activo queda en tinta con la flechita hacia arriba */
  body.cb5.cb5-mega-abierto #header .header-nav-main>li>a.nav-top-link{color:#8C8070!important}
  body.cb5.cb5-mega-abierto #header .header-nav-main>li>a.nav-top-link.cb5-activo{color:var(--cb-tinta)!important}
  body.cb5 #header .header-nav-main>li>a.cb5-tiene-sub::after{content:"";display:inline-block;margin-left:7px;vertical-align:2px;border:4px solid transparent;border-top-color:currentColor;border-bottom-width:0;transition:transform .2s}
  body.cb5 #header .header-nav-main>li>a.cb5-activo::after{transform:rotate(180deg)}
}
@media (prefers-reduced-motion:reduce){body.cb5 .cb5-mega,body.cb5 .cb5-mega-vel,body.cb5 .cb5-mm,body.cb5 .cb5-mm-p{transition:none!important}}
/* la tarjeta de materia a la que se llega desde el menú se resalta un momento */
body.cb5 .cb5-mcard.cb5-mc-sel{animation:cb5-sel 2.4s ease-out}
@keyframes cb5-sel{0%,60%{box-shadow:0 0 0 2px var(--cb-oro)}100%{box-shadow:0 0 0 2px transparent}}
@media (prefers-reduced-motion:reduce){body.cb5 .cb5-mcard.cb5-mc-sel{animation:none;box-shadow:0 0 0 2px var(--cb-oro)}}

/* CELULAR: hoja a pantalla completa con niveles (el botón del tema ya no abre su panel lateral) */
@media (max-width:849px){
  html.cb5-mm-bloq,html.cb5-mm-bloq body{overflow:hidden}
  body.cb5 .cb5-mm{display:flex;flex-direction:column;position:fixed;inset:0;z-index:2000;background:var(--cb-card);opacity:0;transform:translateY(-6px);transition:opacity .26s ease,transform .3s cubic-bezier(.3,.7,.2,1)}
  body.cb5 .cb5-mm[hidden]{display:none}
  body.cb5 .cb5-mm.on{opacity:1;transform:none}
  body.cb5 .cb5-mm-top{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:12px 16px 0 22px;height:68px;box-sizing:border-box}
  body.cb5 .cb5-mm-logo img{display:block;height:30px;width:auto}
  body.cb5 .cb5-mm-x{width:44px;height:44px;border-radius:50%;border:0;background:var(--cb-marino,#2B1D12);color:#FFFCF3;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer}
  body.cb5 .cb5-mm-x .cb5-ic{width:20px;height:20px}
  body.cb5 .cb5-mm-track{position:relative;flex:1 1 auto;overflow:hidden}
  body.cb5 .cb5-mm-p{position:absolute;inset:0;overflow-y:auto;padding:12px 22px 28px;box-sizing:border-box;background:var(--cb-card);opacity:0;transition:transform .32s cubic-bezier(.3,.7,.2,1),opacity .28s ease,visibility 0s linear .32s;visibility:hidden}
  body.cb5 .cb5-mm-root{transform:none;opacity:1;visibility:visible;display:flex;flex-direction:column}
  body.cb5 .cb5-mm-root.izq{transform:translateX(-34px);opacity:0;visibility:hidden}
  body.cb5 .cb5-mm-sub{transform:translateX(56px)}
  body.cb5 .cb5-mm-sub.on{transform:none;opacity:1;visibility:visible;transition-delay:0s}
  body.cb5 .cb5-mm-root.on{visibility:visible;opacity:1;transition-delay:0s}
  body.cb5 .cb5-mm-lista{border-top:1px solid var(--cb-linea)}
  body.cb5 .cb5-mm-go{display:flex;align-items:baseline;gap:16px;width:100%;box-sizing:border-box;padding:20px 2px;border:0;border-bottom:1px solid var(--cb-linea);background:transparent;text-align:left;color:var(--cb-tinta);cursor:pointer;text-decoration:none}
  body.cb5 .cb5-mm-n{font:400 12px/1 "Public Sans",sans-serif;letter-spacing:3px;color:var(--cb-oro-claro)}
  body.cb5 .cb5-mm-l{flex:1;font:300 clamp(28px,8vw,34px)/1.1 "Sentient",Georgia,serif}
  body.cb5 .cb5-mm-go .cb5-ic{width:22px;height:22px;align-self:center;color:var(--cb-gris)}
  body.cb5 .cb5-mm-cta{display:flex;gap:10px;margin-top:auto;padding-top:26px}
  body.cb5 .cb5-mm-b{flex:1;display:flex;align-items:center;justify-content:center;height:50px;border-radius:6px;font:400 16px/1 "Sentient",Georgia,serif;text-decoration:none}
  body.cb5 .cb5-mm-b1{background:var(--cb-oro);color:#170F02}
  body.cb5 .cb5-mm-b2{border:1px solid var(--cb-tinta);color:var(--cb-tinta)}
  body.cb5 .cb5-mm-back{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;padding:10px 0;margin:0 0 6px -4px;font:400 15px/1 "Public Sans",sans-serif;color:var(--cb-gris);cursor:pointer}
  body.cb5 .cb5-mm-back .cb5-ic{width:18px;height:18px}
  body.cb5 .cb5-mm-sub .cb5-mh{font-size:13px;margin:14px 0 8px;color:var(--cb-tinta)}
  body.cb5 .cb5-mm-ver{display:inline-flex;align-items:center;gap:8px;margin:0 0 14px;font:400 16px/1 "Sentient",Georgia,serif;color:var(--cb-tinta);border-bottom:1px solid var(--cb-tinta);padding-bottom:4px}
  body.cb5 .cb5-mm-ver .cb5-ic{width:16px;height:16px}
  body.cb5 .cb5-mm-sub li{border-top:1px solid var(--cb-linea)}
  body.cb5 .cb5-mm-sub .cb5-mfila{padding:14px 10px}
  body.cb5 .cb5-mm-sub .cb5-mtxt small{-webkit-line-clamp:2}
}
/* el tema estiliza los <button> (mayúsculas, sombra, esquinas): se anula dentro del menú móvil */
html:root body.cb5 .cb5-mm button{text-transform:none!important;letter-spacing:normal!important;box-shadow:none!important;min-height:0!important;line-height:inherit;margin-top:0;margin-bottom:0;margin-right:0}
html:root body.cb5 .cb5-mm button.cb5-mm-go{border-radius:0!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--cb-linea)!important;padding:20px 2px!important;width:100%}
html:root body.cb5 .cb5-mm button.cb5-mm-x{border-radius:50%!important;background:#2B1D12!important;width:44px;height:44px;padding:0!important}
html:root body.cb5 .cb5-mm button.cb5-mm-back{background:transparent!important;border:0!important;padding:10px 0!important;border-radius:0!important}

/* 24-11 · hamburguesa y X sin círculo: solo las líneas, en negro (pedido de Marcelo) */
html:root body.cb5 .cb5-mm button.cb5-mm-x{background:transparent!important;color:#1F1710!important;border-radius:0!important;width:44px;height:44px}
html:root body.cb5 .cb5-mm button.cb5-mm-x .cb5-ic{width:26px;height:26px}
html:root body.cb5 .cb5-mm .cb5-mm-p:focus{outline:none}

/* sin frases: filas más compactas y limpias */
body.cb5 .cb5-mfila{align-items:center;padding:7px 10px}
body.cb5 .cb5-mtxt b{font-weight:500}
@media (max-width:849px){html:root body.cb5 .cb5-mm-sub .cb5-mfila{padding:12px 10px}}

/* titulares por letra: las palabras no se parten y las letras no heredan transiciones */
body.cb5 .cb5-w{display:inline-block;white-space:nowrap}
body.cb5 .cb5-ch{display:inline-block;will-change:opacity}

/* =====================================================================
   HOME NUEVA + INTERNAS · 24-11 · una sola experiencia en todo el sitio
   marco de líneas · franja con asas · índice en filas · naipes · isla oscura · cierre con filas
   ===================================================================== */
:root{--cb-l:rgba(110,76,20,.22)}
/* --- marco: líneas verticales finas que enmarcan el contenido --- */
html:root body.cb5 .cb5-marco>.section-content>.row{max-width:1292px;margin-left:auto;margin-right:auto;border-left:1px solid var(--cb-l);border-right:1px solid var(--cb-l);position:relative}
html:root body.cb5 .cb5-marco>.section-content>.row .col>.col-inner{padding-left:0;padding-right:0}
/* portada dividida: la línea entre texto e imagen */
html:root body.cb5 .cb5-hero-split.cb5-marco>.section-content>.row>.col:first-child{border-right:1px solid var(--cb-l);padding:30px 56px 70px!important}
html:root body.cb5 .cb5-hero-split.cb5-marco .cb5-hero-img img{border-radius:0;height:clamp(420px,44vw,640px)}
html:root body.cb5 .cb5-hero-split.cb5-marco>.section-content>.row>.col:last-child{padding:0!important}
html:root body.cb5 section.cb5-hero.cb5-hero-split{padding-bottom:0!important;border-bottom:0}
/* --- franja de datos con asas en las esquinas --- */
html:root body.cb5 section.cb5-confianza{background:var(--cb-crema)!important;border-top:1px solid var(--cb-l);border-bottom:1px solid var(--cb-l);padding:0!important}
html:root body.cb5 section.cb5-confianza>.section-content>.row::before{content:"";position:absolute;inset:-4px;pointer-events:none;z-index:2;background:linear-gradient(#2B1D12,#2B1D12) left top/7px 7px no-repeat,linear-gradient(#2B1D12,#2B1D12) right top/7px 7px no-repeat,linear-gradient(#2B1D12,#2B1D12) left bottom/7px 7px no-repeat,linear-gradient(#2B1D12,#2B1D12) right bottom/7px 7px no-repeat}
html:root body.cb5 section.cb5-confianza .col{border-right:1px solid var(--cb-l)}
html:root body.cb5 section.cb5-confianza .col:last-child{border-right:0}
html:root body.cb5 section.cb5-confianza .cb5-dato{padding:34px 36px;background:transparent;border:0;box-shadow:none}
/* --- índice de materias: columna izquierda con filas, derecha con imagen fija --- */
html:root body.cb5 section.cb5-pag.cb5-marco{background:var(--cb-crema)!important}
html:root body.cb5 .cb5-izq{border-right:1px solid var(--cb-l)}
html:root body.cb5 .cb5-izq>.col-inner{padding:90px 40px 90px 56px!important}
html:root body.cb5 .cb5-der>.col-inner{position:sticky;top:110px;padding:90px 40px!important}
html:root body.cb5 .cb5-fig-img img{display:block;width:100%;height:560px;object-fit:cover;border-radius:6px}
html:root body.cb5 .cb5-grupo{font:500 12px/1 "Public Sans",sans-serif;letter-spacing:3px;text-transform:uppercase;color:var(--cb-gris);margin:34px 0 14px}
/* las tarjetas de materia de las páginas de área pasan a ser filas numeradas que se abren al tocarlas */
html:root body.cb5 .cb5-izq>.col-inner{counter-reset:cbm}
html:root body.cb5 .cb5-mcard{counter-increment:cbm;position:relative;display:block;background:transparent!important;border:0!important;border-bottom:1px solid var(--cb-l)!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin:0!important;cursor:pointer;transition:background .15s}
html:root body.cb5 .cb5-izq .cb5-mcard:first-of-type,html:root body.cb5 .cb5-izq .cb5-grupo+*{border-top:0}
html:root body.cb5 .cb5-mcard:hover{background:var(--cb-card)!important}
html:root body.cb5 .cb5-mcard .cb5-ico-w{display:none}
html:root body.cb5 .cb5-mcard h3{margin:0!important;padding:22px 44px 22px 52px;font:300 24px/1.2 "Sentient",Georgia,serif;color:var(--cb-tinta);position:relative}
html:root body.cb5 .cb5-mcard h3::before{content:counter(cbm,decimal-leading-zero);position:absolute;left:8px;top:28px;font:400 12px/1 "Public Sans",sans-serif;letter-spacing:3px;color:var(--cb-oro-claro)}
html:root body.cb5 .cb5-mcard h3::after{content:"";position:absolute;right:10px;top:50%;width:18px;height:18px;margin-top:-9px;background-color:var(--cb-gris);-webkit-mask:url("icons/plus.svg") center/contain no-repeat;mask:url("icons/plus.svg") center/contain no-repeat;transition:transform .2s}
html:root body.cb5 .cb5-mcard.abierto h3::after{transform:rotate(45deg)}
html:root body.cb5 .cb5-mcard p{display:none;margin:0!important;padding:0 52px 24px 52px;font:300 16.5px/1.65 "Public Sans",sans-serif;color:var(--cb-gris)}
html:root body.cb5 .cb5-mcard.abierto p{display:block}
html:root body.cb5 .cb5-mcard:focus-visible{outline:2px solid var(--cb-oro);outline-offset:-2px}
/* --- índice de la home: pestañas + filas + figura --- */
html:root body.cb5 .cb5-idx-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 34px}
html:root body.cb5 .cb5-idx-tab{font:400 15px/1 "Public Sans",sans-serif;text-transform:none;letter-spacing:normal;padding:11px 16px;margin:0;border-radius:6px;border:1px solid rgba(110,76,20,.3);background:transparent;color:var(--cb-tinta);cursor:pointer;box-shadow:none;min-height:0}
html:root body.cb5 .cb5-idx-tab[aria-selected=true]{background:var(--cb-oro);border-color:var(--cb-oro);color:#170F02}
html:root body.cb5 .cb5-fila{display:flex;align-items:center;gap:22px;padding:22px 8px;border-bottom:1px solid var(--cb-l);color:var(--cb-tinta);transition:background .15s}
html:root body.cb5 .cb5-idx-p .cb5-fila:first-child{border-top:1px solid var(--cb-l)}
html:root body.cb5 .cb5-fila:hover{background:var(--cb-card)}
html:root body.cb5 .cb5-fn{font:400 12px/1 "Public Sans",sans-serif;letter-spacing:3px;color:var(--cb-oro-claro);width:26px}
html:root body.cb5 .cb5-ft{flex:1;font:300 24px/1.2 "Sentient",Georgia,serif}
html:root body.cb5 .cb5-fila .cb5-ic{width:20px;height:20px;color:var(--cb-gris)}
html:root body.cb5 .cb5-idx-n{margin:18px 8px 0;font:300 16.5px/1.65 "Public Sans",sans-serif;color:var(--cb-gris)}
html:root body.cb5 .cb5-idx-mas{display:none}
html:root body.cb5 .cb5-idx-figs{position:relative;height:620px}
html:root body.cb5 .cb5-fig{position:absolute;inset:0 0 auto 0;height:560px;margin:0;opacity:0;visibility:hidden;transition:opacity .35s ease,visibility 0s linear .35s}
html:root body.cb5 .cb5-fig.on{opacity:1;visibility:visible;transition-delay:0s}
html:root body.cb5 .cb5-fig img{display:block;width:100%;height:560px;object-fit:cover;border-radius:6px;background:#2B1D12}
html:root body.cb5 .cb5-fig figcaption{position:absolute;left:0;right:0;top:0;height:560px;border-radius:6px;display:flex;flex-direction:column;justify-content:flex-end;padding:26px;background:linear-gradient(180deg,rgba(43,29,18,0) 45%,rgba(43,29,18,.82));color:#FBF4E2;pointer-events:none}
html:root body.cb5 .cb5-fig figcaption b{font:300 34px/1.1 "Sentient",Georgia,serif;font-weight:300}
html:root body.cb5 .cb5-fig figcaption span{font:400 14px/1.4 "Public Sans",sans-serif;color:#EADFC8;margin-top:6px}
html:root body.cb5 .cb5-fig-v{position:absolute;left:0;top:582px;display:inline-flex;align-items:center;gap:10px;font:400 16px/1 "Sentient",Georgia,serif;color:var(--cb-tinta);border-bottom:1px solid var(--cb-tinta);padding-bottom:5px}
html:root body.cb5 .cb5-fig-v .cb5-ic{width:16px;height:16px}
/* --- naipes --- */
html:root body.cb5 section.cb5-naipes{background:var(--cb-arena)!important;border-top:1px solid var(--cb-l);border-bottom:1px solid var(--cb-l)}
html:root body.cb5 .cb5-naipes>.section-content>.row:first-child{text-align:center;padding:90px 56px 20px}
html:root body.cb5 .cb5-naipes .cb5-disp{max-width:12em;margin-left:auto;margin-right:auto}
html:root body.cb5 .cb5-naipes>.section-content>.row:last-child{max-width:1180px;border:0;padding:30px 0 100px;justify-content:center}
html:root body.cb5 .cb5-nq{--r:0deg;flex:0 0 340px;max-width:340px;margin-left:-22px;padding:0!important;position:relative}
html:root body.cb5 .cb5-nq:first-child{margin-left:0}
html:root body.cb5 .cb5-nq1{--r:-5deg;z-index:1;margin-top:30px}
html:root body.cb5 .cb5-nq2{--r:-1deg;z-index:2}
html:root body.cb5 .cb5-nq3{--r:4deg;z-index:3;margin-top:40px}
html:root body.cb5 .cb5-nq>.col-inner{padding:0!important}
html:root body.cb5 .cb5-naipe{position:relative;overflow:hidden;box-sizing:border-box;height:440px;padding:26px!important;border-radius:8px;display:flex;flex-direction:column;justify-content:flex-end;box-shadow:0 14px 34px rgba(43,29,18,.22);transform:rotate(var(--r))}
html:root body.cb5 .cb5-naipe .cb5-ico-w{position:absolute;left:26px;top:26px;margin:0;width:48px;height:48px;border:1px solid currentColor;border-radius:6px;align-items:center;justify-content:center;color:inherit}
html:root body.cb5 .cb5-naipe .cb5-ico-w .cb5-ic{width:26px;height:26px}
html:root body.cb5 .cb5-naipe .cb5-nn{position:absolute;right:24px;top:30px;font:400 12px/1 "Public Sans",sans-serif;letter-spacing:3px;opacity:.7}
html:root body.cb5 .cb5-naipe h3{font:300 30px/1.1 "Sentient",Georgia,serif;margin:0 0 12px;color:inherit;position:relative}
html:root body.cb5 .cb5-naipe p{font:300 15.5px/1.6 "Public Sans",sans-serif;margin:0;color:inherit;position:relative}
html:root body.cb5 .cb5-naipe::after{content:"";position:absolute;right:-110px;bottom:-110px;width:330px;height:330px;background-color:currentColor;opacity:.2;transform:rotate(-8deg);-webkit-mask:url("img/er-linea.svg") center/contain no-repeat;mask:url("img/er-linea.svg") center/contain no-repeat;pointer-events:none}
html:root body.cb5 .cb5-nq1 .cb5-naipe{background:#2B1D12;color:#FBF4E2}
html:root body.cb5 .cb5-nq2 .cb5-naipe{background:var(--cb-oro);color:#170F02}
html:root body.cb5 .cb5-nq2 .cb5-naipe::after{transform:rotate(6deg);right:-100px;bottom:-120px;opacity:.22}
html:root body.cb5 .cb5-nq3 .cb5-naipe{background:var(--cb-card);color:var(--cb-tinta);border:1px solid rgba(110,76,20,.3)}
html:root body.cb5 .cb5-nq3 .cb5-naipe::after{transform:rotate(-4deg);opacity:.16}
html:root body.cb5 .cb5-naipe .cb5-ico-w{color:inherit}
/* entrada escalonada (el .cb5-rv genérico no sirve: el naipe ya lleva su inclinación) */
html:root body.cb5 .cb5-nq.cb5-rv{opacity:0;transform:translateY(44px)}
html:root body.cb5 .cb5-nq.cb5-rv.cb5-vis{opacity:1;transform:none;transition-delay:calc((var(--i,0)) * 140ms)}
/* --- isla oscura: el único bloque oscuro --- */
html:root body.cb5 section.cb5-isla{background:var(--cb-crema)!important;padding:90px 24px!important}
html:root body.cb5 section.cb5-isla>.section-content>.row{max-width:1244px;margin:0 auto;background:#2B1D12;border-radius:10px;overflow:hidden}
html:root body.cb5 .cb5-isla-f,html:root body.cb5 .cb5-isla-f>.col-inner{padding:0!important}
html:root body.cb5 .cb5-isla .cb5-retrato,html:root body.cb5 .cb5-isla .cb5-retrato .img-inner{height:100%;margin:0}
html:root body.cb5 .cb5-isla .cb5-retrato img{display:block;width:100%;height:100%;min-height:560px;object-fit:cover;object-position:50% 25%;border-radius:0;filter:none}
html:root body.cb5 .cb5-isla-t>.col-inner{padding:70px 64px!important;display:flex;flex-direction:column;justify-content:center;height:100%}
html:root body.cb5 .cb5-isla h2{font:300 clamp(34px,3.6vw,52px)/1.05 "Sentient",Georgia,serif;letter-spacing:-1px;color:#FBF4E2!important;margin:0 0 12px}
html:root body.cb5 .cb5-isla .cb5-label{color:#E4B04A!important}
html:root body.cb5 .cb5-isla p,html:root body.cb5 .cb5-isla .cb5-presenta{color:#EADFC8!important;font:400 16px/1.55 "Public Sans",sans-serif}
html:root body.cb5 .cb5-isla .cb5-texto p{font-weight:300;line-height:1.7;max-width:36em}
html:root body.cb5 .cb5-det summary{display:inline-flex;align-items:center;gap:10px;cursor:pointer;list-style:none;font:400 16px/1 "Sentient",Georgia,serif;color:#F2CE86;border-bottom:1px solid #F2CE86;padding-bottom:5px;margin:8px 0 22px}
html:root body.cb5 .cb5-det summary::-webkit-details-marker{display:none}
html:root body.cb5 .cb5-det[open] summary{margin-bottom:22px}
/* --- cierre: titular enorme + tres filas amplias --- */
html:root body.cb5 section.cb5-cierre{background:var(--cb-crema)!important;border-top:1px solid var(--cb-l)}
html:root body.cb5 section.cb5-cierre>.section-content>.row>.col>.col-inner{padding:100px 56px 90px!important}
html:root body.cb5 .cb5-cierre h2{font-size:clamp(46px,7vw,104px)!important;line-height:1!important;letter-spacing:-.025em;margin-bottom:34px}
html:root body.cb5 .cb5-cierre-t{max-width:34em;font:300 18px/1.6 "Public Sans",sans-serif;color:var(--cb-gris);margin:0 0 30px}
html:root body.cb5 .cb5-filas{border-top:1px solid var(--cb-tinta);margin-top:26px}
html:root body.cb5 .cb5-cf{display:flex;align-items:center;gap:24px;padding:30px 20px;border-bottom:1px solid rgba(110,76,20,.4);color:var(--cb-tinta);transition:background .15s}
html:root body.cb5 .cb5-cf:hover{background:var(--cb-card)}
html:root body.cb5 .cb5-cf .cb5-label{width:190px;color:var(--cb-gris)}
html:root body.cb5 .cb5-cf-t{flex:1;font:300 clamp(24px,3.4vw,44px)/1 "Sentient",Georgia,serif;color:var(--cb-tinta)}
html:root body.cb5 .cb5-cf-m{overflow-wrap:anywhere}
html:root body.cb5 .cb5-cf .cb5-ic{width:22px;height:22px;color:var(--cb-tinta)}
html:root body.cb5 .cb5-cf-wa{background:var(--cb-oro);border-bottom-color:var(--cb-tinta)}
html:root body.cb5 .cb5-cf-wa:hover{background:#CE9419}
html:root body.cb5 .cb5-cf-wa .cb5-label,html:root body.cb5 .cb5-cf-wa .cb5-cf-t,html:root body.cb5 .cb5-cf-wa .cb5-ic{color:#170F02}
/* --- celular --- */
@media (max-width:849px){
  html:root body.cb5 .cb5-marco>.section-content>.row{border-left:0;border-right:0}
  html:root body.cb5 .cb5-hero-split.cb5-marco>.section-content>.row>.col:first-child{border-right:0;padding:0 22px 20px!important}
  html:root body.cb5 section.cb5-confianza .col{border-right:0;border-bottom:1px solid var(--cb-l)}
  html:root body.cb5 section.cb5-confianza .cb5-dato{padding:24px 22px}
  html:root body.cb5 .cb5-izq{border-right:0}
  html:root body.cb5 .cb5-izq>.col-inner{padding:60px 22px 40px!important}
  html:root body.cb5 .cb5-der>.col-inner{position:static;padding:0 22px 60px!important}
  html:root body.cb5 .cb5-fig-img img{height:300px}
  html:root body.cb5 .cb5-mcard h3{font-size:21px;padding:18px 40px 18px 44px}
  html:root body.cb5 .cb5-mcard h3::before{top:23px;left:2px}
  html:root body.cb5 .cb5-mcard p{padding:0 14px 20px 44px}
  html:root body.cb5 .cb5-idx-figs{height:320px}
  html:root body.cb5 .cb5-fig,html:root body.cb5 .cb5-fig img,html:root body.cb5 .cb5-fig figcaption{height:260px}
  html:root body.cb5 .cb5-fig-v{top:278px}
  html:root body.cb5 .cb5-ft{font-size:21px}
  html:root body.cb5 .cb5-fila{gap:14px;padding:18px 2px}
  html:root body.cb5 .cb5-idx-p:not(.cb5-abierta) .cb5-fila-mas{display:none}
  html:root body.cb5 .cb5-idx-mas{display:inline-flex;margin-top:22px;padding:0 0 5px;border:0;border-bottom:1px solid var(--cb-tinta);border-radius:0;background:transparent;font:400 16px/1 "Sentient",Georgia,serif;text-transform:none;letter-spacing:normal;color:var(--cb-tinta);box-shadow:none;min-height:0}
  html:root body.cb5 .cb5-idx-p.cb5-abierta .cb5-idx-mas{display:none}
  /* naipes: se apilan al hacer scroll (position:sticky), sin JavaScript */
  html:root body.cb5 .cb5-naipes>.section-content>.row:first-child{padding:60px 22px 10px;text-align:left}
  html:root body.cb5 .cb5-naipes>.section-content>.row:last-child{padding:10px 22px 80px;display:block}
  html:root body.cb5 .cb5-nq{flex:none;max-width:none;margin:0 0 14px!important;position:sticky;top:92px}
  html:root body.cb5 .cb5-nq2{top:156px}
  html:root body.cb5 .cb5-nq3{top:220px}
  html:root body.cb5 .cb5-naipe h3{position:absolute;left:88px;right:64px;top:28px;margin:0;font-size:23px;line-height:1.1}
  html:root body.cb5 .cb5-naipe{height:330px;transform:rotate(calc(var(--r) * .3))}
  html:root body.cb5 .cb5-nq.cb5-rv{opacity:1;transform:none}
  html:root body.cb5 .cb5-naipe::after{width:270px;height:270px;right:-80px;bottom:-90px}
  html:root body.cb5 section.cb5-isla{padding:56px 14px!important}
  html:root body.cb5 .cb5-isla .cb5-retrato img{min-height:340px;height:340px}
  html:root body.cb5 .cb5-isla-t>.col-inner{padding:30px 24px 34px!important}
  html:root body.cb5 section.cb5-cierre>.section-content>.row>.col>.col-inner{padding:56px 22px 70px!important}
  html:root body.cb5 .cb5-cf{flex-wrap:wrap;gap:10px;padding:22px 14px}
  html:root body.cb5 .cb5-cf .cb5-label{width:100%}
  html:root body.cb5 .cb5-cf .cb5-ic{display:none}
}
@media (prefers-reduced-motion:reduce){html:root body.cb5 .cb5-nq.cb5-rv{opacity:1;transform:none}html:root body.cb5 .cb5-fig{transition:none}}

/* contraste de los acentos sobre fondo claro */
html:root body.cb5 .cb5-naipes h2 em,html:root body.cb5 .cb5-cierre h2 em,html:root body.cb5 .cb5-pag h2 em{color:var(--cb-oro-claro)!important}
html:root body.cb5 .cb5-naipes h2 em{color:#5A3B14!important}
/* el contenedor del tema es un flex en fila: aquí las piezas van una bajo otra */
html:root body.cb5 .cb5-izq>.col-inner,html:root body.cb5 .cb5-der>.col-inner{display:block!important}
html:root body.cb5 .cb5-izq>.col-inner>*{width:100%;max-width:100%;flex:none}

/* --- Contacto y «Otras materias»: tarjetas de contacto como filas y formulario CLAROS (la única isla oscura es Nicolás) --- */
html:root body.cb5 .cb5-claro .cb5-card:not(.cb5-wa),html:root body.cb5 .cb5-pag .cb5-card:not(.cb5-wa){background:transparent!important;color:var(--cb-tinta)!important;border:0!important;border-bottom:1px solid rgba(110,76,20,.4)!important;border-radius:0!important;padding:26px 14px;margin:0}
html:root body.cb5 .cb5-claro .cb5-card:not(.cb5-wa):hover,html:root body.cb5 .cb5-pag .cb5-card:not(.cb5-wa):hover{background:var(--cb-card)!important;transform:none;box-shadow:none}
html:root body.cb5 .cb5-claro .cb5-card:not(.cb5-wa) .cb5-label,html:root body.cb5 .cb5-pag .cb5-card:not(.cb5-wa) .cb5-label{color:var(--cb-gris)}
html:root body.cb5 .cb5-claro .cb5-card:not(.cb5-wa) a,html:root body.cb5 .cb5-pag .cb5-card:not(.cb5-wa) a{color:var(--cb-tinta)}
html:root body.cb5 .cb5-claro .cb5-card.cb5-wa,html:root body.cb5 .cb5-pag .cb5-card.cb5-wa{border-radius:0!important;border:0!important;border-bottom:1px solid var(--cb-tinta)!important;padding:26px 14px;margin:0}
html:root body.cb5 .cb5-form{background:var(--cb-card)!important;color:var(--cb-tinta)!important;border:1px solid rgba(110,76,20,.3)}
html:root body.cb5 .cb5-form h3,html:root body.cb5 .cb5-form label,html:root body.cb5 .cb5-form .forminator-label,html:root body.cb5 .cb5-form legend{color:var(--cb-tinta)!important}
html:root body.cb5 .cb5-form .forminator-ui .forminator-input,html:root body.cb5 .cb5-form .forminator-ui .forminator-textarea,html:root body.cb5 .cb5-form .forminator-ui select,html:root body.cb5 .cb5-form .forminator-ui .select2-selection{background:var(--cb-crema)!important;color:var(--cb-tinta)!important;border:1px solid rgba(110,76,20,.35)!important}
html:root body.cb5 .cb5-form .forminator-ui .forminator-input::placeholder,html:root body.cb5 .cb5-form .forminator-ui .forminator-textarea::placeholder{color:#6A5E4F!important}
html:root body.cb5 .cb5-form .forminator-ui .forminator-response-message.forminator-success{background:var(--cb-crema)!important;color:var(--cb-tinta)!important}
html:root body.cb5 .cb5-form .cb5-aviso-form,html:root body.cb5 .cb5-form .cb5-aviso-form a{color:var(--cb-gris)!important}
html:root body.cb5 .cb5-form .cb5-aviso-form a{color:var(--cb-tinta)!important}
html:root body.cb5 .cb5-form select,html:root body.cb5 .cb5-form select option{background-color:var(--cb-crema)!important;color:var(--cb-tinta)!important}
html:root body.cb5 .cb5-form select{border:1px solid rgba(110,76,20,.35)!important}
/* marco de líneas también en Contacto, Otras materias, Blog y Privacidad */
html:root body.cb5 section.cb5-pag:not(.cb5-marco)>.section-content>.row{max-width:1292px;margin-left:auto;margin-right:auto;border-left:1px solid var(--cb-l);border-right:1px solid var(--cb-l)}
html:root body.cb5 section.cb5-pag:not(.cb5-marco)>.section-content>.row>.col{padding-left:40px;padding-right:40px}
@media (max-width:849px){html:root body.cb5 section.cb5-pag:not(.cb5-marco)>.section-content>.row{border-left:0;border-right:0}html:root body.cb5 section.cb5-pag:not(.cb5-marco)>.section-content>.row>.col{padding-left:15px;padding-right:15px}}

/* =====================================================================
   AJUSTES 24-11 (tarde) · líneas únicas + pasos editoriales en lugar de naipes
   ===================================================================== */
/* --- una sola línea: se anulan bordes heredados del diseño anterior --- */
html:root body.cb5 section.cb5-confianza .cb5-dato,html:root body.cb5 section.cb5-confianza .col+.col .cb5-dato{border:0!important;border-left:0!important}
html:root body.cb5 .cb5-hero-split .cb5-fila{border:0!important;padding-bottom:0}
html:root body.cb5 section.cb5-naipes{border-bottom:0!important}
/* la imagen de la portada llega hasta las líneas del marco */
html:root body.cb5 .cb5-hero-split.cb5-marco>.section-content>.row>.col:first-child{flex:0 0 50%;max-width:50%}
html:root body.cb5 .cb5-hero-split.cb5-marco>.section-content>.row>.col:last-child{flex:1 1 0;max-width:none!important;width:auto}
/* --- pasos editoriales (antes naipes): tres columnas entre líneas finas, numeral grande --- */
html:root body.cb5 .cb5-naipes>.section-content>.row:last-child{max-width:1292px;border-left:1px solid var(--cb-l);border-right:1px solid var(--cb-l);padding:0 0 0;justify-content:stretch;border-top:1px solid var(--cb-l)}
html:root body.cb5 .cb5-nq{flex:0 0 33.3333%;max-width:33.3333%;margin:0!important;padding:0!important;border-right:1px solid var(--cb-l);--r:0deg}
html:root body.cb5 .cb5-nq3{border-right:0}
html:root body.cb5 .cb5-nq1,html:root body.cb5 .cb5-nq2,html:root body.cb5 .cb5-nq3{margin-top:0!important}
html:root body.cb5 .cb5-naipe{position:relative;overflow:visible;height:auto;min-height:420px;padding:44px 40px 48px!important;border:0!important;border-radius:0;background:transparent!important;color:var(--cb-tinta)!important;box-shadow:none;transform:none;display:block}
html:root body.cb5 .cb5-naipe::after{display:none!important}
html:root body.cb5 .cb5-naipe .cb5-ico-w{position:static;margin:0 0 70px;width:48px;height:48px;border:1px solid rgba(110,76,20,.45);border-radius:6px;color:var(--cb-oro-claro)!important;display:flex}
html:root body.cb5 .cb5-naipe .cb5-nn{position:absolute;right:40px;top:30px;font:300 84px/1 "Sentient",Georgia,serif;letter-spacing:-2px;color:var(--cb-oro-claro);opacity:1}
html:root body.cb5 .cb5-naipe h3{position:static;font:300 32px/1.1 "Sentient",Georgia,serif;margin:0 0 14px;color:var(--cb-tinta)!important}
html:root body.cb5 .cb5-naipe p{font:300 17px/1.65 "Public Sans",sans-serif;color:var(--cb-tinta)!important;max-width:24em;position:static}
html:root body.cb5 .cb5-nq1 .cb5-naipe,html:root body.cb5 .cb5-nq2 .cb5-naipe,html:root body.cb5 .cb5-nq3 .cb5-naipe{background:transparent!important;color:var(--cb-tinta)!important;border:0!important}
html:root body.cb5 .cb5-nq:hover .cb5-naipe{background:rgba(255,252,243,.5)!important}
html:root body.cb5 .cb5-nq.cb5-rv{transform:translateY(28px)}
html:root body.cb5 .cb5-nq.cb5-rv.cb5-vis{transform:none}
html:root body.cb5 .cb5-naipes>.section-content>.row:first-child{padding-bottom:50px}
@media (max-width:849px){
  html:root body.cb5 .cb5-naipes>.section-content>.row:last-child{border:0;border-top:1px solid var(--cb-l);padding:0!important;display:block}
  html:root body.cb5 .cb5-nq{flex:none;max-width:none;position:static!important;border-right:0;border-bottom:1px solid var(--cb-l);margin:0!important}
  html:root body.cb5 .cb5-naipe{min-height:0;padding:30px 22px 34px!important;transform:none!important}
  html:root body.cb5 .cb5-naipe .cb5-ico-w{margin-bottom:34px}
  html:root body.cb5 .cb5-naipe .cb5-nn{right:22px;top:24px;font-size:64px}
  html:root body.cb5 .cb5-naipe h3{position:static;font-size:27px}
  html:root body.cb5 .cb5-nq.cb5-rv{opacity:1;transform:none}
}
/* la imagen de la portada ocupa todo su recuadro entre las líneas del marco */
html:root body.cb5 .cb5-marco>.section-content>.row{padding-left:0!important;padding-right:0!important}
html:root body.cb5 .cb5-hero-split.cb5-marco>.section-content>.row{align-items:stretch!important}
html:root body.cb5 .cb5-hero-split.cb5-marco>.section-content>.row>.col:last-child>.col-inner,html:root body.cb5 .cb5-hero-split.cb5-marco .cb5-hero-img,html:root body.cb5 .cb5-hero-split.cb5-marco .cb5-hero-img .img-inner{height:100%}
html:root body.cb5 .cb5-hero-split.cb5-marco .cb5-hero-img img{height:100%;min-height:560px}
@media (max-width:849px){html:root body.cb5 .cb5-hero-split.cb5-marco .cb5-hero-img img{height:300px;min-height:0}html:root body.cb5 .cb5-hero-split.cb5-marco>.section-content>.row>.col:last-child{flex:none;width:100%;max-width:100%!important}html:root body.cb5 .cb5-hero-split.cb5-marco>.section-content>.row>.col:first-child{flex:none;max-width:100%}}

/* =====================================================================
   SECCIÓN DE NICOLÁS · 24-11 · ficha cuidada (la foto llena su recuadro y se entibia hacia la paleta; jerarquía tipográfica; regla fina; cita; trazo tenue)
   ===================================================================== */
html:root body.cb5 section.cb5-isla{padding:110px 24px!important}
html:root body.cb5 section.cb5-isla>.section-content>.row{max-width:1244px;border-radius:12px;background:linear-gradient(135deg,#2B1D12 0%,#35261A 100%);box-shadow:0 30px 60px -28px rgba(43,29,18,.55);align-items:stretch!important;padding:0!important}
/* foto: llena el recuadro, sin franjas ni viñeteado, tono cálido */
html:root body.cb5 .cb5-isla-f{flex:0 0 41.6667%;max-width:41.6667%;padding:0!important;position:relative;overflow:hidden}
html:root body.cb5 .cb5-isla-f>.col-inner,html:root body.cb5 .cb5-isla-f .cb5-retrato,html:root body.cb5 .cb5-isla-f .img,html:root body.cb5 .cb5-isla-f .img-inner{width:100%!important;max-width:none!important;height:100%;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html:root body.cb5 .cb5-isla .cb5-retrato img{position:absolute;inset:0;width:100%!important;height:100%!important;min-height:640px;object-fit:cover;object-position:50% 22%;transform:scale(1.16);transform-origin:50% 30%;filter:sepia(.34) saturate(.82) contrast(1.03) brightness(.97)!important;border-radius:0!important}
html:root body.cb5 .cb5-isla-f::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(43,29,18,0) 70%,rgba(43,29,18,.55) 100%),linear-gradient(180deg,rgba(189,132,20,.14),rgba(43,29,18,.18));mix-blend-mode:multiply}
/* texto */
html:root body.cb5 .cb5-isla-t{position:relative;overflow:hidden}
html:root body.cb5 .cb5-isla-t::before{content:"";position:absolute;right:-90px;bottom:-110px;width:420px;height:420px;background-color:#E4B04A;opacity:.07;-webkit-mask:url("img/er-linea.svg") center/contain no-repeat;mask:url("img/er-linea.svg") center/contain no-repeat;pointer-events:none}
html:root body.cb5 .cb5-isla-t>.col-inner{padding:84px 72px 76px!important;position:relative;display:block!important;height:auto}
html:root body.cb5 .cb5-isla-t .cb5-label{display:block;margin:0 0 30px!important;color:#E4B04A!important}
html:root body.cb5 .cb5-isla h2{font:300 clamp(40px,4.4vw,64px)/1.02 "Sentient",Georgia,serif!important;letter-spacing:-1.4px;color:#FBF4E2!important;margin:0!important}
html:root body.cb5 .cb5-isla h2::after{content:"";display:block;width:56px;height:1px;background:#E4B04A;margin:30px 0 28px}
html:root body.cb5 .cb5-isla .cb5-presenta{font:300 19px/1.7 "Public Sans",sans-serif!important;color:#EADFC8!important;max-width:30em;margin:0 0 34px!important}
html:root body.cb5 .cb5-isla .cb5-cita{font:300 italic clamp(24px,2.3vw,32px)/1.28 "Sentient",Georgia,serif!important;color:#F2CE86!important;margin:0 0 38px!important;max-width:20em;position:relative;padding-left:0}
html:root body.cb5 .cb5-isla .cb5-cita::before{content:"\201C";position:absolute;left:-.62em;top:-.08em;font-size:1.5em;color:#E4B04A;opacity:.9}
html:root body.cb5 .cb5-det summary{display:inline-flex;align-items:center;gap:12px;padding:13px 22px;border:1px solid rgba(242,206,134,.55);border-radius:6px;color:#F2CE86;font:400 15.5px/1 "Sentient",Georgia,serif;letter-spacing:.2px;cursor:pointer;list-style:none;margin:0;transition:background .2s,border-color .2s}
html:root body.cb5 .cb5-det summary::after{content:"";width:14px;height:14px;background-color:currentColor;-webkit-mask:url("icons/plus.svg") center/contain no-repeat;mask:url("icons/plus.svg") center/contain no-repeat;transition:transform .2s}
html:root body.cb5 .cb5-det[open] summary::after{transform:rotate(45deg)}
html:root body.cb5 .cb5-det summary:hover{background:rgba(242,206,134,.1);border-color:#F2CE86}
html:root body.cb5 .cb5-det>p{margin:26px 0 0!important;font:300 16.5px/1.75 "Public Sans",sans-serif!important;color:#EADFC8!important;max-width:38em;padding-top:0}
html:root body.cb5 .cb5-det>p:first-of-type{border-top:1px solid rgba(242,206,134,.22);padding-top:26px}
@media (max-width:849px){
  html:root body.cb5 section.cb5-isla{padding:56px 14px!important}
  html:root body.cb5 .cb5-isla-f{flex:none;max-width:100%;width:100%;height:380px}
  html:root body.cb5 .cb5-isla .cb5-retrato img{min-height:0}
  html:root body.cb5 .cb5-isla-t>.col-inner{padding:38px 26px 42px!important}
  html:root body.cb5 .cb5-isla h2{font-size:40px!important}
  html:root body.cb5 .cb5-isla .cb5-cita{padding-left:.9em}
  html:root body.cb5 .cb5-isla .cb5-cita::before{left:0}
}
html:root body.cb5 .cb5-isla .cb5-cita::after{content:"\201D";color:#E4B04A;opacity:.9;margin-left:.08em}

/* =====================================================================
   SECCIÓN DE NICOLÁS · versión MINIMALISTA (24-11, tarde): fondo claro, foto con tratamiento B (monocromo cálido) de tamaño fijo y fija al desplegar
   ===================================================================== */
html:root body.cb5 section.cb5-isla{background:var(--cb-crema)!important;padding:0!important;border-top:1px solid var(--cb-l)}
html:root body.cb5 section.cb5-isla>.section-content>.row{max-width:1292px;margin:0 auto;background:transparent!important;border-radius:0;box-shadow:none;border-left:1px solid var(--cb-l);border-right:1px solid var(--cb-l);align-items:flex-start!important}
/* foto: caja fija, no se estira con el texto; se queda a la vista mientras se lee el perfil */
html:root body.cb5 .cb5-isla-f{flex:0 0 41.6667%;max-width:41.6667%;align-self:flex-start;position:sticky;top:96px;padding:80px 0 80px 56px!important;overflow:visible;border-right:1px solid var(--cb-l)}
html:root body.cb5 .cb5-isla-f::after{display:none}
html:root body.cb5 .cb5-isla-f>.col-inner{padding:0!important;height:auto}
html:root body.cb5 .cb5-isla-f .cb5-retrato,html:root body.cb5 .cb5-isla-f .img,html:root body.cb5 .cb5-isla-f .img-inner{position:relative;width:calc(100% - 56px)!important;height:600px!important;overflow:hidden;border-radius:4px!important;background:#2B1D12}
html:root body.cb5 .cb5-isla .cb5-retrato img{position:absolute;inset:0;width:100%!important;height:100%!important;min-height:0;object-fit:cover;object-position:50% 22%;transform:scale(1.16);transform-origin:50% 30%;filter:grayscale(1) sepia(.62) saturate(1.15) contrast(1.08) brightness(1.04)!important}
html:root body.cb5 .cb5-isla-f .img-inner::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(189,132,20,.10),rgba(43,29,18,.22));mix-blend-mode:multiply}
/* texto: sobrio, sobre claro */
html:root body.cb5 .cb5-isla-t::before{display:none}
html:root body.cb5 .cb5-isla-t{overflow:visible}
html:root body.cb5 .cb5-isla-t>.col-inner{padding:90px 72px 90px 64px!important}
html:root body.cb5 .cb5-isla-t .cb5-label{color:var(--cb-gris)!important}
html:root body.cb5 .cb5-isla h2{color:var(--cb-tinta)!important;font-size:clamp(38px,4vw,58px)!important}
html:root body.cb5 .cb5-isla h2::after{background:var(--cb-oro)}
html:root body.cb5 .cb5-isla .cb5-presenta{color:var(--cb-gris)!important;font-size:18px!important}
html:root body.cb5 .cb5-isla .cb5-cita{color:#5A3B14!important}
html:root body.cb5 .cb5-isla .cb5-cita::before,html:root body.cb5 .cb5-isla .cb5-cita::after{color:var(--cb-oro-claro)}
html:root body.cb5 .cb5-det summary{color:var(--cb-tinta);border-color:var(--cb-tinta)}
html:root body.cb5 .cb5-det summary:hover{background:rgba(31,23,16,.05);border-color:var(--cb-tinta)}
html:root body.cb5 .cb5-det>p{color:var(--cb-gris)!important}
html:root body.cb5 .cb5-det>p:first-of-type{border-top:1px solid var(--cb-l)}
@media (max-width:849px){
  html:root body.cb5 section.cb5-isla>.section-content>.row{border-left:0;border-right:0}
  html:root body.cb5 .cb5-isla-f{flex:none;max-width:100%;width:100%;height:auto;position:static;padding:40px 22px 0!important;border-right:0}
  html:root body.cb5 .cb5-isla-f .cb5-retrato,html:root body.cb5 .cb5-isla-f .img,html:root body.cb5 .cb5-isla-f .img-inner{width:100%!important;height:360px!important}
  html:root body.cb5 .cb5-isla-t>.col-inner{padding:34px 22px 56px!important}
}
html:root body.cb5 .cb5-isla-f .img-inner{width:100%!important}
@media (max-width:849px){html:root body.cb5 .cb5-isla-f .img-inner{width:100%!important;height:100%!important}}
html:root body.cb5 .cb5-isla-f{border-right:0!important}
html:root body.cb5 .cb5-isla-t{border-left:1px solid var(--cb-l);align-self:stretch}
@media (max-width:849px){html:root body.cb5 .cb5-isla-t{border-left:0}}


/* =====================================================================
   DENSIDAD · 24-11 (tarde): menos texto a la vista, sin achicar titulares
   ===================================================================== */
/* titulares equilibrados: sin palabras sueltas al final de línea (no cambia el tamaño) */
html:root body.cb5 h1,html:root body.cb5 h2,html:root body.cb5 .cb5-xxl,html:root body.cb5 .cb5-cf-t{text-wrap:balance}
html:root body.cb5 .cb5-sub p,html:root body.cb5 .cb5-presenta{text-wrap:pretty}
@media (max-width:849px){
  /* franjas de datos: etiqueta + título, sin la descripción (la descripción queda en escritorio y en el HTML) */
  html:root body.cb5 section.cb5-confianza .cb5-dato p:not(.cb5-label){display:none}
  html:root body.cb5 section.cb5-confianza .cb5-dato{padding:20px 22px}
  html:root body.cb5 section.cb5-confianza .cb5-dato h3{font-size:24px;line-height:1.1;margin:0}
  html:root body.cb5 section.cb5-confianza .cb5-dato .cb5-label{margin:0 0 8px}
  /* portada: respiro entre bloques y párrafo más corto */
  html:root body.cb5 .cb5-hero-split .cb5-sub p{font-size:17px;line-height:1.55;margin-bottom:22px}
  /* pasos: texto más corto en pantalla */
  html:root body.cb5 .cb5-naipe p{font-size:16px;line-height:1.55}
  html:root body.cb5 .cb5-presenta{font-size:17px!important}
}

@media (max-width:849px){
  /* datos de la home: una columna, como ficha (etiqueta a la izquierda, dato a la derecha) */
  html:root body.cb5 section.cb5-confianza:not(.cb5-franja) .col{flex:0 0 100%!important;max-width:100%!important;border-right:0;border-bottom:1px solid var(--cb-l)}
  html:root body.cb5 section.cb5-confianza:not(.cb5-franja) .col:last-child{border-bottom:0}
  html:root body.cb5 section.cb5-confianza:not(.cb5-franja) .cb5-dato{display:flex;align-items:baseline;justify-content:space-between;gap:18px;padding:18px 22px}
  html:root body.cb5 section.cb5-confianza:not(.cb5-franja) .cb5-dato .cb5-ico-w{display:none}
  html:root body.cb5 section.cb5-confianza:not(.cb5-franja) .cb5-dato .cb5-label{margin:0;flex:0 0 auto}
  html:root body.cb5 section.cb5-confianza:not(.cb5-franja) .cb5-dato h3{text-align:right;font-size:24px}
}

@media (max-width:849px){
  /* franjas de las páginas de área: icono y título en una fila compacta */
  html:root body.cb5 section.cb5-franja .cb5-dato{display:flex;align-items:center;gap:14px;padding:16px 22px}
  html:root body.cb5 section.cb5-franja .cb5-dato .cb5-ico-w{margin:0}
  html:root body.cb5 section.cb5-franja .cb5-dato h3{margin:0}
}
@media (max-width:849px){
  html:root body.cb5 section.cb5-confianza:not(.cb5-franja) .cb5-dato{flex-wrap:wrap;row-gap:4px}
  html:root body.cb5 section.cb5-confianza:not(.cb5-franja) .cb5-dato h3{margin-left:auto}
  html:root body.cb5 section.cb5-confianza:not(.cb5-franja) .cb5-dato .cb5-label{letter-spacing:2.4px}
}
@media (max-width:849px){html:root body.cb5 .cb5-naipes>.section-content>.row:first-child .col{padding-bottom:0}html:root body.cb5 .cb5-naipes>.section-content>.row:first-child{padding-bottom:26px}}

/* home: cada área es una introducción corta + una invitación a entrar (el desarrollo vive en la página del área) */
html:root body.cb5 .cb5-idx-intro{font:300 clamp(24px,2.3vw,32px)/1.32 "Sentient",Georgia,serif;letter-spacing:-.4px;color:var(--cb-tinta);margin:0 0 38px;max-width:21em;text-wrap:pretty}
html:root body.cb5 .cb5-fila-ir{border-top:1px solid var(--cb-l);padding:26px 8px}
html:root body.cb5 .cb5-fila-ir .cb5-ft{font-size:22px}
html:root body.cb5 .cb5-fila-ir:hover .cb5-ic{transform:translateX(4px)}
html:root body.cb5 .cb5-fila-ir .cb5-ic{transition:transform .2s}
@media (max-width:849px){html:root body.cb5 .cb5-idx-intro{font-size:24px;margin-bottom:28px}html:root body.cb5 .cb5-fila-ir .cb5-ft{font-size:20px}}
/* un solo enlace por área en la home (la fila bajo la introducción); la figura queda como imagen */
html:root body.cb5 .cb5-idx-figs .cb5-fig-v{display:none}
html:root body.cb5 .cb5-idx-figs{height:560px}
@media (max-width:849px){html:root body.cb5 .cb5-idx-figs{height:260px}}

/* consulta por formulario en cada área */
html:root body.cb5 .cb5-idx-form{display:inline-flex;align-items:center;gap:10px;margin:22px 0 0 8px;font:400 16px/1 "Sentient",Georgia,serif;color:var(--cb-tinta);border-bottom:1px solid var(--cb-tinta);padding-bottom:5px}
html:root body.cb5 .cb5-idx-form .cb5-ic{width:16px;height:16px}
html:root body.cb5 .cb5-idx-form:hover{color:var(--cb-oro-claro);border-color:var(--cb-oro-claro)}
html:root body.cb5 .cb5-consulta .cb5-m{font-size:clamp(32px,3.2vw,46px);line-height:1.08}
html:root body.cb5 .cb5-consulta .cb5-cq .button{margin-top:10px}
html:root body.cb5 .cb5-consulta .cb5-form{max-width:none}
html:root body.cb5 .cb5-consulta>.section-content>.row{padding-top:40px;padding-bottom:40px}
html:root body.cb5 .cb5-form .cb5-area{display:block;padding:0 8px;box-sizing:border-box}

/* ---- aviso de cookies ---- */
html:root body.cb5 .cb5-ck{position:fixed;left:24px;bottom:24px;z-index:3000;width:min(420px,calc(100% - 48px));box-sizing:border-box;padding:20px 22px 18px;background:var(--cb-card);border:1px solid rgba(110,76,20,.28);border-radius:10px;box-shadow:0 18px 44px rgba(43,29,18,.22);color:var(--cb-tinta);opacity:0;transform:translateY(10px);transition:opacity .25s ease,transform .28s cubic-bezier(.3,.7,.2,1)}
html:root body.cb5 .cb5-ck[hidden]{display:none}
html:root body.cb5 .cb5-ck.on{opacity:1;transform:none}
html:root body.cb5 .cb5-ck-t{margin:0 0 16px;font:400 15px/1.55 "Public Sans",sans-serif;color:var(--cb-tinta)}
html:root body.cb5 .cb5-ck-t strong{display:block;margin-bottom:4px;font:300 22px/1.1 "Sentient",Georgia,serif;font-weight:300}
html:root body.cb5 .cb5-ck-t a{color:var(--cb-tinta);text-decoration:underline;text-underline-offset:3px}
html:root body.cb5 .cb5-ck-b{display:flex;gap:10px}
html:root body.cb5 .cb5-ck-b button{flex:1;min-height:46px;margin:0;padding:0 16px;border-radius:6px;font:400 16px/1 "Sentient",Georgia,serif;text-transform:none;letter-spacing:normal;cursor:pointer;box-shadow:none}
html:root body.cb5 .cb5-ck-si{background:var(--cb-oro);border:1px solid var(--cb-oro);color:#170F02}
html:root body.cb5 .cb5-ck-no{background:transparent;border:1px solid var(--cb-tinta);color:var(--cb-tinta)}
html:root body.cb5 .cb5-ck-b button:focus-visible{outline:2px solid var(--cb-tinta);outline-offset:2px}
@media (max-width:849px){html:root body.cb5 .cb5-ck{left:12px;right:12px;bottom:12px;width:auto}}
@media (prefers-reduced-motion:reduce){html:root body.cb5 .cb5-ck{transition:none}}

/* Redes sociales en el pie (24-11-2026) */
body.cb5 .cb5-ic-instagram-logo{--cb-ic:url("icons/instagram-logo.svg")}
body.cb5 .cb5-ic-facebook-logo{--cb-ic:url("icons/facebook-logo.svg")}
body.cb5 .cb5-ic-tiktok-logo{--cb-ic:url("icons/tiktok-logo.svg")}
html:root body.cb5 .absolute-footer .cb5-redes{display:inline-flex;align-items:center;gap:2px;vertical-align:middle}
html:root body.cb5 .absolute-footer a.cb5-red{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin:-12px 0;text-decoration:none;color:#fff;opacity:.82;transition:opacity .2s}
html:root body.cb5 .absolute-footer a.cb5-red:hover,html:root body.cb5 .absolute-footer a.cb5-red:focus-visible{opacity:1}
html:root body.cb5 .absolute-footer a.cb5-red .cb5-ic{width:22px;height:22px}
@media (max-width:640px){html:root body.cb5 .absolute-footer .cb5-redes{justify-self:center;justify-content:center;margin:0}html:root body.cb5 .absolute-footer a.cb5-red{margin:-6px 0}}
