/* Páginas de lectura de Hilos. Los selectores hp-* no alteran los paneles. */
.hilos-page{color:#fff;min-height:100%;height:auto}
.hilos-page .wall-layer{will-change:auto}
.hilos-page .glow{animation:none}
.hp-main{position:relative;z-index:1;width:min(1180px,calc(100% - 80px));margin:auto;padding:calc(var(--menubar) + 48px) 0 56px;min-height:calc(100vh - 180px)}
.hp-skip{position:fixed;top:-80px;left:16px;z-index:1000;background:#fff;color:var(--ink);padding:12px;border-radius:8px}.hp-skip:focus{top:8px}
.hp-mobile-nav{display:none}
.hp-hero{display:flex;flex-direction:column;align-items:flex-start;gap:20px;margin-bottom:42px;max-width:860px}
.hp-hero h1,.hp-error h1{font-size:clamp(32px,4.5vw,58px);font-weight:600;line-height:1.12;letter-spacing:-.045em;text-wrap:balance;overflow-wrap:anywhere}
.hp-hero h1 em{font-style:normal;color:rgba(255,255,255,.6)}
.hp-hero>p{font-size:17px;line-height:1.7;max-width:760px;color:rgba(255,255,255,.74)}
.hp-hero-narrow{max-width:850px;margin-left:auto;margin-right:auto}
.hp-back{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:rgba(255,255,255,.72);margin-bottom:8px;min-height:28px}
.hp-back:hover{color:#fff}
.hp-section{margin-top:52px;scroll-margin-top:74px}
.hp-section>h2{font-size:24px;letter-spacing:-.035em;margin-bottom:24px}
.hp-section-head{display:flex;align-items:flex-start;gap:15px;margin-bottom:22px}.hp-section-head h2{font-size:26px;letter-spacing:-.035em;line-height:1.2}.hp-section-head p{max-width:760px;font-size:14px;line-height:1.7;color:rgba(255,255,255,.7);margin-top:8px}
.hp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.hp-card{border-radius:22px;min-width:0;color:var(--ink);overflow:hidden;display:flex;flex-direction:column}
.hp-card-copy{padding:26px;display:flex;flex-direction:column;align-items:flex-start;gap:15px;flex:1}
.hp-card h2,.hp-card h3{font-size:21px;line-height:1.28;letter-spacing:-.035em;overflow-wrap:anywhere}
.hp-card p,.hp-feature p{font-size:14px;line-height:1.7;color:var(--ink-2)}
.hp-meta{display:flex;gap:8px 12px;flex-wrap:wrap;color:#626b86;font-size:10px;font-weight:600;line-height:1.5;text-transform:uppercase;letter-spacing:.025em}
.hp-private{font-size:11px;color:#69728a;line-height:1.6}.hp-provenance{font-size:12px;line-height:1.6;color:rgba(255,255,255,.7)}
.hp-text-link{display:inline-flex;gap:8px;align-items:center;font-size:12px;font-weight:600;color:#087e8c;min-height:30px;margin-top:auto}
.hp-card-copy>a.hp-text-link{margin-top:auto}
.hp-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);border-radius:26px;overflow:hidden;color:var(--ink);margin-bottom:32px}
.hp-feature .hp-card-copy{padding:36px;gap:20px;justify-content:center}
.hp-feature h2{font-size:clamp(24px,2.5vw,32px);line-height:1.2;letter-spacing:-.04em}
.hp-feature-media{display:block;min-height:300px;background:rgba(0,0,0,.14)}.hp-feature-media img{width:100%;height:100%;object-fit:cover;max-height:480px}
.hp-feature>a.hp-feature-media{background:#132a2c}.hp-feature>a.hp-feature-media img{object-fit:contain}
.hp-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.hp-filters{display:flex;flex-wrap:wrap;gap:9px;margin:26px 0 32px}
.hp-filters a{font-size:12px;line-height:1.4;padding:9px 14px;border:1px solid rgba(255,255,255,.2);border-radius:30px;background:rgba(255,255,255,.07);color:rgba(255,255,255,.85)}
.hp-filters a:hover{background:rgba(255,255,255,.16)}
/* En las páginas legales, los enlaces van alineados con la columna de lectura y marcan la página actual */
.hp-filters-narrow{max-width:850px;margin-left:auto;margin-right:auto}
.hp-filters a[aria-current="page"]{background:#fff;border-color:#fff;color:#1d2340;font-weight:600}
.hp-card-media{display:block;aspect-ratio:16/10;overflow:hidden;background:#24293b}.hp-card-media img{width:100%;height:100%;object-fit:cover}
.hp-placeholder{height:100%;display:grid;place-items:center;font-size:42px;color:#fff;background:linear-gradient(135deg,#14556b,#57305a)}
.hp-pager{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:36px;font-size:12px}.hp-empty{border-radius:24px;padding:40px;color:var(--ink)}
.hp-reading{max-width:850px;margin:0 auto;border-radius:26px;padding:clamp(24px,4vw,52px);color:var(--ink);font-size:15px;line-height:1.85;overflow-wrap:anywhere}
.hp-reading>section+section,.hp-prose>section+section{margin-top:36px}
.hp-reading h2{font-size:27px;letter-spacing:-.035em;line-height:1.25;margin:28px 0 18px}.hp-reading h3{font-size:21px;letter-spacing:-.025em;line-height:1.4;margin:24px 0 14px}
.hp-reading p{margin:16px 0;color:#454e68}.hp-reading ul,.hp-reading ol{padding-left:23px;margin:20px 0}.hp-reading li{margin:8px 0}
.hp-reading a{color:#007986;text-decoration:underline;text-underline-offset:3px}.hp-reading a.btn{text-decoration:none;color:#fff}
.hp-reading img{border-radius:14px;height:auto}.hp-reading figure{margin:24px 0}.hp-reading figcaption{font-size:12px;color:#626b86;margin-top:10px}
.hp-eyebrow,.hp-reading .hp-eyebrow,.hp-legal .wa-kicker{font-size:11px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:#087e8c;margin-bottom:10px}
.hp-reading .hp-pipeline{list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:32px 0}
.hp-pipeline li{margin:0;padding:14px;background:rgba(0,143,160,.07);border-radius:14px;font-size:12px;line-height:1.5}.hp-pipeline b,.hp-pipeline span{display:block}.hp-pipeline span{color:var(--ink-2);font-size:11px;margin-top:7px}
.hp-inline-note{padding:20px;border-radius:18px;background:rgba(0,143,160,.07);margin-bottom:30px}.hp-inline-note p{margin:6px 0}.hp-inline-note .hp-text-link{display:flex;width:fit-content}
.hp-article-meta{display:flex;gap:10px 20px;flex-wrap:wrap;font-size:12px;color:rgba(255,255,255,.7)}.hp-article-meta a{text-decoration:underline;text-underline-offset:4px}
.hp-article-cover{width:100%;max-height:540px;object-fit:cover;margin-bottom:30px}
.hp-video{margin-bottom:30px}.hp-video video,.hp-prose video{width:100%;max-height:650px;border-radius:14px;background:#101221}.hp-video iframe,.hp-prose iframe{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:14px}
.hp-prose table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;margin:24px 0;font-size:13px}.hp-prose th,.hp-prose td{border:1px solid var(--line);padding:10px;text-align:left}
.hp-prose blockquote{border-left:3px solid #00a9b8;padding:8px 20px;margin:24px 0;color:var(--ink-2)}
.hp-prose pre{max-width:100%;overflow-x:auto;padding:18px;border-radius:12px;background:#171c2d;color:#fff;font-size:12px;white-space:pre}.hp-prose code{overflow-wrap:anywhere}
.hp-prose .nv-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0}.hp-prose .nv-gallery img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3}
.hp-author{border-top:1px solid var(--line);padding-top:28px;margin-top:32px;display:flex;gap:20px}.hp-author>img{width:64px;height:64px;object-fit:cover;flex:none;border-radius:18px}.hp-author h2{font-size:19px;margin:4px 0}.hp-author p{font-size:13px;margin:10px 0}
.hp-reading .hp-filters a{border-color:rgba(0,143,160,.17);background:rgba(0,143,160,.06);color:#087e8c;text-decoration:none}
.hp-legal section{scroll-margin-top:70px}.hp-legal .wa-legal-facts{display:grid;gap:14px}.hp-legal .wa-legal-facts>div{padding-bottom:12px;border-bottom:1px solid var(--line)}.hp-legal dt{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#626b86}.hp-legal dd{font-size:14px}.hp-legal [data-contact]{color:#007986;text-decoration:underline}
.hp-cta{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:32px;border-radius:24px;color:var(--ink);margin-top:42px}.hp-cta h2{font-size:27px;line-height:1.2;letter-spacing:-.035em}.hp-cta p{font-size:14px;line-height:1.6;color:var(--ink-2);margin-top:10px}.hp-cta .btn{flex:none}
.contact-inline{color:var(--ink);border-radius:26px;overflow:hidden;margin-top:18px}.contact-inline .contact-bar{position:static}
.hp-error{max-width:800px;min-height:55vh;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:26px}.hp-error p{max-width:600px;color:rgba(255,255,255,.7);line-height:1.7}
.hilos-footer{position:relative;z-index:1;color:rgba(255,255,255,.62);font-size:11px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;width:min(1180px,calc(100% - 80px));margin:0 auto;padding:25px 0 80px;border-top:1px solid rgba(255,255,255,.12);line-height:1.7}
.hilos-footer nav{display:flex;gap:16px;flex-wrap:wrap}.hf-brand{font-weight:700;font-size:16px;color:#fff}.hf-brand span{display:block;font-size:11px;font-weight:400;color:rgba(255,255,255,.6);margin-top:4px}.hf-legal{font-size:10px}.hilos-footer a:hover{color:#fff}body.is-app .hilos-footer{visibility:hidden}
.hp-gallery{position:fixed;inset:20px;width:calc(100% - 40px);max-width:1100px;height:calc(100dvh - 40px);max-height:none;margin:auto;border:1px solid rgba(255,255,255,.2);border-radius:24px;background:#111626;color:#fff;padding:54px 60px 45px;overflow:hidden}.hp-gallery::backdrop{background:rgba(5,8,19,.88)}.hp-gallery img{width:100%;height:100%;object-fit:contain}.hp-gallery button{position:absolute;min-width:40px;min-height:40px;border-radius:50%;background:rgba(255,255,255,.1);font-size:22px}.hp-gallery-close{top:10px;right:14px}.hp-gallery-prev{left:10px;top:50%}.hp-gallery-next{right:10px;top:50%}.hp-gallery p{position:absolute;bottom:12px;left:30px;right:30px;text-align:center;font-size:12px}.gallery-open{overflow:hidden;padding-right:var(--gallery-gutter,0px)}
.hilos-page :focus-visible,.hilos-footer :focus-visible{outline:2px solid #00a9b8;outline-offset:4px;border-radius:5px}
@media(max-width:1000px){.hp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hp-main,.hilos-footer{width:calc(100% - 48px)}.hp-feature .hp-card-copy{padding:28px}.hp-feature-media{min-height:260px}}
@media(max-width:700px){.hp-main{width:calc(100% - 32px);padding:26px 0 36px}.hp-mobile-nav{position:relative;z-index:1;display:flex;gap:7px;margin:calc(var(--menubar) + 14px) 16px 0;overflow-x:auto;padding:5px 1px 10px;white-space:nowrap;scrollbar-width:thin}.hp-mobile-nav a{padding:7px 10px;font-size:11px;border-radius:20px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.13)}.hp-hero{gap:16px;margin-bottom:28px}.hp-hero h1,.hp-error h1{font-size:34px}.hp-hero>p{font-size:14px;line-height:1.75}.hp-grid{grid-template-columns:1fr;gap:16px}.hp-card-copy{padding:23px}.hp-feature{grid-template-columns:1fr;border-radius:22px}.hp-feature-media{min-height:0;aspect-ratio:16/10}.hp-feature-media img{max-height:none}.hp-feature .hp-card-copy{padding:24px}.hp-feature h2{font-size:25px}.hp-section{margin-top:36px}.hp-section-head h2{font-size:23px}.hp-section-head .tile{width:36px;height:36px;flex:none;font-size:18px;border-radius:12px}.hp-filters{gap:7px}.hp-filters a{font-size:11px;padding:8px 12px}.hp-reading{padding:24px 20px;border-radius:22px;font-size:14px;line-height:1.8}.hp-reading h2{font-size:23px}.hp-reading h3{font-size:19px}.hp-reading .hp-pipeline{grid-template-columns:repeat(2,minmax(0,1fr))}.hp-article-meta{gap:8px 16px;font-size:11px}.hp-author{gap:14px}.hp-author>img{width:44px;height:44px;border-radius:12px}.hp-cta{align-items:flex-start;flex-direction:column;padding:25px;gap:20px}.hp-cta h2{font-size:25px}.hp-prose .nv-gallery{grid-template-columns:1fr}.hilos-footer{width:calc(100% - 32px);gap:18px;padding-bottom:85px;align-items:flex-start;flex-direction:column}.contact-inline{border-radius:22px}.hp-gallery{inset:8px;width:calc(100% - 16px);height:calc(100dvh - 16px);border-radius:20px;padding:56px 8px 60px}.hp-gallery-prev,.hp-gallery-next{top:auto;bottom:14px}.hp-gallery p{bottom:20px;left:58px;right:58px;font-size:10px}.hp-error{min-height:55vh}}

/* ---------- Pie: barra de estado fija abajo, solo con la empresa y los enlaces legales (el resto ya está en la barra de arriba) ---------- */
:root{--statusbar:34px}
footer.hilos-footer.statusbar{position:fixed;inset:auto 0 0 0;z-index:38;width:auto;margin:0;height:var(--statusbar);padding:0 10px 0 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:nowrap;
  border:0;border-top:1px solid rgba(255,255,255,.08);font-size:12px;line-height:1;color:rgba(255,255,255,.6);
  background:rgba(10,10,30,.42);-webkit-backdrop-filter:blur(24px) saturate(160%);backdrop-filter:blur(24px) saturate(160%)}
footer.statusbar a:hover{color:#fff}
footer.statusbar .sb-brand{display:flex;align-items:center;gap:8px;font-weight:600;color:rgba(255,255,255,.78);white-space:nowrap}
footer.statusbar .sb-brand span{font-weight:450;color:rgba(255,255,255,.5)}
footer.statusbar .sb-brand span::before{content:"·";margin-right:8px}
footer.statusbar .sb-group{display:flex;align-items:center;gap:2px}
footer.statusbar .sb-group a{display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:7px;white-space:nowrap}
footer.statusbar .sb-group a:hover{background:rgba(255,255,255,.1)}
body.is-app footer.statusbar{visibility:visible}
.world{padding-bottom:calc(var(--statusbar) + 12px)}
body{padding-bottom:var(--statusbar)}
.assistant-launcher{bottom:calc(var(--statusbar) + 14px)}
@media (max-width:860px){footer.statusbar .sb-brand span{display:none}}
/* Móvil: pie normal al final, compacto */
@media (max-width:700px){
  body{padding-bottom:0}
  .world{padding-bottom:6px}
  body.is-app footer.statusbar{visibility:hidden}
  footer.hilos-footer.statusbar{position:relative;height:auto;flex-direction:column;align-items:flex-start;gap:8px;padding:16px 16px calc(84px + env(safe-area-inset-bottom));background:rgba(10,10,30,.35)}
  footer.statusbar .sb-brand span{display:inline}
  footer.statusbar .sb-group{margin-left:-8px}
  .assistant-launcher{bottom:max(14px,env(safe-area-inset-bottom))}
}
