/* Sitio público de GammaUX Radar: Inicio, Radar, Radar de banco, Cómo funciona y Acceso.
   Fuente de verdad: sistema de diseño «Radar GammaUX». Solo recursos propios (CSP). */
@font-face{font-family:Source Sans;src:url('/static/brand/SourceSans3-Regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Source Sans;src:url('/static/brand/SourceSans3-Semibold.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}
:root{
  --surface:#fff;--surface-sunken:#f2f4f8;--surface-inverse:#0b1223;
  --ink:#0b1223;--ink-muted:#586170;--ink-inverse:#fff;--ink-inverse-muted:#cbd2df;
  --line:#dde2ea;--line-strong:#78869e;
  --orange:#ff6b00;--orange-hover:#eb6100;--on-orange:#fff;--accent-text:#b84a00;--focus:#cc5200;
  --info:#1d4e9e;--alert:#a33412;
  --bank:var(--accent-text);
  --sans:Source Sans,"Segoe UI",Arial,sans-serif;
  --page:1100px;--text:720px;
  font-family:var(--sans);color:var(--ink);background:var(--surface);font-size:16px}
*{box-sizing:border-box}
body{margin:0;line-height:1.5}
.radar-sabadell{--bank:#005aa9}.radar-bbva{--bank:#004481}.radar-caixabank{--bank:#006a8e}
a{color:inherit}button,input,select{font:inherit}
::selection{background:#ffe1cc;color:var(--ink)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link:focus{position:fixed;z-index:10;top:8px;left:8px;background:#fff;color:var(--ink);padding:12px 16px;border:2px solid var(--focus)}
h1,h2,h3{font-weight:400;text-wrap:balance}
strong,b,th,dt{font-weight:400}
.eyebrow{margin:0 0 12px;color:var(--accent-text);font-size:13px;line-height:18px;font-weight:400;letter-spacing:.06em;text-transform:uppercase}

/* Cabecera */
.masthead{background:#fff;border-bottom:1px solid var(--line)}
.masthead-inner{max-width:var(--page);margin:auto;min-height:72px;padding:12px 32px;display:flex;align-items:center;gap:24px}
.gamma-brand img{width:136px;height:auto;display:block}
nav[aria-label="Principal"]{margin-left:auto}
.site-nav{display:flex;gap:8px;margin:0;padding:0;list-style:none}
.site-nav a{min-height:44px;display:inline-flex;align-items:center;padding:0 12px;text-decoration:none;font-weight:400;border-bottom:3px solid transparent}
.site-nav a:hover{border-bottom-color:var(--line-strong)}
.site-nav a[aria-current="page"]{border-bottom-color:var(--orange)}
.bank-brand{display:flex;align-items:center;gap:16px;margin-left:auto;border-left:1px solid var(--line-strong);padding-left:24px;min-height:44px}
.bank-brand span{font-size:12px;line-height:16px;font-weight:400;letter-spacing:.06em;color:var(--ink-muted)}
.bank-brand img{height:30px;width:auto;display:block}
.bank-brand strong{font-size:21px;line-height:1;font-weight:400;color:var(--bank)}

/* Botones */
.button,.filters button,.login-submit{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12.6px 36px;border-radius:28px;border:1px solid var(--orange);background:var(--orange);color:var(--on-orange);font-weight:400;font-size:18px;text-decoration:none;cursor:pointer}
.button:hover,.filters button:hover,.login-submit:hover{background:var(--orange-hover);border-color:var(--orange-hover)}
.button.inverse{background:transparent;border-color:var(--ink-inverse-muted);color:var(--ink-inverse)}
.button.inverse:hover{background:#fff;color:var(--surface-inverse)}
.hero .button,.hero .button.inverse{background:#fff;border-color:#fff;color:var(--ink)}
.hero .button:hover,.hero .button.inverse:hover{background:var(--surface-sunken);border-color:var(--surface-sunken)}
.filters button{background:#fff;color:var(--ink);border-color:var(--ink)}
.filters button:hover{background:var(--surface-sunken);border-color:var(--ink)}

/* Héroe */
.hero{position:relative;overflow:hidden;color:var(--ink-inverse);padding:88px 0 120px;
  background:var(--surface-inverse)}
.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--orange)}
.hero.compact{padding:72px 0 104px}
.hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:48px}
.hero-art{display:flex;justify-content:center}
.radar-art{width:100%;max-width:480px;height:auto;display:block}
.radar-art .sweep{transform-origin:260px 260px;animation:sweep 14s linear infinite}
@keyframes sweep{to{transform:rotate(360deg)}}
.wrap{max-width:var(--page);margin:auto;padding:0 32px}
.hero .eyebrow{color:var(--orange)}
.hero h1{margin:0 0 24px;max-width:16ch;font-size:58px;line-height:64px;letter-spacing:-.5px}
.hero.compact h1{font-size:40px;line-height:46px;max-width:24ch}
.hero .lede{margin:0 0 32px;max-width:var(--text);font-size:20px;line-height:30px;color:var(--ink-inverse-muted)}
.hero.compact .lede{margin:0}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px}

/* Secciones */
.section{padding:88px 0 40px}
.section.tinted{margin-top:48px;padding:72px 0;background:var(--surface-sunken)}
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:48px;align-items:center}
.split .section-head,.split .chips{margin:0}
.section-head{max-width:var(--text);margin:0 0 32px}
.section-head h2{margin:0 0 12px;font-size:36px;line-height:42px}
.section-head p{margin:0;color:var(--ink-muted)}
.flow{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.flow.two{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:40px}
.flow li{position:relative;background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px 24px;transition:transform .2s,box-shadow .2s,border-color .2s}
.flow li:hover{transform:translateY(-4px);border-color:var(--orange);box-shadow:0 16px 32px -20px rgba(11,18,35,.4)}
.flow .n{margin:0 0 16px;font-family:var(--sans);color:var(--orange);font-size:44px;line-height:44px}
.flow h2,.flow h3{margin:0 0 8px;font-size:22px;line-height:28px}
.flow p:not(.n){margin:0;color:var(--ink-muted)}
.band{position:relative;margin-top:-64px;z-index:1}
.facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0;padding:0;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 40px -20px rgba(11,18,35,.35);overflow:hidden}
.facts>div{padding:28px 32px;border-left:1px solid var(--line)}
.facts>div:first-child{border-left:0}
.facts dt{margin:0 0 4px;font-size:18px;line-height:24px;font-weight:400}
.facts dt::before{content:"";display:block;width:28px;height:3px;border-radius:2px;background:var(--orange);margin-bottom:14px}
.facts dd{margin:0;color:var(--ink-muted)}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 32px;padding:0;list-style:none}
.chips li{min-height:44px;display:inline-flex;align-items:center;padding:0 20px;border:1px solid var(--line);border-radius:999px;background:#fff;font-weight:400;font-size:15px;box-shadow:0 1px 0 rgba(11,18,35,.04)}
.chips li::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--orange);margin-right:10px}
.notice{max-width:var(--text);margin:0;padding:16px 24px;border-radius:8px;background:var(--surface-sunken);color:var(--ink-muted);font-size:14px;line-height:20px}
.notice strong{color:var(--ink)}
.contact{background:var(--surface-inverse);color:var(--ink-inverse);padding:72px 0;margin-top:72px;border-top:4px solid var(--orange)}
.contact .eyebrow{color:var(--orange);margin-bottom:8px}
.contact .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px}
.contact h2{margin:0;font-size:36px;line-height:42px}

