/* Díaz & Díaz — consultoría: cuadrados de color del logo, pestañas de portafolio */
body.co-diaz-y-diaz { --bg:#f4f8fd; --ink:#0d1b33; --muted:#46587a; --line:#d4deee; --brand:#1a56ad; --accent:#1a56ad; --font-display:"Schibsted Grotesk",system-ui,sans-serif; --font-body:"Schibsted Grotesk",system-ui,sans-serif; --radius:10px; }
.co-diaz-y-diaz .hero { background: linear-gradient(180deg,#fff,#eaf1fb); }
.co-diaz-y-diaz .stage { position: relative; min-height: 360px; display: grid; place-items: center; }
.co-diaz-y-diaz .stage .plate { position: relative; z-index: 2; width: 82%; }
.sq { position: absolute; display: block; animation: sqf 7s ease-in-out infinite alternate; will-change: transform; }
.s1 { width: 54px; height: 54px; background: #d0141e; top: 2%; left: 4%; }
.s2 { width: 64px; height: 64px; background: #85288b; top: 0; right: 14%; animation-delay: -2s; }
.s3 { width: 70px; height: 70px; background: #0680ff; bottom: 6%; left: 0; animation-delay: -4s; }
.s4 { width: 86px; height: 86px; background: #00a74a; bottom: 0; right: 2%; animation-delay: -1s; }
.s5 { width: 120px; height: 120px; background: #fdbe00; top: 38%; right: -2%; animation-delay: -3s; opacity: .95; }
@keyframes sqf { to { translate: 0 -18px; rotate: 6deg; } }
.tagband { background: #1a56ad; color: #fff; padding-block: 18px; }
.tagband .marquee-track { gap: 42px; --dur: 38s; font: 700 1.25rem var(--font-display); white-space: nowrap; }
.tagband span::before { content: "■ "; color: #fdbe00; }
.tabs { display: grid; grid-template-columns: minmax(240px, .8fr) 2fr; gap: clamp(20px, 4vw, 56px); }
.tablist { display: flex; flex-direction: column; gap: 8px; }
.tablist button { text-align: left; padding: 18px 22px; border-radius: 14px; border: 2px solid var(--line); background: #fff; font: 700 1.1rem var(--font-display); color: var(--ink); transition: transform .3s var(--ease), border-color .2s, background .2s, color .2s; }
.tablist button:hover { transform: translateX(6px); border-color: #1a56ad; }
.tablist button[aria-selected="true"] { background: #1a56ad; color: #fff; border-color: #1a56ad; transform: translateX(10px); }
.panels { background: #fff; border-radius: 22px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 20px 50px rgba(26,86,173,.12); min-height: 320px; }
.panels h3 { font-size: 1.8rem; margin-bottom: 18px; }
.panels ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.panels li { padding: 14px 16px 14px 44px; position: relative; background: #f4f8fd; border-radius: 12px; animation: pop .5s var(--ease) backwards; }
.panels li::before { content: ""; position: absolute; left: 16px; top: 1.1em; width: 14px; height: 14px; }
.panels li:nth-child(5n+1)::before { background: #d0141e; } .panels li:nth-child(5n+2)::before { background: #85288b; } .panels li:nth-child(5n+3)::before { background: #0680ff; } .panels li:nth-child(5n+4)::before { background: #00a74a; } .panels li:nth-child(5n)::before { background: #fdbe00; }
.panels li:nth-child(2) { animation-delay: .05s; } .panels li:nth-child(3) { animation-delay: .1s; } .panels li:nth-child(4) { animation-delay: .15s; } .panels li:nth-child(5) { animation-delay: .2s; } .panels li:nth-child(n+6) { animation-delay: .25s; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.co-diaz-y-diaz .facts { margin-top: 12px; }
@media (max-width: 820px) { .tabs { grid-template-columns: 1fr; } .tablist { flex-direction: row; overflow-x: auto; padding-bottom: 6px; } .tablist button { white-space: nowrap; } .tablist button[aria-selected="true"] { transform: none; } }
