/* Attendea dentro de la web de C2: su propia marca (negro, blanco y un color por app). */
:root {
  --att-negro: #000000;
  --att-alto: #111113;
  --att-gris: #A1A1AA;
  --att-panel: #D9A441;
  --att-mtk: #D8664F;
  --att-video: #3EAA8B;
  --att-asir: #7A8DB8;
  --att-odoo: #9A6291;
  --f-att: "Readex Pro", var(--f-texto);
}
.att-marca { width: 1em; height: 1em; flex: none; color: #000; --att-a: #fff; }
.oscuro .att-marca, .att-banda .att-marca, .att-cabecera .att-marca { color: #fff; --att-a: #000; }
.att-palabra { font: 600 1em/1 var(--f-att); letter-spacing: -.01em; }

/* En el menú */
.nav-att .att-marca { width: 20px; height: 20px; color: #000; --att-a: #fff; }
.cab--oscura:not(.cab--solida):not(.cab--abierta) .nav-att .att-marca { color: #fff; --att-a: #000; }
.mega-foco--att { background: #000; }
.mega-foco--att .mega-foco-arte { width: 170px; inset: 24px 24px auto auto; }
.mega-foco--att .mega-foco-arte .att-marca { width: 120px; height: 120px; color: #fff; --att-a: #000; filter: drop-shadow(0 0 40px rgba(217, 164, 65, .45)); }

/* Aviso en la portada */
.att-aviso { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; font-weight: 600; font-size: .98rem; margin-bottom: 30px; transition: background-color .2s; }
.att-aviso .att-marca { width: 30px; height: 30px; }
.att-aviso svg.i { width: 18px; height: 18px; transition: translate .3s var(--curva); }
.att-aviso:hover { background: rgba(255, 255, 255, .14); }
.att-aviso:hover svg.i { translate: 4px 0; }

/* Banda */
.att-banda { background: var(--att-negro); --tit: #fff; --texto: #D4D4D8; --suave: #A1A1AA; --raya: rgba(255, 255, 255, .12); color: var(--texto); overflow: clip; }
.att-cabecera { background: var(--att-negro); --tit: #fff; --texto: #D4D4D8; --suave: #A1A1AA; }
.att-rejilla { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.att-firma { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 30px; color: #fff; margin-bottom: 26px; }
.att-firma .att-marca { width: 46px; height: 46px; }
.att-estado { font: 600 .9rem/1 var(--f-texto); padding: 8px 12px; border-radius: 999px; background: rgba(217, 164, 65, .16); color: var(--att-panel); letter-spacing: 0; }
.att-texto .entradilla { margin-top: 24px; color: #D4D4D8; }
.att-texto .botones { margin-top: 34px; }
.att-boton { background: #fff; color: #000; }
.att-boton:hover { box-shadow: 0 14px 30px -12px rgba(255, 255, 255, .45); }

/* El cerebro: núcleo, anillos y fuentes */
.att-cerebro { position: relative; aspect-ratio: 1 / .95; }
.att-anillos { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.att-anillos ellipse { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: .25; }
.att-linea { stroke: rgba(255, 255, 255, .08); stroke-width: .25; fill: none; }
.att-pulso { stroke: var(--att-panel); stroke-width: .6; fill: none; stroke-linecap: round; stroke-dasharray: 3 60; animation: att-pulso 3.2s linear infinite; }
.att-pulso:nth-of-type(4n+2) { stroke: var(--att-video); }
.att-pulso:nth-of-type(4n+3) { stroke: var(--att-mtk); }
.att-pulso:nth-of-type(4n) { stroke: var(--att-asir); }
@keyframes att-pulso { from { stroke-dashoffset: 63; } to { stroke-dashoffset: 0; } }
.att-fuente {
  position: absolute; z-index: 2; translate: -50% calc(-50% + (var(--p, .5) - .5) * var(--z, 0) * -1px);
  padding: 9px 14px; border-radius: 999px; background: var(--att-alto); color: #fff; font: 600 14px/1 var(--f-texto); white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 14px 30px -14px rgba(0, 0, 0, .8); display: flex; align-items: center; gap: 8px;
}
.att-fuente::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--att-panel); }
.att-fuente:nth-of-type(5n+2)::before { background: var(--att-video); }
.att-fuente:nth-of-type(5n+3)::before { background: var(--att-mtk); }
.att-fuente:nth-of-type(5n+4)::before { background: var(--att-asir); }
.att-fuente:nth-of-type(5n)::before { background: var(--att-odoo); }
.js-mov .att-cerebro .att-fuente { opacity: 0; scale: .7; transition: opacity .5s calc(var(--d) * 1ms + 300ms), scale .7s var(--curva) calc(var(--d) * 1ms + 300ms); }
.js-mov .visto .att-cerebro .att-fuente, .js-mov .att-cerebro.visto .att-fuente { opacity: 1; scale: 1; }
.att-nucleo { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 3; width: 18%; aspect-ratio: 1; display: grid; place-items: center; }
.att-nucleo .att-marca { width: 100%; height: 100%; color: #fff; --att-a: #000; border-radius: 22%; box-shadow: 0 0 0 10px rgba(217, 164, 65, .12), 0 0 0 26px rgba(217, 164, 65, .06), 0 0 80px 10px rgba(217, 164, 65, .3); animation: att-latido 3.2s ease-in-out infinite; }
@keyframes att-latido { 50% { box-shadow: 0 0 0 16px rgba(217, 164, 65, .1), 0 0 0 40px rgba(217, 164, 65, .04), 0 0 110px 20px rgba(217, 164, 65, .34); } }
.att-chat { position: absolute; z-index: 4; right: -4%; bottom: -10%; width: 50%; }
.att-chat .marco { filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .7)); }
.sin-mov .att-pulso, .sin-mov .att-nucleo .att-marca { animation: none; }

/* Pantalla de chat con la marca de Attendea */
.att-ui .att-barra { background: #000; font-size: 16px; }
.att-ui .att-barra .att-marca { width: 24px; height: 24px; color: #fff; --att-a: #000; }
.att-ui .burbuja--yo { background: #18181B; }
.att-ui .burbuja .fuente { color: #8A5300; }
.att-ui .chat { background: #F4F4F5; }

/* Apps */
.att-apps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; margin-top: clamp(64px, 8vw, 112px); }
.att-app { display: grid; gap: 6px; align-content: start; }
.att-app::before { content: ""; width: 34px; height: 34px; border-radius: 10px; background: var(--app); margin-bottom: 10px; box-shadow: 0 0 30px -4px var(--app); }
.att-app b { font: 600 1.35rem/1.1 var(--f-att); color: #fff; }
.att-app span { color: var(--att-gris); font-size: .98rem; }
@media (max-width: 1000px) { .att-rejilla { grid-template-columns: 1fr; } .att-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .att-chat { right: 0; bottom: -14%; width: 58%; } }
@media (max-width: 560px) { .att-fuente { font-size: 12px; padding: 7px 10px; } .att-chat { width: 70%; right: -2%; } .att-firma { font-size: 24px; } }

/* Página de Attendea */
.att-fuentes-lista { display: grid; }
.att-fuente-fila { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto; gap: 8px 28px; align-items: baseline; padding: 22px 0; box-shadow: 0 -1px 0 rgba(255, 255, 255, .1); }
.att-fuente-fila b { font: 600 1.3rem/1.15 var(--f-att); color: #fff; }
.att-fuente-fila p { color: #D4D4D8; font-size: 1.02rem; }
.att-disp { font-size: .85rem; font-weight: 700; padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
.att-disp--ok { background: rgba(62, 170, 139, .18); color: #6EE7B7; }
.att-disp--dev { background: rgba(217, 164, 65, .16); color: var(--att-panel); }
.att-disp--pedido { background: rgba(255, 255, 255, .08); color: var(--att-gris); }
@media (max-width: 760px) { .att-fuente-fila { grid-template-columns: 1fr; } }
.att-app-nombre { display: flex; align-items: center; gap: 10px; font-size: 26px; color: var(--tit); margin-bottom: 18px; }
.att-app-nombre .att-marca { width: 36px; height: 36px; color: var(--app); --att-a: #000; }
.att-app-nombre span { font: 600 1em/1 var(--f-att); }
.att-app-fila h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.att-app-fila .ejemplo-arte { background: #0B0B0C; }
.att-app-fila .ejemplo-arte::before { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 80%; background: radial-gradient(closest-side, color-mix(in srgb, var(--app) 45%, transparent), transparent); opacity: .7; }
.att-area { font-weight: 700; color: var(--cian-hondo); font-size: .95rem; margin-bottom: 8px; }
.att-area::first-letter { text-transform: uppercase; }