/* Radar */
.page{max-width:var(--page);margin:auto;padding:0 32px}
.introduction{padding:40px 0 24px;border-bottom:1px solid var(--line);display:flex;align-items:end;justify-content:space-between;gap:20px}
.introduction h1{font-size:40px;line-height:46px;margin:0 0 8px}
.introduction>div>p{font-size:16px;line-height:24px;color:var(--ink-muted);margin:0}
.edition-date{font-size:14px;font-weight:400;color:var(--ink-muted);margin:0;white-space:nowrap}
.edition-date time{margin-left:5px}
.explore{padding:24px 0;border-bottom:1px solid var(--line)}
.explore-title{display:flex;justify-content:space-between;align-items:baseline;gap:16px}
.explore-title h2{font-family:var(--sans);font-weight:400;font-size:18px;line-height:24px;margin:0}
.explore-title span{font-size:14px;color:var(--ink-muted)}
.topics{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 17px}
.topics a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:#fff;border:1px solid var(--line-strong);border-radius:999px;padding:0 16px;font-size:15px;line-height:1.2;font-weight:400}
.topics a:hover{background:var(--surface-sunken)}
.topics a[aria-current]{background:var(--surface-inverse);color:var(--ink-inverse);border-color:var(--surface-inverse)}
.filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end}
.filters>div{min-width:125px;flex:1}.filters .search{flex:2;min-width:200px}
.filters label{display:block;font-size:14px;font-weight:400;margin:0 0 4px}
.filters input,.filters select{width:100%;height:44px;background:#fff;border:1px solid var(--line-strong);border-radius:4px;color:var(--ink);padding:8px 12px}
.filters input::placeholder{color:var(--ink-muted);opacity:1}
.clear{font-size:14px;min-height:44px;display:inline-flex;align-items:center;padding:8px 4px;color:var(--accent-text);font-weight:400}
.story{padding:24px 0;border-bottom:1px solid var(--line)}
.story.featured{border-top:4px solid var(--orange)}
.story-content{max-width:850px}
.story-topic{font-weight:400;color:var(--bank);font-size:13px;line-height:18px;letter-spacing:.06em;text-transform:uppercase;margin:0 0 4px}
.story h2{font-size:22px;line-height:28px;margin:0 0 8px}
.story.featured h2{font-size:30px;line-height:36px}
.story h2 a{text-decoration:none}
.story h2 a:hover{text-decoration:underline;text-decoration-color:var(--orange);text-decoration-thickness:2px;text-underline-offset:4px}
.description{font-size:16px;line-height:24px;color:var(--ink-muted);margin:0 0 12px;max-width:80ch}
.story-footer{display:flex;align-items:center;gap:8px 24px;flex-wrap:wrap}
.story-footer p{font-size:14px;color:var(--ink-muted);margin:0}
.story-footer p span:first-child{font-weight:400;color:var(--ink)}
.read{font-size:14px;font-weight:400;text-decoration:underline;text-underline-offset:3px;color:var(--accent-text);display:inline-flex;align-items:center;min-height:32px}
.read:hover{text-decoration-thickness:2px}.read span{margin-left:3px}
.reuse-notice{font-size:14px;line-height:20px;color:var(--ink-muted);margin:0 0 12px;max-width:80ch;overflow-wrap:anywhere}
.empty{padding:42px 0 60px}.empty h2{font-size:30px;line-height:36px;margin:0 0 8px}.empty p{color:var(--ink-muted)}.empty a{color:var(--accent-text);font-weight:400}

/* Acceso */
.login-panel{max-width:480px;margin:56px auto 0;padding:0 32px}
.login-brand{display:none}
.login-panel h1{font-size:40px;line-height:46px;margin:0 0 8px}
.login-panel .lede{margin:0 0 24px;color:var(--ink-muted)}
.login-form{display:grid;gap:8px}
.login-form label{font-size:14px;font-weight:400;margin-top:8px}
.login-form input{height:44px;border:1px solid var(--line-strong);border-radius:4px;padding:8px 12px;color:var(--ink);background:#fff}
.login-form button{margin-top:16px}
.message{max-width:480px;margin:0 0 16px;padding:16px 24px;border-radius:8px;background:var(--surface-sunken)}
.message.error{color:var(--alert);border:1px solid var(--alert)}

/* Pie */
.site-footer{margin-top:72px;background:var(--surface-sunken);color:var(--ink-muted)}
.contact+.site-footer{margin-top:0}
.footer-inner{max-width:var(--page);margin:auto;padding:24px 32px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 24px;font-size:14px;line-height:20px}
.footer-inner strong{color:var(--ink)}
.footer-links{display:flex;flex-wrap:wrap;gap:4px 24px;margin:0;padding:0;list-style:none}
.footer-links a{color:var(--ink-muted);text-underline-offset:3px}

@media(max-width:760px){
  .wrap,.page,.masthead-inner,.footer-inner,.login-panel{padding-left:20px;padding-right:20px}
  .masthead-inner{flex-wrap:wrap;gap:8px;min-height:64px}.gamma-brand img{width:110px}
  nav[aria-label="Principal"]{width:100%;margin-left:0}.site-nav{overflow-x:auto}
  .bank-brand{padding-left:12px;gap:8px}.bank-brand span{display:none}.bank-brand img{height:26px}.bank-brand strong{font-size:19px}
  .hero{padding:48px 0 88px}.hero-grid,.split{grid-template-columns:1fr;gap:32px}.hero-art{order:-1}.radar-art{max-width:260px}
  .band{margin-top:-48px}.facts{grid-template-columns:1fr}.facts>div{border-left:0;border-top:1px solid var(--line);padding:20px 24px}.facts>div:first-child{border-top:0}
  .section-head h2,.contact h2{font-size:28px;line-height:34px}.hero h1,.hero.compact h1{font-size:38px;line-height:44px}.hero .lede{font-size:18px;line-height:28px}
  .section{padding:48px 0}.flow,.flow.two{grid-template-columns:1fr}
  .introduction{padding:28px 0 20px;display:block}.introduction h1{font-size:32px;line-height:38px}.edition-date{margin:10px 0 0}
  .filters>div{flex:1 1 42%;min-width:0}.filters .search{flex:1 1 100%;min-width:0}.filters button{flex:1 1 auto}
  .story.featured h2{font-size:24px;line-height:30px}
  .contact{padding:48px 0}
}
@media(max-width:360px){.filters>div{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.radar-art .sweep{animation:none}.flow li{transition:none}}
@media print{.filters,.topics,.skip-link,.site-nav{display:none}.page{max-width:none}.story{break-inside:avoid}.story h2 a{text-decoration:none}}
